Zigbee smart energy meter DDS238-2 Zigbee reporting status ON when OFF (TuYa TS0601_din)
See original GitHub issueHi,
I added two DDS238-2 devices and they look to work fine except that when set to OFF, the state reported by Z2M is only temporarily set to OFF, after ~30s, it’s back to ON with the relay state still OFF.
--> {"state": "ON"} sent to zigbee2mqtt/RelayMeter_1/set
Dez 06 10:07:15 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:07:15: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"last_seen":1638781622833,"linkquality":36,"power":0,"state":"ON","voltage":232}'
--> State is OK when relay is ON
Dez 06 10:07:16 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:07:16: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":48,"last_seen":1638781635399,"linkquality":24,"power":0,"state":"ON","voltage":232}'
Dez 06 10:07:30 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:07:30: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":14435,"last_seen":1638781649835,"linkquality":27,"power":0,"state":"ON","voltage":232}'
Dez 06 10:07:32 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:07:32: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":998,"last_seen":1638781651839,"linkquality":36,"power":0,"state":"ON","voltage":232}'
Dez 06 10:07:33 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:07:33: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":1008,"last_seen":1638781652846,"linkquality":27,"power":0,"state":"ON","voltage":231.7}'
Dez 06 10:08:03 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:08:03: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":1001,"last_seen":1638781682846,"linkquality":33,"power":0,"state":"ON","voltage":230.7}'
Dez 06 10:08:30 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:08:30: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":27001,"last_seen":1638781709847,"linkquality":33,"power":0,"state":"ON","voltage":230.7}'
Dez 06 10:08:31 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:08:31: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":1004,"last_seen":1638781710851,"linkquality":33,"power":0,"state":"ON","voltage":230.7}'
Dez 06 10:08:33 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:08:33: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":999,"last_seen":1638781712852,"linkquality":36,"power":0,"state":"ON","voltage":230.8}'
Dez 06 10:08:42 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:08:42: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"last_seen":1638781712852,"linkquality":36,"power":0,"state":"OFF","voltage":230.8}'
--> {"state": "OFF"} sent to zigbee2mqtt/RelayMeter_1/set
Dez 06 10:08:43 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:08:43: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":48,"last_seen":1638781722527,"linkquality":33,"power":0,"state":"OFF","voltage":230.8}'
--> State is OK during a short time
Dez 06 10:09:02 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:09:02: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":953,"last_seen":1638781741858,"linkquality":33,"power":0,"state":"OFF","voltage":230.8}'
Dez 06 10:09:03 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:09:03: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":1004,"last_seen":1638781742862,"linkquality":33,"power":0,"state":"OFF","voltage":230.4}'
--> Status reported is back to ON without any message sent to the device, relay is also physically still OFF
Dez 06 10:09:31 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:09:31: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":960,"last_seen":1638781770867,"linkquality":33,"power":0,"state":"ON","voltage":230.4}'
Dez 06 10:09:33 NUC npm[35626]: Zigbee2MQTT:info 2021-12-06 10:09:33: MQTT publish: topic 'zigbee2mqtt/RelayMeter_1', payload '{"current":0,"elapsed":994,"last_seen":1638781772867,"linkquality":30,"power":0,"state":"ON","voltage":230.4}'
If someone can help me with this as I am not too sure what to do.
I am running Z2M 1.22.1-dev with CC2652R (ZZH!) with FW 20210708
Thank you
Issue Analytics
- State:
- Created 2 years ago
- Comments:13 (11 by maintainers)
Top Results From Across the Web
[Device Support Request] Tuya Zigbee smart energy meter ...
Hi, I purchased this device which was markes as working with zha, unfortunatrly I got one with a new manufacturer, and, upon pairing,...
Read more >How to reset the Zigbee device to the state to be configured?
Devices with a reset button: Firstly, make sure the device is powered off for more than 10 seconds before powering on the device....
Read more >Tuya ZigBee Smart Plug with Energy monitoring
Hi guys, I bought a few 20A Tuya ZigBee plugs that apparently have energy monitoring functionality. I have one of them paired to...
Read more >ZigBee Smart Energy Standard
ZigBee Smart Energy Joining, Service Discovery, and Device Binding ... A.2 New Attribute Reporting Status Indication . ... Meter Status Attribute Set ....
Read more >Playing with: DDS238-2 Zigbee Smart Meter - YouTube
New User Get $30 User Coupons https://jlcpcb.com/CYTOther Users Get SMT Coupons via Contacting JLCPCB FacebookA quick teardown followed by a ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I have 5 relays with the same problem…
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days