Koenkk / zigbee2mqtt

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

Aqara wireless relay controller LLKZMK11LM reports interlock true when false after a reset #4485

Closed McGiverGim closed 3 years ago

McGiverGim commented 4 years ago

What happened

My zigbee network become unstable. The culprit seemed two Aqara relay (they report an error when trying to get the network map), so I ended rejoining this two nodes. After that, all seemed to work ok, but it seems that rejoining it implied a reset of the devices and the interlock that I have enabled was disabled. But the zigbee messages in the log showed interlock true.

What did you expect to happen

If after reset the device the interlock is false, the zigbee messages must show them as false.

How to reproduce it (minimal and precise)

Debug info

Zigbee2MQTT version: 1.14.4.2 Adapter hardware: CC2531 Adapter firmware version: zStack12.20190608

github-actions[bot] commented 4 years 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

McGiverGim commented 4 years ago

No response so I suppose that this behavior was expected and not a bug?

Koenkk commented 4 years ago

Can you provide the debug log when this reset happens?

To enable debug logging set in configuration.yaml:

advanced:
  log_level: debug
McGiverGim commented 4 years ago

Thanks @Koenkk for looking at this. I have added some "comments" of my actions. I enabled the joining twice by error but for the rest is the same:

Here is the log, filtered by the entity rele_comedor_centro that is the one who I used for this:

<!-- HERE I',M PLAYING WITH INTERLOCK ENABLING/DISABLING ONE SWITCH, IT WORKS, IT SWITCHS OFF THE OPPOSITE -->

info  2020-11-02 16:09:33: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.02,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:53: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.02,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:53: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.02,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:53: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.02,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:56: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":13.48,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:58: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":13.48,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:58: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":13.48,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
info  2020-11-02 16:09:58: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":13.48,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
info  2020-11-02 16:10:00: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.02,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'

<!-- SWITCH TO DEBUG AND PERMIT JOIN -->

info  2020-11-02 16:10:32: Switching log level to 'debug'
info  2020-11-02 16:10:32: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":false,"version":"1.16.0"}'
debug 2020-11-02 16:10:33: Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data 'true'
info  2020-11-02 16:10:33: Zigbee: allowing new devices to join.
info  2020-11-02 16:10:33: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.16.0"}'

<!-- REJOIN THE NETWORK WITH THE DEVICE -->

