Tuya thermostat in google home (NORA)

Hi,
I want my tuya thermostat with zigbee2mqtt in google home with node red nora, but dont no how to do this.
I only need set temperature and temperature reading.

If i change the temperature on the thermostat then i get this topic:
zigbee2mqtt/RadiatorGang And output is then:
{"auto_lock":"MANUAL","away_mode":"OFF","away_preset_days":1,"away_preset_temperature":15,"battery_low":false,"boost_time":300,"child_lock":"UNLOCKED","comfort_temperature":20,"current_heating_setpoint":21,"eco_temperature":15,"force":"normal","holidays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}],"linkquality":84,"local_temperature":16,"local_temperature_calibration":-1,"max_temperature":35,"min_temperature":5,"position":100,"preset":"manual","system_mode":"auto","week":"5+2","window_detection":"OFF","window_detection_params":{"minutes":196,"temperature":125},"workdays":[{"hour":6,"minute":0,"temperature":20},{"hour":8,"minute":0,"temperature":15},{"hour":11,"minute":30,"temperature":15},{"hour":12,"minute":30,"temperature":15},{"hour":17,"minute":30,"temperature":20},{"hour":22,"minute":0,"temperature":15}]}

And when i change the temperature from domoticz i get this topic:

zigbee2mqtt/RadiatorGang/set
And output is:
{"current_heating_setpoint": 21.0}

Can someone help me?
Thanks

Cant no one help?

NOTE: your question is fairly unclear - so i could be a million miles off what you really want.

So take them items from the payload.

rbl1ymeAnX

Demo flow

[{"id":"4fc7725b.eca30c","type":"inject","z":"b872cb4b.5a6448","name":"zigbee2mqtt/RadiatorGang","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"zigbee2mqtt/RadiatorGang","payload":"{\"auto_lock\":\"MANUAL\",\"away_mode\":\"OFF\",\"away_preset_days\":1,\"away_preset_temperature\":15,\"battery_low\":false,\"boost_time\":300,\"child_lock\":\"UNLOCKED\",\"comfort_temperature\":20,\"current_heating_setpoint\":21,\"eco_temperature\":15,\"force\":\"normal\",\"holidays\":[{\"hour\":6,\"minute\":0,\"temperature\":20},{\"hour\":8,\"minute\":0,\"temperature\":15},{\"hour\":11,\"minute\":30,\"temperature\":15},{\"hour\":12,\"minute\":30,\"temperature\":15},{\"hour\":17,\"minute\":30,\"temperature\":20},{\"hour\":22,\"minute\":0,\"temperature\":15}],\"linkquality\":84,\"local_temperature\":16,\"local_temperature_calibration\":-1,\"max_temperature\":35,\"min_temperature\":5,\"position\":100,\"preset\":\"manual\",\"system_mode\":\"auto\",\"week\":\"5+2\",\"window_detection\":\"OFF\",\"window_detection_params\":{\"minutes\":196,\"temperature\":125},\"workdays\":[{\"hour\":6,\"minute\":0,\"temperature\":20},{\"hour\":8,\"minute\":0,\"temperature\":15},{\"hour\":11,\"minute\":30,\"temperature\":15},{\"hour\":12,\"minute\":30,\"temperature\":15},{\"hour\":17,\"minute\":30,\"temperature\":20},{\"hour\":22,\"minute\":0,\"temperature\":15}]}","payloadType":"json","x":1530,"y":760,"wires":[["9b434cf5.6423c"]]},{"id":"1b5cb1c6.6ef91e","type":"change","z":"b872cb4b.5a6448","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.local_temperature","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1920,"y":720,"wires":[["728b5fae.01005"]]},{"id":"9b434cf5.6423c","type":"switch","z":"b872cb4b.5a6448","name":"","property":"topic","propertyType":"msg","rules":[{"t":"eq","v":"zigbee2mqtt/RadiatorGang","vt":"str"},{"t":"eq","v":"zigbee2mqtt/RadiatorGang/set","vt":"str"}],"checkall":"true","repair":false,"outputs":2,"x":1730,"y":780,"wires":[["1b5cb1c6.6ef91e","d2d4bc09.fb7a7"],["d2d4bc09.fb7a7"]]},{"id":"9cb3460a.45f5e8","type":"inject","z":"b872cb4b.5a6448","name":"zigbee2mqtt/RadiatorGang/set","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"zigbee2mqtt/RadiatorGang/set","payload":" {\"current_heating_setpoint\": 21.0}","payloadType":"json","x":1520,"y":800,"wires":[["9b434cf5.6423c"]]},{"id":"728b5fae.01005","type":"debug","z":"b872cb4b.5a6448","name":"local_temperature","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1950,"y":760,"wires":[]},{"id":"d2d4bc09.fb7a7","type":"change","z":"b872cb4b.5a6448","name":"","rules":[{"t":"set","p":"payload","pt":"msg","to":"payload.current_heating_setpoint","tot":"msg"}],"action":"","property":"","from":"","to":"","reg":false,"x":1900,"y":820,"wires":[["d9e62f6a.fe487"]]},{"id":"d9e62f6a.fe487","type":"debug","z":"b872cb4b.5a6448","name":"current_heating_setpoint","active":true,"tosidebar":true,"console":false,"tostatus":true,"complete":"payload","targetType":"msg","statusVal":"payload","statusType":"auto","x":1970,"y":860,"wires":[]}]

Thank you very much for your help,
What i want is the roomtemperature and set temperature from RadiatorGang with nora thermostat To show up in google home.
Nora has differend nodes like swiches, dimmers and also a thermostat that can communicate with google home .
I hope you know what i mean,if you have any questions just say so.
Thanks
Greetings
Edwin

Hello Edwin,

You start to ask the same questions as on the Domoticz forum.
See: https://www.domoticz.com/forum/viewtopic.php?f=69&t=27588&p=270497#p270497

You should first solve the issue that the Nora Thermostat node connects to Google.
If that work, the connection of mode, temperature and setpoint is easy, as @Steve-Mcl has shown.

Yes, but the nora thermostat does not show connect, while my lamps do,
So I thought it has something to do with the signal to the thermostat node. And im a noob at this stuff.
I search for ours on the internet for a solution and thought u didnt no either.
Thats why asked my question here.
And dont get me wrong im thankfull for all the help.
Ive tried all the settings in the nora thermostat node , but it just doesn’t show connect.
Could it be that the thermostat node doesnt understand the payload?
That it has to be written in another way?
There is no themperature reading to see under the thermostat node in the flow.
Hope u can help me a litle bit further
Sorry for my english.

Greetings
Edwin

Here’s some more information to make it clear.

This is the flow :

[{"id":"758cd1dd.afc4c","type":"tab","label":"Test Zigbee2MQTT Tuya Thermostat","disabled":false,"info":""},{"id":"e6ce71c0.0d18d8","type":"inject","z":"758cd1dd.afc4c","name":"","props":[{"p":"payload"},{"p":"topic","vt":"str"}],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"zigbee2mqtt/RadiatorGang/get","payload":" {\"auto_lock\":\"MANUAL\",\"away_mode\":\"OFF\",\"away_preset_days\":1,\"away_preset_temperature\":15,\"battery_low\":false,\"boost_time\":300,\"child_lock\":\"UNLOCKED\",\"comfort_temperature\":20,\"current_heating_setpoint\":22,\"eco_temperature\":15,\"force\":\"normal\",\"holidays\":[{\"hour\":6,\"minute\":0,\"temperature\":20},{\"hour\":8,\"minute\":0,\"temperature\":15},{\"hour\":11,\"minute\":30,\"temperature\":15},{\"hour\":12,\"minute\":30,\"temperature\":15},{\"hour\":17,\"minute\":30,\"temperature\":20},{\"hour\":22,\"minute\":0,\"temperature\":15}],\"linkquality\":84,\"local_temperature\":19,\"local_temperature_calibration\":-1,\"max_temperature\":35,\"min_temperature\":5,\"position\":100,\"preset\":\"manual\",\"system_mode\":\"auto\",\"week\":\"5+2\",\"window_detection\":\"OFF\",\"window_detection_params\":{\"minutes\":196,\"temperature\":125},\"workdays\":[{\"hour\":6,\"minute\":0,\"temperature\":20},{\"hour\":8,\"minute\":0,\"temperature\":15},{\"hour\":11,\"minute\":30,\"temperature\":15},{\"hour\":12,\"minute\":30,\"temperature\":15},{\"hour\":17,\"minute\":30,\"temperature\":20},{\"hour\":22,\"minute\":0,\"temperature\":15}]}","payloadType":"json","x":210,"y":80,"wires":[["e0045a59.0ea4c"]]},{"id":"3aa46e6b.6dc2da","type":"function","z":"758cd1dd.afc4c","name":"Function In Thermostaat","func":"msg.payload = {\n    setpoint : msg.payload.current_heating_setpoint,\n    temperature : msg.payload.local_temperature,\n    mode : msg.payload.system_mode\n};\nreturn msg","outputs":1,"noerr":0,"initialize":"","finalize":"","x":410,"y":140,"wires":[["b2fc0b15.d933"]]},{"id":"feb24a85.ce41d8","type":"function","z":"758cd1dd.afc4c","name":"Function Out Thermostaat","func":"var msg1 = {};\nvar msg2 = {};\n\nmsg1.topic = \"zigbee2mqtt/RadiatorGang/set\";\nmsg1.payload = {\n    \"current_heating_setpoint\" : msg.payload.setpoint\n}\n\nmsg2.topic = \"zigbee2mqtt/RadiatorGang/set\";\nmsg2.payload = {\n    \"mode\" : msg.payload.mode\n}\n\nreturn [[msg1,msg2]];","outputs":1,"noerr":0,"initialize":"","finalize":"","x":960,"y":140,"wires":[["15cf31be.856ea6"]]},{"id":"e0045a59.0ea4c","type":"mqtt out","z":"758cd1dd.afc4c","name":"Out","topic":"","qos":"","retain":"","broker":"f9f13036.e28b58","x":370,"y":80,"wires":[]},{"id":"4bb52373.7cc4ac","type":"mqtt in","z":"758cd1dd.afc4c","name":"In","topic":"zigbee2mqtt/RadiatorGang/get","qos":"0","datatype":"json","broker":"f9f13036.e28b58","x":190,"y":140,"wires":[["3aa46e6b.6dc2da"]]},{"id":"b2fc0b15.d933","type":"nora-thermostat","z":"758cd1dd.afc4c","devicename":"Thermostaat","roomhint":"Gang","name":"Radiator Thermostaat","modes":"off,on,auto","unit":"C","topic":"","passthru":false,"commandOnly":false,"queryOnly":false,"bufferRangeCelsius":"2","nora":"6f52ea33.833a2c","x":680,"y":140,"wires":[["feb24a85.ce41d8"]]},{"id":"15cf31be.856ea6","type":"mqtt out","z":"758cd1dd.afc4c","name":"Out","topic":"","qos":"","retain":"","broker":"f9f13036.e28b58","x":1190,"y":140,"wires":[]},{"id":"f9f13036.e28b58","type":"mqtt-broker","name":"localhost","broker":"127.0.0.1","port":"1883","clientid":"","usetls":false,"compatmode":true,"keepalive":"60","cleansession":true,"birthTopic":"","birthQos":"0","birthRetain":"false","birthPayload":"","closeTopic":"","closeQos":"0","closePayload":"","willTopic":"","willQos":"0","willPayload":""},{"id":"6f52ea33.833a2c","type":"nora-config","d":true,"name":"Nora Config","group":"Mendelssohn92","notify":false}] 

(Thanks to firewizzard)

Why doesnt show the thermostat node annything?

Good morning Edwin,

I think that no one can can point you to the cause of your problem, but when I saw the flow, published above, it is fully clear to me:

Your Nora thermostat node is still configured with my Nora Config node. I see this, as there is a group configured in the Nora Config node, which is not yours. Sorry, that I did not indicate that in detail, but I thought you should be aware of this, as your lamps are functioning, that you should configure the same Nora Config node.

As you have more Config nodes available, click on the arrow after the config text field and select the other (working) Config node.
If you have multiple, and don't know which one, click on a Nora node of the lamp and note the Config name. In the thermostat Nora node, select the same.

If you press "Deploy", you will probably see that you have one (some) unconfigured nodes.
Press "See them here" and delete these.

If it is still a problem, send me a PM on the Domoticz forum board.

Regards

Good morning firewizard52,
Thats it, how stupid of my not to see this. Total noob here :wink:

Thank u very much
Also thanks for steve mcl for his explanation

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.