rolandbreedveld / nest-api

Nest API script to get Google/Nest accounts working on Domoticz
10 stars 6 forks source link

MQTT #12

Open remko2000 opened 7 months ago

remko2000 commented 7 months ago

Is there a way to control my Nest thermostat in domoticz with this plugin by mqttcommands?

rolandbreedveld commented 7 months ago

Yes, that is possible and easy: In Domoticz you need to enable the mqtt gateway, with domoticz/in enabled I tested it with the gui mqtt-explorer, click in the left side on domoticz/in and give right in the publish window this to set my Nest to 19 degrees: (check you own idx for your own Setpoint) {"idx": 492, "svalue": "19" }

Screenshot 2024-02-04 at 22 53 03

On Linux prompt: mosquitto_pub -h localhost -m '{"idx": 492, "svalue": "19" }' -t 'domoticz/in'