Hi everyone.
I recently bought a couple STZW402+ to control my baseboard heaters. Their documentation says:
When connected to a Z-Wave network, the thermostat may display the outdoor temperature provided by an external sensor.
The OZW config doesn’t expose config values. For reference, here’s the device documentation: http://pro.stelpro.com/contenu/ca/pdf/guides/User/STZW402.pdf
I also found the manufacturer’s bindings for ST, but I’m not too sure how it can be translated for OZW and HA: https://github.com/stelpro/Ki-Z-Wave-Thermostat/blob/d106ec8c640d3288850e672bf88352beff6f57c7/devicetypes/stelpro/stelpro-ki-thermostat.src/stelpro-ki-thermostat.groovy#L359-L371
There’s also that post for another platform that actually gives a bit of code. It may be possible to reverse engineer the thing and write the appropriate OZW config: https://forums.indigodomo.com/viewtopic.php?f=58&t=16025#p115284
For example sending 0x31 0x05 0x01 0x01 0x17
to the device is supposed to display 23 °C as the outdoor temperature. Question 1: How can I send a raw output like that through HA?
I tried to understand a bit of the payload, but there are some constants I am not too sure what they mean:
0x31
: Constant
0x05
: Constant
0x01
: Constant (seems to indicate it is a temperature?)
0x01
: 3 bits to indicate the float precision - 2 bit for the unit (0=°C, 1=°F) - 3 bits for the size (bytes) of the value
0x17
: The value. This can span multiple bytes for .1 precision. Negatives seem to use the 4 MSB and positives the 4 LSB?
Question 2: is it possible to do that with a proper OZW xml config or am I gonna need to replicate the logic in my automation?