dresden-elektronik / deconz-rest-plugin

deCONZ REST-API plugin to control ZigBee devices
BSD 3-Clause "New" or "Revised" License
1.89k stars 498 forks source link

OWON Zigbee Thermostat #3627

Closed leonardpitzu closed 3 years ago

leonardpitzu commented 3 years ago

Device

The device bought comes in 2 pieces - one "desk clock" which measures temperature and humidity and is the actual "brain" of the thermostat (stores date/time/schedule) - and one relay connected to mains (it has 2 internal relays for various boilers and heaters - most basic central heating system in Europe is a on/off system). Product is labeled on the box as "OWON Zigbee Smart Thermostat PCT502-Z" without mentioning the second device product code. The "desk clock" contains also a rechargeable battery.

Edit: pairing goes through the desk clock only. If the relay is not powered the thermostat complaints that "network is disconnected"

https://www.owon-smart.com/2019-wholesale-price-zigbee-temperature-humidity-sensor-zigbee-combi-boiler-eu-smart-thermostat-temperature-controller-502-owon-product/

Screenshots

2020-11-10-163517_1920x1200_scrot 2020-11-10-163528_1920x1200_scrot 2020-11-10-163546_1920x1200_scrot 2020-11-10-163559_1920x1200_scrot 2020-11-10-163609_1920x1200_scrot 2020-11-10-163626_1920x1200_scrot 2020-11-10-163633_1920x1200_scrot 2020-11-10-163647_1920x1200_scrot 2020-11-10-163651_1920x1200_scrot 2020-11-10-163702_1920x1200_scrot 2020-11-10-163710_1920x1200_scrot 2020-11-10-163717_1920x1200_scrot 2020-11-10-163722_1920x1200_scrot 2020-11-10-163731_1920x1200_scrot 2020-11-10-163748_1920x1200_scrot 2020-11-10-163756_1920x1200_scrot 2020-11-10-163810_1920x1200_scrot

SwoopX commented 3 years ago

Tbh, I got no clue how to properly support that thing, especially remotely and without traffic sniffing. I could give it a shot but you should provide additional screenshots of the thermostat cluster's attributes while those have been read and be able to compile a test version of the REST API plugin yourself to test.

leonardpitzu commented 3 years ago

Compiling would be no issue as is debugging. Sniffing in zigbeeland I do not know but I am willing to start working on it

SwoopX commented 3 years ago

Sounds good. Then don't forget about the screenshots. I guess I could give you something at hand almost as good as a bare zigbee sniffer ;)

leonardpitzu commented 3 years ago

Basic cluster basic

leonardpitzu commented 3 years ago

identify cluster identify

leonardpitzu commented 3 years ago

groups cluster group 1 group 2

leonardpitzu commented 3 years ago

scenes cluster scenes 1 scenes 2 scenes 3 scenes 4

leonardpitzu commented 3 years ago

thermostat cluster

set & get weekly schedule result in FAILURE (yet there is a saved schedule); clearing the schedule works in deconz and in reality get relay status log results in unsup_cluster_command the rest is depicted below

thermosta 1 thermostat 2 thermostat 3 thermostat 4 thermostat 5

leonardpitzu commented 3 years ago

thermostat user interface configuration cluster thermostat user interface configuration

leonardpitzu commented 3 years ago

relative humidity measurement cluster relative humidity measurement

leonardpitzu commented 3 years ago

unknown cluster unknown

leonardpitzu commented 3 years ago

on/off cluster on_off

leonardpitzu commented 3 years ago

time cluster time

stale[bot] commented 3 years ago

As there hasn't been any response in 21 days, this issue has been automatically marked as stale. At OP: Please either close this issue or keep it active It will be closed in 7 days if no further activity occurs.

leonardpitzu commented 3 years ago

Is there anything more i can provide or do in order to help with the issue?

SwoopX commented 3 years ago

I'd need the remaining thermostat cluster attributes from attribute 0x0012 downwards. I'm afraid you'll probably need to manually read each of them via a double click on the value.

leonardpitzu commented 3 years ago

2021-01-20-152400_1680x1000_scrot 2021-01-20-152332_1680x1000_scrot 2021-01-20-152345_1680x1000_scrot 2021-01-20-152353_1680x1000_scrot