warn  2020-11-02 16:10:57: Device '0x00158d0003f453e3' left the network
info  2020-11-02 16:10:57: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"ieee_address":"0x00158d0003f453e3"},"type":"device_leave"}'
info  2020-11-02 16:10:57: MQTT publish: topic 'zigbee2mqtt/bridge/devices', payload '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}},"11":{"bindings":[],"clusters":{"input":[],"output":["ssIasZone"]}},"110":{"bindings":[],"clusters":{"input":[],"output":[]}},"12":{"bindings":[],"clusters":{"input":[],"output":[]}},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]}},"2":{"bindings":[],"clusters":{"input":[],"output":[]}},"3":{"bindings":[],"clusters":{"input":[],"output":[]}},"4":{"bindings":[],"clusters":{"input":[],"output":[]}},"5":{"bindings":[],"clusters":{"input":[],"output":[]}},"6":{"bindings":[],"clusters":{"input":[],"output":[]}},"8":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"Coordinator","ieee_address":"0x00124b0018e86d21","interview_completed":false,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","msOccupancySensing","msIlluminanceMeasurement","ssIasZone","genPowerCfg","genIdentify"],"output":["genBasic","genOta"]}}},"friendly_name":"presencia_pasillo","ieee_address":"0x00158d0004147c40","interview_completed":true,"interviewing":false,"network_address":35552,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","msOccupancySensing","msIlluminanceMeasurement","ssIasZone","genPowerCfg","genIdentify"],"output":["genBasic","genOta"]}}},"friendly_name":"presencia_cocina","ieee_address":"0x00158d0003f431e6","interview_completed":true,"interviewing":false,"network_address":43733,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia door & window contact sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"contact","property":"contact","type":"binary","value_off":true,"value_on":false},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"MCCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"puerta_trastero","ieee_address":"0x00158d00045ee734","interview_completed":true,"interviewing":false,"network_address":10009,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia wireless switch","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"action","property":"action","type":"enum","values":["single","double","tripple","quadruple","hold","release"]},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WXKG01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"pulsador_alarma","ieee_address":"0x00158d0003e7cf82","interview_completed":true,"interviewing":false,"network_address":29730,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia Honeywell smoke detector","exposes":[{"access":"r","name":"smoke","property":"smoke","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"battery_low","property":"battery_low","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"tamper","property":"tamper","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"rw","name":"sensitivity","property":"sensitivity","type":"enum","values":["low","medium","high"]},{"access":"r","name":"smoke_density","property":"smoke_density","type":"numeric"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"JTYJ-GD-01LM/BW","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genMultistateInput","ssIasZone","genAnalogInput","genPowerCfg"],"output":["genOta"]}}},"friendly_name":"detector_humo","ieee_address":"0x00158d0003612ca2","interview_completed":true,"interviewing":false,"network_address":41753,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"temperatura_banyo_pasillo","ieee_address":"0x00158d00036b8ca4","interview_completed":true,"interviewing":false,"network_address":10359,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia human body movement sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"presencia_comedor","ieee_address":"0x00158d0003cc2d19","interview_completed":true,"interviewing":false,"network_address":26099,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia door & window contact sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"contact","property":"contact","type":"binary","value_off":true,"value_on":false},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"MCCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"puerta_casa","ieee_address":"0x00158d00045e8f67","interview_completed":true,"interviewing":false,"network_address":25234,"power_source":"Battery","supported":true,"type":"EndDevice"},{"date_code":"20161129","definition":{"description":"Aqara temperature, humidity and pressure sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"pressure","property":"pressure","type":"numeric","unit":"hPa"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","msTemperatureMeasurement","msPressureMeasurement","msRelativeHumidity"],"output":["genBasic","genGroups"]}}},"friendly_name":"temperatura_despacho","ieee_address":"0x00158d00042107dc","interview_completed":true,"interviewing":false,"network_address":45900,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]}},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]}},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]}}},"friendly_name":"temperatura_dormitorio","ieee_address":"0x00158d0004445813","interview_completed":true,"interviewing":false,"network_address":60416,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]}},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]}},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]}}},"friendly_name":"temperatura_habitacion","ieee_address":"0x00158d000444aa44","interview_completed":true,"interviewing":false,"network_address":19156,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"20191118","definition":{"description":"MiJia light intensity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric"},{"access":"r","name":"illuminance_lux","property":"illuminance_lux","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"GZCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}},{"cluster":"msIlluminanceMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}}],"clusters":{"input":["genBasic","msIlluminanceMeasurement","genIdentify","genPowerCfg"],"output":["genIdentify"]}}},"friendly_name":"luminosidad_comedor","ieee_address":"0x04cf8cdf3c78c831","interview_completed":true,"interviewing":false,"network_address":39777,"power_source":"Battery","software_build_id":"2019\u0000www.","supported":true,"type":"EndDevice"},{"date_code":"09-20-2018","definition":{"description":"Aqara wireless relay controller","exposes":[{"access":"r","name":"power","property":"power","type":"numeric","unit":"W"},{"access":"r","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"LLKZMK11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genPowerCfg","genDeviceTempCfg","genTime","genOnOff","genBinaryOutput","haElectricalMeasurement","genAnalogInput"],"output":["genOta","genTime"]}},"2":{"bindings":[],"clusters":{"input":["genOnOff","genBinaryOutput","genGroups","genScenes"],"output":[]}}},"friendly_name":"rele_comedor_mesa","ieee_address":"0x00158d00044adbcc","interview_completed":true,"interviewing":false,"network_address":44918,"power_source":"DC Source","supported":true,"type":"Router"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]}},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]}},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]}}},"friendly_name":"temperatura_banyo_dormitorio","ieee_address":"0x00158d0002c8d4ab","interview_completed":true,"interviewing":false,"network_address":45189,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"09-20-2018","definition":{"description":"Aqara wireless relay controller","exposes":[{"access":"r","name":"power","property":"power","type":"numeric","unit":"W"},{"access":"r","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"LLKZMK11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genPowerCfg","genDeviceTempCfg","genTime","genOnOff","genBinaryOutput","haElectricalMeasurement","genAnalogInput"],"output":["genOta","genTime"]}},"2":{"bindings":[],"clusters":{"input":["genOnOff","genBinaryOutput","genGroups","genScenes"],"output":[]}}},"friendly_name":"rele_cocina","ieee_address":"0x00158d00044bda5b","interview_completed":true,"interviewing":false,"network_address":21484,"power_source":"DC Source","supported":true,"type":"Router"},{"definition":{"description":"Aqara water leak sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"water_leak","property":"water_leak","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"battery_low","property":"battery_low","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"tamper","property":"tamper","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"SJCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genPowerCfg"],"output":["genOta"]}}},"friendly_name":"fuga_agua_ac","ieee_address":"0x00158d00042dd87c","interview_completed":false,"interviewing":false,"network_address":24690,"supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"presencia_despacho","ieee_address":"0x00158d000450bbeb","interview_completed":true,"interviewing":false,"network_address":27805,"power_source":"Battery","supported":true,"type":"EndDevice"},{"date_code":"","definition":{"description":"2 gang switch module with neutral wire","exposes":[{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"QS-Zigbee-S04-2C-LN","vendor":"Lonsonho"},"endpoints":{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}}],"clusters":{"input":["genBasic","genGroups","genScenes","genOnOff","genOnOff"],"output":["genOta","genTime"]}},"2":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}}],"clusters":{"input":["genGroups","genScenes","genOnOff","genOnOff"],"output":[]}}},"friendly_name":"rele_despacho","ieee_address":"0x680ae2fffe096ce3","interview_completed":true,"interviewing":false,"network_address":50831,"power_source":"Mains (single phase)","supported":true,"type":"Router"},{"definition":{"description":"Aqara vibration sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"action","property":"action","type":"enum","values":["vibration","tilt","drop"]},{"access":"r","name":"strength","property":"strength","type":"numeric"},{"access":"rw","name":"sensitivity","property":"sensitivity","type":"enum","values":["low","medium","high"]},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"DJT11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"vibracion_silla_miguel","ieee_address":"0x00158d000323146e","interview_completed":true,"interviewing":false,"network_address":49478,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara vibration sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"action","property":"action","type":"enum","values":["vibration","tilt","drop"]},{"access":"r","name":"strength","property":"strength","type":"numeric"},{"access":"rw","name":"sensitivity","property":"sensitivity","type":"enum","values":["low","medium","high"]},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"DJT11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"vibracion_silla_piedad","ieee_address":"0x00158d000323328a","interview_completed":true,"interviewing":false,"network_address":26665,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"presencia_banyo_dormitorio","ieee_address":"0x00158d0004609312","interview_completed":true,"interviewing":false,"network_address":22444,"power_source":"Battery","supported":true,"type":"EndDevice"}]'
info  2020-11-02 16:10:57: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"left_network","meta":{"friendly_name":"0x00158d0003f453e3"},"type":"device_removed"}'

