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

very usefull but MQTT or JSON return #81

Open
kunux opened this issue Feb 14, 2018 · 0 comments
Open

very usefull but MQTT or JSON return #81

kunux opened this issue Feb 14, 2018 · 0 comments

Comments

@kunux
Copy link

kunux commented Feb 14, 2018

hello i'm not a programmer but your code looks very clean but to difficult for my understanding ans update it.
it 's working like a charm but i want to publishy the state state of the garage door to my domoticz application. so i van use my remotes and also have have status of the doors.
is it possible tu update a json status lire a new url.
-- when it 's closed send MQQTT or JSON url on another pi server running domoticz
-- when it's open sen MQTT or JSON as well

for exemple my domoticz accept this to update status of MQTT switch
mosquitto_pub -h 192.168.1.240 -t "domoticz/in" -m '{"idx" : 13, "nvalue" : 0}'
or "nvalue" : 1
sorry for my poor english.

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

1 participant