Koenkk / zigbee2mqtt

Zigbee 🐝 to MQTT bridge πŸŒ‰, get rid of your proprietary Zigbee bridges πŸ”¨
https://www.zigbee2mqtt.io
GNU General Public License v3.0
11.75k stars 1.64k forks source link

LLKZMK11LM toggled by child buttons for no reason #16918

Closed djansen1987 closed 11 months ago

djansen1987 commented 1 year ago

What happened?

i got 2 LLKZMK11LM relays, and whenever I am replacing battery of switches/buttons nearby the relays are toggling whenever i press the on/off button of these buttons. I am 10000% sure there are no automations or bindings created between these devices.

i have seen this happing with the following buttons: E1524/E1810 and 81825 ofcourse this is quite anoing because my computer is behide these relays and the impact is high when it suddenly turns off.

I have read this might be because the relays are the parrant of the button, and as you can see below in the MAP that is the case. When these buttons are back in the sleepingroom and not near my workroom (studio) the problem is solved.

How can this happend and what can i do..?? image

What did you expect to happen?

buttons not interfering with relays

How to reproduce it (minimal and precise)

Place buttons near the relays and toggle main button

Zigbee2MQTT version

1.30.2

Adapter firmware version

20220219

Adapter

CC2652R

Debug log

No response

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

djansen1987 commented 1 year ago

Please help

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

djansen1987 commented 1 year ago

No one ?

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

djansen1987 commented 1 year ago

Still an issue...

github-actions[bot] commented 1 year ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

djansen1987 commented 1 year ago

Hi @Koenkk ,

This is still a big issue for me. I cannot use buttons around the relay switches from ikea as when the relay is the parent of the button it will toggle the relay without any automation or bind. How to solve this?

patrik-malina commented 1 year ago

