Page 1 of 1

Get thermostat data

Posted: Thursday 17 November 2022 20:39
by Thelion
I'm trying to get the thermostat data (Temperature, Setpoint and Heat Requested (on/off)) into Google and back.

As these three values are separate devices in Domoticz, I'm having a hard time to get them combined into SmartNORA and if changed from Google, back into Domoticz.

Does anybody have tips/examples to achieve this?

Re: Get thermostat data

Posted: Thursday 17 November 2022 23:14
by FireWizard
Hello @Thelion,

The Google thermostat node can only handle the setpoint, the ambient temperature and the thermostat mode as input and the setpoint and mode as output.

So the heat request on/off can not be sent to the smartnora thermostat node.
It is possible to send that information to a seperate On/Off sensor.

Can you provide a screenshot, preferable from Debug nodes in Node RED of the data sent to NR from each relevant Domoticz device by MQTT?

Regards

Re: Get thermostat data

Posted: Friday 18 November 2022 0:37
by Thelion
FireWizard wrote: Thursday 17 November 2022 23:14 The Google thermostat node can only handle the setpoint, the ambient temperature and the thermostat mode as input and the setpoint and mode as output.
Hi @FireWizard,

According to this the thermostat node in Smart NORA can contain more info that you are mentioning.

In fact, a test thermostat shows the following information in Node-RED.
firefox_qgJYK88DgN.png
firefox_qgJYK88DgN.png (2.5 KiB) Viewed 1828 times
Mode/Temperature/Setpoint and this is without pushing any data to it. Just added it to Node-RED.

Re: Get thermostat data

Posted: Friday 18 November 2022 14:54
by FireWizard
Hello @Thelion

You wrote:
According to this the thermostat node in Smart NORA can contain more info that you are mentioning.
Yes you are correct, it can also support humidity, but does your hardware device (thermostat) contain a humidity sensor?
Or do you have plans to use another external humidity sensor?

The Google sensor trait (see: https://developers.google.com/assistant ... uresetting) tells you exactly what is supported and which are the conditions.
The mode heatcool is only interesting, if your device has cooling capabilities, so an air conditioning unit. Does it?

FYI

I used Nora, and later SmartNora from the beginning, until last December, when I moved to Google SmartHome (see: https://flows.nodered.org/node/node-red ... -smarthome), as it supports more devices than SmartNora (and it is free).

I used also thermostats, so that is no issue. you may want to read several posts at: viewtopic.php?t=27588&hilit=Google+nora or at: viewtopic.php?p=273901&hilit=smartnora#p273901

What is important?

As you have probably several devices that can control your heating you have to synchronize the settings to all devices from all other devices.
I assume you have:
1: Your hardware device (thermostat)
2. The Domoticz thermostat and probably indoor ambient temperature
3. Google Home

More?

How does your thermostat communicate with Domoticz? Brand Type. Does it use a plugin or one of Domoticz hardware devices?
How have you planned the communication between your thermostat and Node Red (Mind the MQTT loop function in Domotiticz)?
How do you want to communicate from Node Red to both Domoticz and your hardware thermostat?
Which modes does your thermostat support?
Can you provide a screenshot of what is exactly send to Node Red?
What do we have to send from Node Red to the thermostat. To Domoticz is known.

If you can answer that, we can help you further.

Regards