domoticz-zigbee2mqtt-plugin
domoticz-zigbee2mqtt-plugin copied to clipboard
TS0121_plug does not display power
Issue description
Power socket https://www.zigbee2mqtt.io/devices/TS0121_plug.html#tuya-ts0121-plug does not display power
MQTT-Explorer has it.
Is it possible to add power readings to the plugin?
Additional information Zigbee2MQTT version: v.1.22.1 Domoticz version: 2021.1.13947 2021-12-17 Plugin version: v.3.1.0-beta
It's a bug in the plugin that tries to read the power_outage_memory value instead of the power value. Temp workaround is filtering the attribute power_outage_memory in the Z2M frontend (select device --> settings --> "Filter attributes from publish payload." --> click + --> type power_outage_memory
You'll have to do this for each device in the Z2M frontend.
Does the issue still persist?
I still have to filter "power_outage_memory", yes.
Are you sure you are using the latest plugin version as I don't see such an issue with my TS0121 Plug
I'll try to update to the latest commit ASAP
I'm a little bit afraid to update to v3.1 as it removes the "_th" temp + hum devices and creates T + H + B devices which I don't need. I lost a complete days reconfiguring and debugging some months ago after an unssuccesful update. I only have a live setup running, no test environment...
Updated to latest v3.1 plugin today and it's fixed indeed. No need to filter the attribute anymore. Tnx
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.