L&S lighting zigbee module behaves wrongly when setting brightness
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
- docker, typescript
- Domain
- backend
Research direction
Start by checking the L&S device definition for model 756200030 and how brightness commands are handled when the light is off. Reproduce with the reported MQTT topic and payload while the light is off, then compare the reported power state with the physical light. Done means brightness changes without an incorrect power state, with a regression test covering the reproduction.
Written by the indexing model from the issue text.
Description
What happened?
I am using Zigbee2MQTT as separate docker container together with a homeassistant docker container.
Pairing and connecting the L&S lighting module (https://github.com/Koenkk/zigbee2mqtt.io/blob/master/docs/devices/756200030.md) worked fine as well as the control in general. The only thing I noticed is:
When the light is on and I change the brightness via MQTT message or zigbee2mqtt GUI, the device accepts the brightness and all is fine.
When the light is off and I change the brightness via MQTT message or zigbee2mqtt GUI, the device accepts the brightness (according to zigbee2mqtt GUI and MQTT messages), BUT the power state turns on, while the light stays off.
topic used: "PREFIX/LIGHTNAME/11/set"
payload used: { "brightness": VALUE }
I am, unsure, if this is a problem in zigbee2mqtt or in the device itself. Before connecting with L&S, I wanted to check here.
Thanks, André
What did you expect to happen?
I expected, that the power state reflects always the light state.
Additionally I expected that changing the brightness does not change the power state.
How to reproduce it (minimal and precise)
Connect the device to zigbee2mqtt. Make sure the light is set off and brightness is set to 254. You can do this with the original zigbee remote control for the light control MEC module.
Now send a MQTT message to the device to change the brightness. You will notice, that the device changes the brightness value, but also the power state gets switched to "on", while the light in reality stays off.
Zigbee2MQTT version
2.14.3
Adapter firmware version
0x26780700
Adapter
ConBee II
Setup
Running HomeAssistant, mosquitto and zigbee2mqqt in separate Docker containers.
HomeAssistant is used to control the smart home. In this test, I only used MQTT Explorer to send MQTT messages via zigbee2mqtt. HomeAssistant was out of the loop for the test.
Device database.db entry
IEEE-Adr: 0x180df9fffe8d2723 ; NetworkAdr: 0xFD08 ; Definition: 756200030 ; Type: router ; Firmware-ID: 4.09.03-027
Debug log
No response
Notes
No response
- Dominant language
- TypeScript
- Stars
- 15.8k
- Forks
- 2.1k
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 38
Getting set up
Starts the project's dev container in your browser, under your own GitHub account.
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Koenkk/zigbee2mqtt
-
[Feature request]: OTA for generated definitions of devices with an OTA client clusterPossibly taken @jabla claimed this 1 day ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
Koenkk/zigbee2mqtt#33684 · 1 comment ·
Maintainers usually reply within 1 day
-
new device support
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Koenkk/zigbee2mqtt#33674 · 1 comment ·
Maintainers usually reply within 1 day
-
[Feature request]: Support espzb adapter (ESP Zigbee SDK v2, ESP32-S31)Possibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Koenkk/zigbee2mqtt#33668 ·
Maintainers usually reply within 1 day
-
problem
Difficulty 1/5 Under an hour Newbie friendliness 76/100
Koenkk/zigbee2mqtt#33645 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 83/100
Koenkk/zigbee2mqtt#33613 · 2 comments ·
Maintainers usually reply within 1 day
All issues in Koenkk/zigbee2mqtt
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
vercel-labs/ui#540 ·
Maintainers usually reply within 1 day
-
accepted ai-dev ai-implementing
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
livesport/homer#218 · 1 comment ·
Maintainers usually reply within 1 day
-
normalizePropName strips `#` characters from Figma property names instead of only the `#id` suffixOpen
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
figma/code-connect#419 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Negative values skip k/M abbreviation and medium decimal format on line, stacked-area, and tooltipOpen
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
britecharts/britecharts#1255 ·
Maintainers usually reply within 1 day