<!-- JOINED, DISABLE JOINING -->

debug 2020-11-02 16:11:00: Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data 'false'
info  2020-11-02 16:11:00: Zigbee: disabling joining new devices.
debug 2020-11-02 16:11:00: Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data 'false'
info  2020-11-02 16:11:00: Zigbee: disabling joining new devices.
info  2020-11-02 16:11:00: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":false,"version":"1.16.0"}'
info  2020-11-02 16:11:00: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":false,"version":"1.16.0"}'

<!-- ADD JOIN PERMISSION AGAIN -->

debug 2020-11-02 16:11:11: Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data 'true'
info  2020-11-02 16:11:11: Zigbee: allowing new devices to join.
info  2020-11-02 16:11:11: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":true,"version":"1.16.0"}'
debug 2020-11-02 16:11:13: Received Zigbee message from 'presencia_comedor', type 'attributeReport', cluster 'msOccupancySensing', data '{"occupancy":1}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:13: MQTT publish: topic 'zigbee2mqtt/presencia_comedor', payload '{"battery":100,"linkquality":65,"occupancy":true,"voltage":3005}'

<!-- REJOIN THE NETWORK WITH THE DEVICE -->

info  2020-11-02 16:11:16: Device 'rele_comedor_centro' joined
info  2020-11-02 16:11:16: Starting interview of 'rele_comedor_centro'
info  2020-11-02 16:11:16: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"rele_comedor_centro","ieee_address":"0x00158d0003f453e3"},"type":"device_joined"}'
info  2020-11-02 16:11:16: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"rele_comedor_centro","ieee_address":"0x00158d0003f453e3","status":"started"},"type":"device_interview"}'
info  2020-11-02 16:11:16: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":{"friendly_name":"rele_comedor_centro"},"type":"device_connected"}'
info  2020-11-02 16:11:16: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_started","meta":{"friendly_name":"rele_comedor_centro"},"type":"pairing"}'
debug 2020-11-02 16:11:16: Device 'rele_comedor_centro' announced itself
info  2020-11-02 16:11:16: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"rele_comedor_centro","ieee_address":"0x00158d0003f453e3"},"type":"device_announce"}'
info  2020-11-02 16:11:16: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"announce","meta":{"friendly_name":"rele_comedor_centro"},"type":"device_announced"}'
debug 2020-11-02 16:11:17: Received Zigbee message from 'rele_comedor_mesa', type 'read', cluster 'genTime', data '["time"]' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"modelId":"lumi.relay.c2acn01"}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"manufacturerName":"LUMI"}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"powerSource":4}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"zclVersion":0}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"appVersion":35}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"stackVersion":2}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"hwVersion":18}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{"dateCode":"09-20-2018"}' from endpoint 1 with groupID 0
debug 2020-11-02 16:11:18: Received Zigbee message from 'rele_comedor_centro', type 'readResponse', cluster 'genBasic', data '{}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:18: Successfully interviewed 'rele_comedor_centro', device has successfully been paired
info  2020-11-02 16:11:18: Device 'rele_comedor_centro' is supported, identified as: Xiaomi Aqara wireless relay controller (LLKZMK11LM)
info  2020-11-02 16:11:18: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Aqara wireless relay controller","exposes":[{"access":"r","name":"power","property":"power","type":"numeric","unit":"W"},{"access":"r","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"LLKZMK11LM","vendor":"Xiaomi"},"friendly_name":"rele_comedor_centro","ieee_address":"0x00158d0003f453e3","status":"successful","supported":true},"type":"device_interview"}'
info  2020-11-02 16:11:18: MQTT publish: topic 'zigbee2mqtt/bridge/devices', payload '[{"definition":null,"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}},"11":{"bindings":[],"clusters":{"input":[],"output":["ssIasZone"]}},"110":{"bindings":[],"clusters":{"input":[],"output":[]}},"12":{"bindings":[],"clusters":{"input":[],"output":[]}},"13":{"bindings":[],"clusters":{"input":["genOta"],"output":[]}},"2":{"bindings":[],"clusters":{"input":[],"output":[]}},"3":{"bindings":[],"clusters":{"input":[],"output":[]}},"4":{"bindings":[],"clusters":{"input":[],"output":[]}},"5":{"bindings":[],"clusters":{"input":[],"output":[]}},"6":{"bindings":[],"clusters":{"input":[],"output":[]}},"8":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"Coordinator","ieee_address":"0x00124b0018e86d21","interview_completed":false,"interviewing":false,"network_address":0,"supported":false,"type":"Coordinator"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","msOccupancySensing","msIlluminanceMeasurement","ssIasZone","genPowerCfg","genIdentify"],"output":["genBasic","genOta"]}}},"friendly_name":"presencia_pasillo","ieee_address":"0x00158d0004147c40","interview_completed":true,"interviewing":false,"network_address":35552,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","msOccupancySensing","msIlluminanceMeasurement","ssIasZone","genPowerCfg","genIdentify"],"output":["genBasic","genOta"]}}},"friendly_name":"presencia_cocina","ieee_address":"0x00158d0003f431e6","interview_completed":true,"interviewing":false,"network_address":43733,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia door & window contact sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"contact","property":"contact","type":"binary","value_off":true,"value_on":false},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"MCCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"puerta_trastero","ieee_address":"0x00158d00045ee734","interview_completed":true,"interviewing":false,"network_address":10009,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia wireless switch","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"action","property":"action","type":"enum","values":["single","double","tripple","quadruple","hold","release"]},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WXKG01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"pulsador_alarma","ieee_address":"0x00158d0003e7cf82","interview_completed":true,"interviewing":false,"network_address":29730,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia Honeywell smoke detector","exposes":[{"access":"r","name":"smoke","property":"smoke","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"battery_low","property":"battery_low","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"tamper","property":"tamper","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"rw","name":"sensitivity","property":"sensitivity","type":"enum","values":["low","medium","high"]},{"access":"r","name":"smoke_density","property":"smoke_density","type":"numeric"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"JTYJ-GD-01LM/BW","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genMultistateInput","ssIasZone","genAnalogInput","genPowerCfg"],"output":["genOta"]}}},"friendly_name":"detector_humo","ieee_address":"0x00158d0003612ca2","interview_completed":true,"interviewing":false,"network_address":41753,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"temperatura_banyo_pasillo","ieee_address":"0x00158d00036b8ca4","interview_completed":true,"interviewing":false,"network_address":10359,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia human body movement sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"presencia_comedor","ieee_address":"0x00158d0003cc2d19","interview_completed":true,"interviewing":false,"network_address":26099,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"MiJia door & window contact sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"contact","property":"contact","type":"binary","value_off":true,"value_on":false},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"MCCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"puerta_casa","ieee_address":"0x00158d00045e8f67","interview_completed":true,"interviewing":false,"network_address":25234,"power_source":"Battery","supported":true,"type":"EndDevice"},{"date_code":"20161129","definition":{"description":"Aqara temperature, humidity and pressure sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"pressure","property":"pressure","type":"numeric","unit":"hPa"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","msTemperatureMeasurement","msPressureMeasurement","msRelativeHumidity"],"output":["genBasic","genGroups"]}}},"friendly_name":"temperatura_despacho","ieee_address":"0x00158d00042107dc","interview_completed":true,"interviewing":false,"network_address":45900,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]}},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]}},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]}}},"friendly_name":"temperatura_dormitorio","ieee_address":"0x00158d0004445813","interview_completed":true,"interviewing":false,"network_address":60416,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]}},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]}},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]}}},"friendly_name":"temperatura_habitacion","ieee_address":"0x00158d000444aa44","interview_completed":true,"interviewing":false,"network_address":19156,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"20191118","definition":{"description":"MiJia light intensity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric"},{"access":"r","name":"illuminance_lux","property":"illuminance_lux","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"GZCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[{"cluster":"genPowerCfg","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}},{"cluster":"msIlluminanceMeasurement","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}}],"clusters":{"input":["genBasic","msIlluminanceMeasurement","genIdentify","genPowerCfg"],"output":["genIdentify"]}}},"friendly_name":"luminosidad_comedor","ieee_address":"0x04cf8cdf3c78c831","interview_completed":true,"interviewing":false,"network_address":39777,"power_source":"Battery","software_build_id":"2019\u0000www.","supported":true,"type":"EndDevice"},{"date_code":"09-20-2018","definition":{"description":"Aqara wireless relay controller","exposes":[{"access":"r","name":"power","property":"power","type":"numeric","unit":"W"},{"access":"r","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"LLKZMK11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genPowerCfg","genDeviceTempCfg","genTime","genOnOff","genBinaryOutput","haElectricalMeasurement","genAnalogInput"],"output":["genOta","genTime"]}},"2":{"bindings":[],"clusters":{"input":["genOnOff","genBinaryOutput","genGroups","genScenes"],"output":[]}}},"friendly_name":"rele_comedor_mesa","ieee_address":"0x00158d00044adbcc","interview_completed":true,"interviewing":false,"network_address":44918,"power_source":"DC Source","supported":true,"type":"Router"},{"date_code":"20160516","definition":{"description":"MiJia temperature & humidity sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"humidity","property":"humidity","type":"numeric","unit":"%"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"WSDCGQ01LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genOta","genMultistateInput"],"output":["genBasic","genGroups","genIdentify","genScenes","genOta","genMultistateInput"]}},"2":{"bindings":[],"clusters":{"input":["genIdentify","genMultistateInput"],"output":["genGroups","genIdentify","genScenes","genMultistateInput"]}},"3":{"bindings":[],"clusters":{"input":["genIdentify","genAnalogInput"],"output":["genGroups","genIdentify","genScenes","genAnalogInput"]}}},"friendly_name":"temperatura_banyo_dormitorio","ieee_address":"0x00158d0002c8d4ab","interview_completed":true,"interviewing":false,"network_address":45189,"power_source":"Battery","software_build_id":"3000-0001","supported":true,"type":"EndDevice"},{"date_code":"09-20-2018","definition":{"description":"Aqara wireless relay controller","exposes":[{"access":"r","name":"power","property":"power","type":"numeric","unit":"W"},{"access":"r","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"LLKZMK11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genPowerCfg","genDeviceTempCfg","genTime","genOnOff","genBinaryOutput","haElectricalMeasurement","genAnalogInput"],"output":["genOta","genTime"]}},"2":{"bindings":[],"clusters":{"input":["genOnOff","genBinaryOutput","genGroups","genScenes"],"output":[]}}},"friendly_name":"rele_cocina","ieee_address":"0x00158d00044bda5b","interview_completed":true,"interviewing":false,"network_address":21484,"power_source":"DC Source","supported":true,"type":"Router"},{"definition":{"description":"Aqara water leak sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"water_leak","property":"water_leak","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"battery_low","property":"battery_low","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"tamper","property":"tamper","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"SJCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genPowerCfg"],"output":["genOta"]}}},"friendly_name":"fuga_agua_ac","ieee_address":"0x00158d00042dd87c","interview_completed":false,"interviewing":false,"network_address":24690,"supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"presencia_despacho","ieee_address":"0x00158d000450bbeb","interview_completed":true,"interviewing":false,"network_address":27805,"power_source":"Battery","supported":true,"type":"EndDevice"},{"date_code":"","definition":{"description":"2 gang switch module with neutral wire","exposes":[{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"QS-Zigbee-S04-2C-LN","vendor":"Lonsonho"},"endpoints":{"1":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}}],"clusters":{"input":["genBasic","genGroups","genScenes","genOnOff","genOnOff"],"output":["genOta","genTime"]}},"2":{"bindings":[{"cluster":"genOnOff","target":{"endpoint":1,"ieee_address":"0x00124b0018e86d21","type":"endpoint"}}],"clusters":{"input":["genGroups","genScenes","genOnOff","genOnOff"],"output":[]}}},"friendly_name":"rele_despacho","ieee_address":"0x680ae2fffe096ce3","interview_completed":true,"interviewing":false,"network_address":50831,"power_source":"Mains (single phase)","supported":true,"type":"Router"},{"definition":{"description":"Aqara vibration sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"action","property":"action","type":"enum","values":["vibration","tilt","drop"]},{"access":"r","name":"strength","property":"strength","type":"numeric"},{"access":"rw","name":"sensitivity","property":"sensitivity","type":"enum","values":["low","medium","high"]},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"DJT11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"vibracion_silla_miguel","ieee_address":"0x00158d000323146e","interview_completed":true,"interviewing":false,"network_address":49478,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara vibration sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"action","property":"action","type":"enum","values":["vibration","tilt","drop"]},{"access":"r","name":"strength","property":"strength","type":"numeric"},{"access":"rw","name":"sensitivity","property":"sensitivity","type":"enum","values":["low","medium","high"]},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"DJT11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"vibracion_silla_piedad","ieee_address":"0x00158d000323328a","interview_completed":true,"interviewing":false,"network_address":26665,"power_source":"Battery","supported":true,"type":"EndDevice"},{"definition":{"description":"Aqara human body movement and illuminance sensor","exposes":[{"access":"r","name":"battery","property":"battery","type":"numeric","unit":"%"},{"access":"r","name":"occupancy","property":"occupancy","type":"binary","value_off":false,"value_on":true},{"access":"r","name":"illuminance","property":"illuminance","type":"numeric","unit":"lx"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"RTCGQ11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":[],"output":[]}}},"friendly_name":"presencia_banyo_dormitorio","ieee_address":"0x00158d0004609312","interview_completed":true,"interviewing":false,"network_address":22444,"power_source":"Battery","supported":true,"type":"EndDevice"},{"date_code":"09-20-2018","definition":{"description":"Aqara wireless relay controller","exposes":[{"access":"r","name":"power","property":"power","type":"numeric","unit":"W"},{"access":"r","name":"energy","property":"energy","type":"numeric","unit":"kWh"},{"access":"r","name":"temperature","property":"temperature","type":"numeric","unit":"°C"},{"access":"r","name":"voltage","property":"voltage","type":"numeric","unit":"V"},{"endpoint":"l1","features":[{"access":"rw","endpoint":"l1","name":"state","property":"state_l1","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"endpoint":"l2","features":[{"access":"rw","endpoint":"l2","name":"state","property":"state_l2","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":"r","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi"}],"model":"LLKZMK11LM","vendor":"Xiaomi"},"endpoints":{"1":{"bindings":[],"clusters":{"input":["genBasic","genIdentify","genGroups","genScenes","genPowerCfg","genDeviceTempCfg","genTime","genOnOff","genBinaryOutput","haElectricalMeasurement","genAnalogInput"],"output":["genOta","genTime"]}},"2":{"bindings":[],"clusters":{"input":["genOnOff","genBinaryOutput","genGroups","genScenes"],"output":[]}}},"friendly_name":"rele_comedor_centro","ieee_address":"0x00158d0003f453e3","interview_completed":true,"interviewing":false,"network_address":47550,"power_source":"DC Source","supported":true,"type":"Router"}]'
info  2020-11-02 16:11:18: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":"interview_successful","meta":{"description":"Aqara wireless relay controller","friendly_name":"rele_comedor_centro","model":"LLKZMK11LM","supported":true,"vendor":"Xiaomi"},"type":"pairing"}'

