Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge 🌉, get rid of your proprietary Zigbee bridges 🔨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.72k stars 1.64k forks source link

UseeLink SM-0306E-2W: Power-On enum is unsupported attribute #21517

Open kennypy opened 6 months ago

kennypy commented 6 months ago

What happened?

If I try to set the Power-On enum behaviour via Zigbee2Mqtt, I get the following error:

Publish 'set' 'power_outage_memory' to 'Attic 1' failed: 'Error: Write 0xa4c138e0d51c2b85/1 genOnOff({"moesStartUpOnOff":0}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

Power-On behaviour is not set.

What did you expect to happen?

Power-On enum to be set to either "off", "on", or "restore"

How to reproduce it (minimal and precise)

Change the Power-On enum via Zigbee2Mqtt UI.

Zigbee2MQTT version

1.35.3

Adapter firmware version

20220219

Adapter

ITead Sonoff Zigbee 3.0 USB Dongle Plus

Setup

Add-on home assistant

Debug log

No response

fonzy69 commented 5 months ago

Same thing for me, in exactly same conditions. Error "UNSUPPORTED_ATTRIBUTE" for "Power outage memory" and "Child lock state" edit : same problem in 1.36

JohannCR commented 4 months ago

Same here

kennypy commented 4 months ago

When I've checked now under state in the device settings in Zigbee2MQTT it says that it is set to restore, however when I try to manually set it errors out. I've just tested and it does seem to restore power, so it does work.

Screenshot_20240423_204516_Home Assistant.jpg

sabaatworld commented 2 months ago

I'm also impacted by this. the functions work but I do see the error. Are there any fixes?

kennypy commented 2 months ago

No still no fix when trying to update this setting. I have since upgraded my ZigBee coordinator and also I am running the latest ZigBee software and the error persists.