ComputerScienceHouse / letmein2

A second wack at LetMeIn. It came to me in a dream!
MIT License
6 stars 5 forks source link

Cross-talk between requests #22

Closed WillNilges closed 2 years ago

WillNilges commented 2 years ago

If one client presses the "cancel" button, all clients will receive the "cancel" message. It should be possible to selectively cancel these events, though.

Send a location along with the "NEVERMIND" message through the websocket, and create a new MQTT topic letmein2/nvm that has a payload of the user's location. That'll turn off only that light (and silence only that song, if our sound ever gets that sophistocated >->), and spare everyone else.

Better yet, let the client know what their knockID is (possible BC websocket!!!) and have them send that KnockID along with a NEVERMIND!!!

WillNilges commented 2 years ago

IDK why I'm mentioning it here as well, but all the locations seem to have a space prepended?

Like, " l_well"

WillNilges commented 2 years ago

Should be fixed in #28