Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dostuff_switch_lights.py could use MQTT to send commands to goLightCtrl #1

Closed
nbraud opened this issue Feb 25, 2016 · 3 comments
Closed
Assignees

Comments

@nbraud
Copy link
Member

nbraud commented Feb 25, 2016

This is required to remove the HTTP interface from goLightCtrl: realraum/deckenlichtschalter#1.

@btittelbach
Copy link
Member

Adding control via MQTT to goLightCtrl could be a nice feature. Will probably happen in the feature.

We won't get rid of the http interface on goLightCtrl that easily however, since we want to continue to support web clients which don't support websocket. Also you know that Mosquitto as per Debian does not come with websocket compiled in. Also I'm against ever enabling that, since I don't feel comfortable exposing a central point of failure component to web browsers and the additional load that would incur.

@PeterTheOne
Copy link
Member

We won't get rid of the http interface on goLightCtrl that easily however, since we want to continue to support web clients which don't support websocket.

http://caniuse.com/#feat=websockets

@nbraud
Copy link
Member Author

nbraud commented Mar 1, 2016

According to what @PeterTheOne linked, at least 90% of web browsers support this.
I think it wouldn't be unreasonable to not support outdated browsers for licht.realraum.at

@nbraud nbraud self-assigned this Mar 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants