No more Power On Behaviour on AVATTO ZWSM16-2

Open
#33,849 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
48/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Active
Tech stack
typescript
Domain
embedded-iot

Research direction

Start with the converter definitions and exposed attributes for the AVATTO ZWSM16-2 and ZWSM16-4, then trace the power_on_behavior write that returns UNSUPPORTED_ATTRIBUTE. Compare the two models and the changes referenced by issue #32762 and PR #12857. Done means the ZWSM16-2 exposes Power On Behaviour again and changing the value produces a successful power_on_behavior publish.

Written by the indexing model from the issue text.

Description

problem
What happened?

What happened?
I don't know from which version of Z2M happened but today I realized the Power On Behaviour is non present anymore

What did you expect to happen?
I expect the feature Power On Behaviour comes back.

How to reproduce it (minimal and precise)
This is what I can see for AVATTO ZWSM16-2:

image This is what I can see for AVATTO ZWSM16-4: image Previously ZWSM16-2 had POWER ON BEHAVIOUR option available
What did you expect to happen?

I expect to change positively the power on behaviour

How to reproduce it (minimal and precise)

I change the option and receive the following error
z2m: Publish 'set' 'power_on_behavior' to 'Luce Esterna Camera/Virtual Giardino' failed: 'Error: ZCL command 0xa4c138861ee5cd73/2 manuSpecificTuya3.write({"powerOnBehavior":2}, {"timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"reservedBits":0,"writeUndiv":false}) failed (Status 'UNSUPPORTED_ATTRIBUTE')'

Zigbee2MQTT version

2.14.3

Adapter firmware version

8.2.2 [GA]

Adapter

Sonoff Dongle E

Setup

Docker in Proxmox

Device database.db entry

No response

Debug log

No response

Notes

See #32762.
Issue not solved after chore(master): release 26.93.0 #12857

Dominant language
TypeScript
Stars
15.9k
Forks
2.1k
Avg merge
12h 11m
Merged PRs (30d)
32

Getting set up

Open in Codespaces

Starts the project's dev container in your browser, under your own GitHub account.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Koenkk/zigbee2mqtt

All issues in Koenkk/zigbee2mqtt

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.