<!-- JOINED, DISABLE JOINING -->

debug 2020-11-02 16:11:24: Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data 'false'
info  2020-11-02 16:11:24: Zigbee: disabling joining new devices.
debug 2020-11-02 16:11:25: Received MQTT message on 'zigbee2mqtt/bridge/config/permit_join' with data 'false'
info  2020-11-02 16:11:25: Zigbee: disabling joining new devices.
info  2020-11-02 16:11:25: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":false,"version":"1.16.0"}'
info  2020-11-02 16:11:25: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"1.16.0","coordinator":{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},"type":"zStack12"},"log_level":"debug","network":{"channel":11,"extendedPanID":"0xdddddddddddddddd","panID":6754},"permit_join":false,"version":"1.16.0"}'

<!-- PLAY WITH THE SWITCHES, INTERLOCK IS NOT WORKING, I CAN HAVE BOTH SWITCHES ON -->

debug 2020-11-02 16:11:31: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l2/set' with data 'ON'
debug 2020-11-02 16:11:31: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:11:31: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.02,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:31: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440673,"onOff":1}' from endpoint 2 with groupID 0
info  2020-11-02 16:11:31: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.02,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:34: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":13.542448043823242}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:34: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.54,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:44: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l1/set' with data 'OFF'
debug 2020-11-02 16:11:44: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:11:44: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.54,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:44: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440674,"onOff":0}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:44: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.54,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:44: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l2/set' with data 'OFF'
debug 2020-11-02 16:11:44: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:11:44: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.54,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:44: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440675,"onOff":0}' from endpoint 2 with groupID 0
info  2020-11-02 16:11:44: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.54,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:46: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":0.0767827033996582}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:46: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.08,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:50: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l1/set' with data 'ON'
debug 2020-11-02 16:11:50: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:11:50: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.08,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:50: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440676,"onOff":1}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:50: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.08,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:53: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l2/set' with data 'ON'
debug 2020-11-02 16:11:53: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:11:53: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.08,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:53: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440677,"onOff":1}' from endpoint 2 with groupID 0
info  2020-11-02 16:11:53: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.08,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:54: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":2.2440755367279053}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:54: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":2.24,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:56: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":13.552146911621094}' from endpoint 1 with groupID 0
info  2020-11-02 16:11:56: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.55,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:11:58: Received Zigbee message from 'rele_comedor_centro', type 'read', cluster 'genTime', data '["time"]' from endpoint 1 with groupID 0

