TS0121 Powerplug Power_outage_memory

Hi i was wondering if it’s possible to set the default power on behavior of these switches, i was trying to find anything related to it from the app.

It seems it should be possible as zigbee2mqtt supports it.

Power_outage_memory (enum) #

Recover state after power outage. Value can be found in the published state on the power_outage_memory property. It’s not possible to read (/get) this value. To write (/set) a value publish a message to topic zigbee2mqtt/FRIENDLY_NAME/set with payload {"power_outage_memory": NEW_VALUE}. The possible values are: on, off, restore.

If you double click on the 0x4003 attribute, you can select what you want it to do and then write it:

This needs to be supported by the plug ofcourse :slight_smile:

1 Like

Guess i’m out of luck then.

Is the on value there some assumed default or is it actually reading it from the device?
considering it’s “ON” would suggest the default behavior would be to turn it on after power loss?

also just noticed that the indicator light for power doesn’t work in any of these plugs (3), but that’s probably just me poking stuff i shouldn’t have poked during installation :smile:.

anyways thanks for help.

It is actually reading it from the device :slight_smile: