K4003C wrong state after update 2.10.0
What happened?
After the latest update, the K4003c devices report the wrong status at random; before, they worked perfectly. I find that the lights are marked as on even though they're actually off. After turning them off from the web interface, which obviously doesn't change the status of the actual lights, since they're already off, they remain synchronized for a short while and then incorrectly report them as on again even though they're off.
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
2.10.0
Adapter firmware version
20240716
Adapter
slz-ultima3
Setup
add-on on x86 VM
Device database.db entry
No response
Debug log
No response
Notes
No response
Same behavior for me after last update. Reverted back to previous version
Same here.
Same here. All 15 switches shows inconsistent state or inverted state. No issues in 2.9.2.
Same here.
Zigbee2MQTT version 2.10.0 (4639243cf933cdae692c83dbd10bdb8dbecb6a6c)
Adapter firmware version
{"build":397,"ezsp":14,"major":8,"minor":0,"patch":2,"revision":"8.0.2 [GA]","special":0,"type":170}
Adapter EmberZNet
Setup
os: #1 SMP PREEMPT Debian 1:6.12.34-1+rpt1~bookworm (2025-06-26) - 6.12.34+rpt-rpi-v8 - arm64
node: v24.14.1
ha: true
Device database.db entry
{"id":23,"type":"Router","ieeeAddr":"0x0004740000b139aa","nwkAddr":40307,"manufId":4129,"manufName":" Legrand\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","powerSource":"Mains (single phase)","modelId":" Light switch with neutral\u0000\u0000\u0000\u0000\u0000","epList":[1],"endpoints":{"1":{"profId":260,"epId":1,"devId":256,"inClusterList":[0,3,6,4,5,15,64513],"outClusterList":[0,64513,25],"clusters":{"genBasic":{"attributes":{"modelId":" Light switch with neutral\u0000\u0000\u0000\u0000\u0000","manufacturerName":" Legrand\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000","powerSource":1,"zclVersion":2,"appVersion":0,"stackVersion":65,"hwVersion":1,"dateCode":" \u000020200626\u0000\u0000\u0000\u0000\u0000","swBuildId":"00b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0002\u0000\u0001\u0000 \u0002\u0000\u0002\u0000!\u0012\u0000\u0000\u0000\u0000��\u0003\u0000\u0010\u0002\u0001\u0004\u0000\u0018\u0002\u0000��!"}},"genOnOff":{"attributes":{"onOff":0}},"genIdentify":{"attributes":{"identifyTime":60}},"genBinaryInput":{"attributes":{"presentValue":1}}},"binds":[{"cluster":3,"type":"endpoint","deviceIeeeAddress":"0x00124b001ed11849","endpointID":1},{"cluster":6,"type":"endpoint","deviceIeeeAddress":"0x00124b001ed11849","endpointID":1},{"cluster":15,"type":"endpoint","deviceIeeeAddress":"0x00124b001ed11849","endpointID":1}],"configuredReportings":[{"cluster":6,"attrId":0,"minRepIntval":1,"maxRepIntval":3600,"repChange":0},{"cluster":15,"attrId":85,"minRepIntval":0,"maxRepIntval":3600,"repChange":0}],"meta":{}}},"appVersion":0,"stackVersion":65,"hwVersion":1,"dateCode":" \u000020200626\u0000\u0000\u0000\u0000\u0000","swBuildId":"00b\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000 \u0002\u0000\u0001\u0000 \u0002\u0000\u0002\u0000!\u0012\u0000\u0000\u0000\u0000��\u0003\u0000\u0010\u0002\u0001\u0004\u0000\u0018\u0002\u0000��!","zclVersion":2,"interviewCompleted":true,"interviewState":"SUCCESSFUL","meta":{"configured":"0.0.1"},"lastSeen":1777790258388}
Device
definition
K4003C/L4003C/N4003C/NT4003C - BTicino (v0.0.1)
software_build_id: 00b !����!
date_code: 20200626
endpoints:
{"1":{"bindings":[{"cluster":"genIdentify","target":{"endpoint":1,"ieee_address":"0x00124b001ed11849","type":"endpoint"}},{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b001ed11849","type":"endpoint"}},{"cluster":"genBinaryInput","target":{"endpoint":1,"ieee_address":"0x00124b001ed11849","type":"endpoint"}}],"clusters":{"input":["genBasic","genIdentify","genOnOff","genGroups","genScenes","genBinaryInput","manuSpecificLegrandDevices"],"output":["genBasic","manuSpecificLegrandDevices","genOta"]},"configured_reportings":[{"attribute":"onOff","cluster":"genOnOff","maximum_report_interval":3600,"minimum_report_interval":1,"reportable_change":0},{"attribute":"presentValue","cluster":"genBinaryInput","maximum_report_interval":3600,"minimum_report_interval":0,"reportable_change":0}],"scenes":[]}}
Health
time: Sun May 03 2026 08:36:15 GMT+0200 (Ora legale dell’Europa centrale)
os.load_average: 0.15, 0.26, 0.3
os.memory_percent: 66.5982
process.memory_percent: 3.5402
process.uptime_sec: 122411
{"leave_count":0,"messages":922,"messages_per_sec":0.0075,"network_address_changes":0}
Same here. After 2.10.0 update all my K4003C switches show incorrect state.
I have tens of this switches and not all have the same behaviour. I checked that both those with the correct state and the others are on the same firmware. When the state is inverted, it remains inverted if I toggle the switch physically. For example: physically OFF but ON for z2m; when toggled ON on the wall, z2m show OFF.
Same here.
Problem is only K4003C after the update.
K4027C works fine.
What firmware version are you guys running on the device?
@murarustefaan maybe you should apply the fix only on the problematic version?
- https://github.com/Koenkk/zigbee-herdsman-converters/pull/11957
ID firmware 0043 20221006
What firmware version are you guys running on the device?
I mainly have problem with a device running 20200626 but it also happened (less frequently) with 20200713. Firmware version is always 54594304 App: 0.3 build 65 | Stack: 0.b build 0
What firmware version are you guys running on the device?
I have problems with:
Firmware ID: 0043 20240119
Firmware version: 4408831 App: 0.0 build 67 | Stack: 4.5 build 255
Also:
0043 20231211
4408831 App: 0.0 build 67 | Stack: 4.5 build 255
What firmware version are you guys running on the device?
@murarustefaan maybe you should apply the fix only on the problematic version?
- https://github.com/Koenkk/zigbee-herdsman-converters/pull/11957
I have yet to update to this new version, been away for a few days. Will try reproducing this evening but I only have K4001C, not the K4003C.
Same here. K4001C report wrong state. Firmware 0043. Reverted to 2.9.2-1 version and everithing works fine
K4003c wrong state, firmware version:
4408831 App: 0.0 build 67 | Stack: 4.5 build 2
0043 20251009
I’m not sure if this is related to the same issue, but I’d like to report that the power_on_behavior setting is not being respected during a power loss scenario. When power is restored, all lights turn on regardless of the last state.
With the previous version, the state was correctly preserved even after a power outage (even if the 'power_on_behavior' function is not officially exposed).
This is happening to all my BTicino N4003C switches after the update to Z2M v2.10
ID firmware 0043 firmware version 4408831 App: 0.0 build 67 | Stack: 4.5 build 255
Opened a revert PR until I am able to debug this further in the next couple of days, since this one seems to have broken a lot of other people's devices.
https://github.com/Koenkk/zigbee-herdsman-converters/pull/12095/changes
Same here.
Firmware ID 0043 20241128
same here
same here