Is it possible to programmatically (i.e. some code, MQTT, or other measures) do a “Reset to Factory Defaults" in Cluster 0x0000 of a TS011F metering plug (manufacturer “_TZ3000_rdfh8cfs”, ID 0x1141)?
I ask, because I read the plug’s status in Home Assistant (have deCONZ added to HA), and I would like to reset the consumption (“Current Summation Delivered” in the “Simple Metering” cluster) in certain situations.
Thank you! Now I wish I understood what to do with those code lines or where to insert them. In the long term, my plan is to run this via Home Assistant (if at all possible).
This code need to be added to the DDF, and yes it will create a new command usable by HA, (visible on the device json) I don’t see wich one field to use but to make test you can use for exemple “config/resetpresence”