I have similar problem. Mine sonoff button randomly bind to xiaomi power plugs and turning it on/off. I lost several days to look in all automations and scripts (didn't noticed that button actually turns them off).

I tried to remove/pair again button. No go. Also cannot unbind device, it throws error.

djansen1987 commented 1 year ago

I have similar problem. Mine sonoff button randomly bind to xiaomi power plugs and turning it on/off. I lost several days to look in all automations and scripts (didn't noticed that button actually turns them off).

I tried to remove/pair again button. No go. Also cannot unbind device, it throws error.

I hope that someone will respond here with a solution, I am afraid to use certain buttons near a relay switch...

If you find an solution elsewhere please let me know here, I will do the same

Koenkk commented 1 year ago

@djansen1987 this is probably caused by your switch being in group 0. Try to remove it by sending to zigbee2mqtt/bridge/request/group/members/remove payload {"group": 0, "device":"LLKZMK11LM_DEVICE_NAME"}

djansen1987 commented 1 year ago

Hi @Koenkk appropriate your response, but i am unsure on how to run such command. Can't find much details on how to send this kind of mqtt message manually. This is what is tried but if returns an error:

image

Koenkk commented 1 year ago

This looks good but you probably need to encapsulate the payload in quotes (so payload: "{....}"). After that check the z2m log if it went OK.

djansen1987 commented 1 year ago

@Koenkk Again thanks, the following command was accepted. But looking in to the log i think it did not work/do anything.

service: mqtt.publish
data:
  topic: zigbee2mqtt/bridge/request/group/members/remove
  payload: '{"group": 0, "device":"Studio_Relay_2"}'
Zigbee2MQTT:debug 2023-07-15 19:33:42: Received MQTT message on 'zigbee2mqtt/bridge/request/group/members/remove' with data '{"group": 0, "device":"balkon"}'
Zigbee2MQTT:info  2023-07-15 19:33:42: MQTT publish: topic 'zigbee2mqtt/bridge/response/group/members/remove', payload '{"data":{"device":"balkon"},"error":"Group '0' does not exist","status":"error"}'
Zigbee2MQTT:error 2023-07-15 19:33:42: Group '0' does not exist

Zigbee2MQTT:debug 2023-07-15 19:35:28: Received MQTT message on 'zigbee2mqtt/bridge/request/group/members/remove' with data '{"group": 0, "device":"Studio_Relay_1"}'
Zigbee2MQTT:info  2023-07-15 19:35:28: MQTT publish: topic 'zigbee2mqtt/bridge/response/group/members/remove', payload '{"data":{"device":"Studio_Relay_1"},"error":"Group '0' does not exist","status":"error"}'
Zigbee2MQTT:error 2023-07-15 19:35:28: Group '0' does not exist
Zigbee2MQTT:debug 2023-07-15 19:35:31: Received Zigbee message from 'Studio_Relay_1', type 'read', cluster 'genTime', data '["time"]' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-15 19:35:31: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_1', payload '{"consumption":38.42,"current":0.01,"detection_period":505,"device_temperature":42,"energy":38.42,"interlock":false,"last_seen":"2023-07-15T17:35:31.886Z","linkquality":91,"power":0,"power_outage_count":150,"power_outage_memory":null,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":45,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":231.36}'
Zigbee2MQTT:debug 2023-07-15 19:35:34: Received Zigbee message from 'Studio_Relay_2', type 'read', cluster 'genTime', data '["time"]' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-15 19:35:34: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_2', payload '{"consumption":32.78,"current":0,"detection_period":76,"device_temperature":37,"energy":32.78,"interlock":false,"last_seen":"2023-07-15T17:35:34.308Z","linkquality":65,"power":0,"power_outage_count":491,"power_outage_memory":null,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":43,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":234.51}'
Zigbee2MQTT:debug 2023-07-15 19:35:44: Received MQTT message on 'zigbee2mqtt/bridge/request/group/members/remove' with data '{"group": 0, "device":"Studio_Relay_2"}'
Zigbee2MQTT:info  2023-07-15 19:35:44: MQTT publish: topic 'zigbee2mqtt/bridge/response/group/members/remove', payload '{"data":{"device":"Studio_Relay_2"},"error":"Group '0' does not exist","status":"error"}'
Zigbee2MQTT:error 2023-07-15 19:35:44: Group '0' does not exist
Koenkk commented 1 year ago

Could you check if the issue is fixed with the following external converter: https://gist.github.com/Koenkk/76b452f7564e8db2654989ea097442d7

djansen1987 commented 1 year ago

Afraid it did not resolve the issue. When i added the ext.js and restarted Z2MQTT i saw all relays reconfiguring automatically. I also try manual to reconfigure. But when pressing one of the buttons the relays toggled again.

image

image Here button "kinderbedje_sw" is toggling Relay "Studio_relay_2"

During the toggle, this is de debug log trace i could find.

Zigbee2MQTT:debug 2023-07-16 16:02:58: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":343}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:02:58: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.34,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:02:58.978Z","linkquality":61,"power":48,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:02:59: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":210}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.21,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:02:59.991Z","linkquality":54,"power":48,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:00: Received Zigbee message from 'Studio_Relay_1', type 'read', cluster 'genTime', data '["time"]' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_1', payload '{"consumption":38.42,"current":0.66,"detection_period":505,"device_temperature":50,"energy":38.42,"interlock":false,"last_seen":"2023-07-16T14:03:00.548Z","linkquality":102,"power":145.26,"power_outage_count":150,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":45,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":238.1}'
Zigbee2MQTT:debug 2023-07-16 16:03:00: Received Zigbee message from 'kinderbedje_sw', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/kinderbedje_sw', payload '{"action":"toggle","battery":50,"last_seen":"2023-07-16T14:03:00.800Z","linkquality":61,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"},"update_available":false}'
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/kinderbedje_sw', payload '{"action":"","battery":50,"last_seen":"2023-07-16T14:03:00.800Z","linkquality":61,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"},"update_available":false}'
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/kinderbedje_sw/action', payload 'toggle'
Zigbee2MQTT:debug 2023-07-16 16:03:00: Received Zigbee message from 'Studio_Relay_2', type 'attributeReport', cluster 'genOnOff', data '{"61440":124449828,"onOff":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_2', payload '{"consumption":32.78,"current":0.43,"detection_period":76,"device_temperature":40,"energy":32.78,"interlock":false,"last_seen":"2023-07-16T14:03:00.821Z","linkquality":54,"power":62.61,"power_outage_count":492,"power_outage_memory":null,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":43,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":240.73}'
Zigbee2MQTT:debug 2023-07-16 16:03:00: Received MQTT message on 'zigbee2mqtt/bedje/set' with data 'OFF'
Zigbee2MQTT:debug 2023-07-16 16:03:00: Publishing 'set' 'state' to 'bedje'
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/bedje', payload '{"child_lock":"UNLOCK","current":0,"energy":0.37,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:00.950Z","linkquality":14,"power":0,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}'
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/bedje', payload '{"child_lock":"UNLOCK","current":0,"energy":0.37,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:00.950Z","linkquality":14,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}'
Zigbee2MQTT:debug 2023-07-16 16:03:00: Received Zigbee message from 'bedje', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:00: MQTT publish: topic 'zigbee2mqtt/bedje', payload '{"child_lock":"UNLOCK","current":0,"energy":0.37,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:00.957Z","linkquality":14,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}'
Zigbee2MQTT:debug 2023-07-16 16:03:01: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":343}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:01: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.34,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:01.975Z","linkquality":58,"power":48,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:03: Received Zigbee message from 'Studio_Relay_2', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":0.2170121669769287}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:03: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_2', payload '{"consumption":32.78,"current":0.43,"detection_period":76,"device_temperature":40,"energy":32.78,"interlock":false,"last_seen":"2023-07-16T14:03:03.873Z","linkquality":105,"power":0.22,"power_outage_count":492,"power_outage_memory":null,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":43,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":240.73}'
Zigbee2MQTT:debug 2023-07-16 16:03:04: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":343}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:04: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.34,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:04.977Z","linkquality":54,"power":48,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:07: Received Zigbee message from 'Studio_Relay_1', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":129.17396545410156}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:07: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_1', payload '{"consumption":38.42,"current":0.66,"detection_period":505,"device_temperature":50,"energy":38.42,"interlock":false,"last_seen":"2023-07-16T14:03:07.550Z","linkquality":105,"power":129.17,"power_outage_count":150,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":45,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":238.1}'
Zigbee2MQTT:debug 2023-07-16 16:03:10: Received Zigbee message from 'Studio_Relay_1', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":106.54731750488281}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:10: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_1', payload '{"consumption":38.42,"current":0.66,"detection_period":505,"device_temperature":50,"energy":38.42,"interlock":false,"last_seen":"2023-07-16T14:03:10.617Z","linkquality":102,"power":106.55,"power_outage_count":150,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":45,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":238.1}'
Zigbee2MQTT:debug 2023-07-16 16:03:15: Received Zigbee message from 'kinderbedje_sw', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:15: MQTT publish: topic 'zigbee2mqtt/kinderbedje_sw', payload '{"action":"toggle","battery":50,"last_seen":"2023-07-16T14:03:15.961Z","linkquality":109,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"},"update_available":false}'
Zigbee2MQTT:info  2023-07-16 16:03:15: MQTT publish: topic 'zigbee2mqtt/kinderbedje_sw', payload '{"action":"","battery":50,"last_seen":"2023-07-16T14:03:15.961Z","linkquality":109,"update":{"installed_version":604241925,"latest_version":604241925,"state":"idle"},"update_available":false}'
Zigbee2MQTT:info  2023-07-16 16:03:15: MQTT publish: topic 'zigbee2mqtt/kinderbedje_sw/action', payload 'toggle'
Zigbee2MQTT:debug 2023-07-16 16:03:15: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":27}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.34,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:15.992Z","linkquality":54,"power":27,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:16: Received Zigbee message from 'Studio_Relay_2', type 'attributeReport', cluster 'genOnOff', data '{"61440":124449829,"onOff":1}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_2', payload '{"consumption":32.78,"current":0.43,"detection_period":76,"device_temperature":40,"energy":32.78,"interlock":false,"last_seen":"2023-07-16T14:03:16.012Z","linkquality":109,"power":0.22,"power_outage_count":492,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":43,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":240.73}'
Zigbee2MQTT:debug 2023-07-16 16:03:16: Received MQTT message on 'zigbee2mqtt/bedje/set' with data 'ON'
Zigbee2MQTT:debug 2023-07-16 16:03:16: Publishing 'set' 'state' to 'bedje'
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/bedje', payload '{"child_lock":"UNLOCK","current":0,"energy":0.37,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:16.116Z","linkquality":10,"power":0,"power_outage_memory":"restore","state":"OFF","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}'
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/bedje', payload '{"child_lock":"UNLOCK","current":0,"energy":0.37,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:16.116Z","linkquality":10,"power":0,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}'
Zigbee2MQTT:debug 2023-07-16 16:03:16: Received Zigbee message from 'bedje', type 'attributeReport', cluster 'genOnOff', data '{"onOff":1}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/bedje', payload '{"child_lock":"UNLOCK","current":0,"energy":0.37,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:16.124Z","linkquality":10,"power":0,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":241}'
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/Voet_Verwarming_Studio', payload '{"last_seen":"2023-07-16T14:03:16.173Z","linkquality":102,"power_on_behavior":"off","state":"OFF","update":{"installed_version":587765297,"latest_version":587765297,"state":"idle"},"update_available":false}'
Zigbee2MQTT:debug 2023-07-16 16:03:16: Device 'Voet_Verwarming_Studio' announced itself
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"Voet_Verwarming_Studio","ieee_address":"0xd0cf5efffee85881"},"type":"device_announce"}'
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"Voet_Verwarming_Studio"},"type":"device_announced"}'
Zigbee2MQTT:debug 2023-07-16 16:03:16: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":238}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:16: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.24,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:16.987Z","linkquality":61,"power":27,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:17: Received Zigbee message from 'Voet_Verwarming_Studio', type 'attributeReport', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:17: MQTT publish: topic 'zigbee2mqtt/Voet_Verwarming_Studio', payload '{"last_seen":"2023-07-16T14:03:17.747Z","linkquality":109,"power_on_behavior":"off","state":"OFF","update":{"installed_version":587765297,"latest_version":587765297,"state":"idle"},"update_available":false}'
Zigbee2MQTT:debug 2023-07-16 16:03:18: Retrieving state of 'Voet_Verwarming_Studio' after reconnect
Zigbee2MQTT:debug 2023-07-16 16:03:18: Received Zigbee message from 'Voet_Verwarming_Studio', type 'readResponse', cluster 'genOnOff', data '{"onOff":0}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:18: MQTT publish: topic 'zigbee2mqtt/Voet_Verwarming_Studio', payload '{"last_seen":"2023-07-16T14:03:18.443Z","linkquality":112,"power_on_behavior":"off","state":"OFF","update":{"installed_version":587765297,"latest_version":587765297,"state":"idle"},"update_available":false}'
Zigbee2MQTT:debug 2023-07-16 16:03:19: Received Zigbee message from 'Studio_Relay_1', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":131.13555908203125}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:19: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_1', payload '{"consumption":38.42,"current":0.66,"detection_period":505,"device_temperature":50,"energy":38.42,"interlock":false,"last_seen":"2023-07-16T14:03:19.620Z","linkquality":109,"power":131.14,"power_outage_count":150,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":45,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":238.1}'
Zigbee2MQTT:debug 2023-07-16 16:03:19: Received Zigbee message from 'Studio_Relay_2', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":49.838035583496094}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:19: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_2', payload '{"consumption":32.78,"current":0.43,"detection_period":76,"device_temperature":40,"energy":32.78,"interlock":false,"last_seen":"2023-07-16T14:03:19.874Z","linkquality":109,"power":49.84,"power_outage_count":492,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":43,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":240.73}'
Zigbee2MQTT:debug 2023-07-16 16:03:19: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":238}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:19: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.24,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:19.976Z","linkquality":58,"power":27,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:20: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":12}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:20: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.24,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:20.980Z","linkquality":61,"power":12,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:21: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":84}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:22: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.08,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:21.997Z","linkquality":58,"power":12,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:22: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":238}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:22: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.24,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:22.977Z","linkquality":61,"power":12,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:25: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":84}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:25: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.08,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:25.001Z","linkquality":58,"power":12,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:25: Received Zigbee message from 'Studio_Relay_2', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":43.308677673339844}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:25: MQTT publish: topic 'zigbee2mqtt/Studio_Relay_2', payload '{"consumption":32.78,"current":0.43,"detection_period":76,"device_temperature":40,"energy":32.78,"interlock":false,"last_seen":"2023-07-16T14:03:25.874Z","linkquality":109,"power":43.31,"power_outage_count":492,"power_outage_memory":null,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":43,"update":{"installed_version":47,"latest_version":47,"state":"idle"},"update_available":false,"voltage":240.73}'
Zigbee2MQTT:debug 2023-07-16 16:03:26: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"rmsCurrent":238}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:26: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.24,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:26.003Z","linkquality":58,"power":12,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
Zigbee2MQTT:debug 2023-07-16 16:03:26: Received Zigbee message from 'Wasmachine', type 'attributeReport', cluster 'haElectricalMeasurement', data '{"activePower":53}' from endpoint 1 with groupID 0
Zigbee2MQTT:info  2023-07-16 16:03:26: MQTT publish: topic 'zigbee2mqtt/Wasmachine', payload '{"child_lock":"UNLOCK","current":0.24,"energy":181.46,"indicator_mode":"off/on","last_seen":"2023-07-16T14:03:26.021Z","linkquality":61,"power":53,"power_outage_memory":"restore","state":"ON","update":{"installed_version":192,"latest_version":192,"state":"idle"},"update_available":false,"voltage":242}'
djansen1987 commented 1 year ago

ps: when removing the ext.js and restarting. I saw this error passing by. But this is for a relay currently not connected, so think it can be ignorred.

Zigbee2MQTT:error 2023-07-16 16:12:36: Failed to configure 'Zonnescherm', attempt 1 (Error: Command 0x00158d00044c6f65/1 genGroups.remove({"groupid":0}, {"sendWhen":"immediate","timeout":10000,"disableResponse":false,"disableRecovery":false,"disableDefaultResponse":true,"direction":0,"srcEndpoint":null,"reservedBits":0,"manufacturerCode":null,"transactionSequenceNumber":null,"writeUndiv":false}) failed (Data request failed with error: 'No network route' (205))
    at ZStackAdapter.sendZclFrameToEndpointInternal (/app/node_modules/zigbee-herdsman/src/adapter/z-stack/adapter/zStackAdapter.ts:415:23)
    at Queue.executeNext (/app/node_modules/zigbee-herdsman/src/utils/queue.ts:32:32))
Koenkk commented 1 year ago

The issue is that the remote sends a command to group 0

Zigbee2MQTT:debug 2023-07-16 16:03:00: Received Zigbee message from 'kinderbedje_sw', type 'commandToggle', cluster 'genOnOff', data '{}' from endpoint 1 with groupID 0

Apparently it is not possible to remove the plug from group 0, so we can try to bind the remote to another group instead of 1. By default this remote should be bound to group 901. Did you already try to factory reset the remote and reconfigure it (might require to wake it up, otherwise it can fail)

djansen1987 commented 1 year ago

it only look like it is happening with Ikea buttons (multiple variants). Tried to re-pair the buttons, but as soon as the buttons are near the relays (and the become the parant in zigbee network) the behaviour happens. How to program the relay of button to move to another group?

Koenkk commented 1 year ago

Can you try to create a group with e.g. ID 2 and bind the remotes to them? You can do this trough the z2m frontend -> click on device -> bind tab. (make sure to bind onOff)

djansen1987 commented 1 year ago

image image

looks like gen onOff is not available for the LLKZMK11LM device. (Device Balkon is also a LLKZMK11LM) (does setting the group make it do what i do not want it to do ?)

Koenkk commented 1 year ago

I mean binding the TRADFRI remote to the group, not the LLKZMK11LM

patrik-malina commented 1 year ago

I did it. (somewhat) Deleted sonoff button. created default binding group. Paired button again. It binds automatically to coordinator endpoint 1 (onoff and powercfg). Then i can unbind it from the endpoint (only for powercfg). Last step, bind onoff to created group.

It works now as it should. Only it shows me its offline, but works.

Thank you @Koenkk for tips.

image
patrik-malina commented 1 year ago

Hmm, after fev days it started to turn on and off plugs again πŸ˜‘ I'm desperate...

patrik-malina commented 1 year ago

Finger crossed... It working for several days. What id did is that i paired it not to all or coordinator, but to osram lamp. Then bind it to default group (i don't know if this matters) Need to try what will happen when lamp goes offline...

github-actions[bot] commented 11 months ago

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 7 days

adynis commented 10 months ago

Any other idea to fix this ?

Pospitch commented 8 months ago

Is there any fix yet?

djansen1987 commented 8 months ago

Koen wrote on the linked topic it is a firmware issue at aqara. Someone needs to contact them...

leonardpitzu commented 7 months ago

These devices haven't got a firmware update in ages... I guess only replacing them is an option. In my case it's even worst as these devices control the lights in the entire house. Imagine the lights toggling for 1 second in the middle of the night... This happens randomly throughout the house.