<!-- ENABLE INTERLOCK AGAIN -->

debug 2020-11-02 16:12:01: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/set' with data '{"interlock": true}'
debug 2020-11-02 16:12:01: Publishing 'set' 'interlock' to 'rele_comedor_centro'
info  2020-11-02 16:12:01: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.55,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:06: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l1/set' with data 'OFF'
debug 2020-11-02 16:12:06: Publishing 'set' 'state' to 'rele_comedor_centro'

<!-- PLAY AGAIN WITH THE SWITCHES, IT SEEMS TO BE WORKING OK AGAIN, IT DISABLES ONE SWITCH WHEN I ENABLE THE OPPOSITE -->

info  2020-11-02 16:12:06: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":105,"power":13.55,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:06: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440679,"onOff":0}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:06: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":105,"power":13.55,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:06: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":247053989,"onOff":0}' from endpoint 2 with groupID 0
info  2020-11-02 16:12:06: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":99,"power":13.55,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:08: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":0.011315345764160156}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:08: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.01,"state":"ON","state_l1":"OFF","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:09: Saving state to file /share/zigbee2mqtt/state.json
debug 2020-11-02 16:12:09: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l2/set' with data 'ON'
debug 2020-11-02 16:12:09: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:12:09: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.01,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:09: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":247053991,"onOff":0}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:09: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.01,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:09: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440680,"onOff":1}' from endpoint 2 with groupID 0
info  2020-11-02 16:12:09: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.01,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:12: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l1/set' with data 'ON'
debug 2020-11-02 16:12:12: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:12:12: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":0.01,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:12: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":247053992,"onOff":0}' from endpoint 2 with groupID 0
info  2020-11-02 16:12:12: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.01,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:12: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440681,"onOff":1}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:12: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.01,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:12: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":13.206624984741211}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:12: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.21,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:13: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l2/set' with data 'ON'
debug 2020-11-02 16:12:13: Publishing 'set' 'state' to 'rele_comedor_centro'
info  2020-11-02 16:12:13: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":13.21,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:13: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":247053993,"onOff":0}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:13: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":13.21,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:13: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440682,"onOff":1}' from endpoint 2 with groupID 0
info  2020-11-02 16:12:13: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":107,"power":13.21,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:14: Received MQTT message on 'zigbee2mqtt/rele_comedor_centro/l1/set' with data 'ON'
debug 2020-11-02 16:12:14: Publishing 'set' 'state' to 'rele_comedor_centro'
debug 2020-11-02 16:12:14: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genAnalogInput', data '{"presentValue":0.9816062450408936}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:14: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.98,"state":"ON","state_l1":"OFF","state_l2":"ON","temperature":33,"voltage":224.3}'
info  2020-11-02 16:12:14: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.98,"state":"ON","state_l1":"ON","state_l2":"ON","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:14: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":247053994,"onOff":0}' from endpoint 2 with groupID 0
info  2020-11-02 16:12:14: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.98,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'
debug 2020-11-02 16:12:14: Received Zigbee message from 'rele_comedor_centro', type 'attributeReport', cluster 'genOnOff', data '{"61440":117440683,"onOff":1}' from endpoint 1 with groupID 0
info  2020-11-02 16:12:14: MQTT publish: topic 'zigbee2mqtt/rele_comedor_centro', payload '{"consumption":0.83,"energy":0.83,"interlock":true,"linkquality":110,"power":0.98,"state":"ON","state_l1":"ON","state_l2":"OFF","temperature":33,"voltage":224.3}'

<!-- AGAIN LOG TO INFO -->

debug 2020-11-02 16:12:26: Received MQTT message on 'zigbee2mqtt/bridge/config/log_level' with data 'info'
info  2020-11-02 16:12:26: Switching log level to 'info'
Koenkk commented 4 years ago

State should now be clear when a device leaves the network, please test.

Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html)

McGiverGim commented 4 years ago

Thanks for fixing! I'm using the Home Assistant addon, can I go to the edge version and return to the stable without losing data or needing to repair the network?

Koenkk commented 4 years ago

I don't know, @ciotlosm do you know if this is possible? (I expect yes)

McGiverGim commented 4 years ago

If not I think we can wait until published as stable. It is not an urgent issue, only happens when repairing.

ciotlosm commented 4 years ago

@Koenkk @McGiverGim you can switch between edge and stable at will with no data loss, as long as you SAVE your add-on config and restore it after install of the other one.

You can also have both installed and just put the same config in both, just make sure that just one is set to start on boot.

github-actions[bot] commented 3 years 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