-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LEGRAND 064879 #21036
Comments
I have the same indentical problem with Z2M, instead with the same hardware ZHA works correctly. |
Hi, i have got the same issue. After the update, i can't pair anymore with my legrand outlet. |
Seems to be a common problem #20664 (comment) |
It looks like the same issue and this process (#20664 (comment)) works for me :) |
Just ran into the same issue. Z2M is crashing hard, thus after restart the device is missing again and the process starts anew, as far as I can tell.
In zigbee.ts, it seems when the await was added in 56f5762 it should've been added one line below, after device was checked for validity. EDIT: Just recreated the broken state and tried moving the await down. It avoids the crash, but doesn't fix the issue :-( So the workaround from the linked issue is still needed. EDIT2: A few lines down in |
I'm starting to suspect I broke my outlet while experimenting. I tried pairing again and again, deleting the DB and whatnot, and now it looks like this:
The device doesn't even interview successfully anymore, it just joins and leaves in an infinite loop; Note that I'm not using the same device as in this issue but a TS011F_plug_1, but initially it was the same problem, which is why I ended up here... |
This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 30 days |
What happened?
The LEGRAND 064879, connected socket pairs to the network, and 10 seconds later disconnects automatically, this problem goes around in circles.
It works perfectly with the 1.35.1 version
I update the LEGRAND firmware to the 22 version, but doesn't work
What did you expect to happen?
No response
How to reproduce it (minimal and precise)
No response
Zigbee2MQTT version
1.35.1 commit: 3c96204
Adapter firmware version
6.10.3.0 build 297
Adapter
SONOFF EFR32MG21
Setup
Linux Debian with mosquitto
Debug log
Zigbee2MQTT:info 2024-01-27 08:12:33: Zigbee: allowing new devices to join.
Zigbee2MQTT:info 2024-01-27 08:12:33: MQTT publish: topic 'zigbee2mqtt/bridge/response/permit_join', payload '{"data":{"time":254,"value":true},"status":"ok","transaction":"8vg3y-1"}'
Zigbee2MQTT:warn 2024-01-27 08:12:50: Device '0x0004740000278dfb' left the network
Zigbee2MQTT:info 2024-01-27 08:12:51: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_leave"}'
Zigbee2MQTT:warn 2024-01-27 08:12:51: Device '0x0004740000278dfb' left the network
Zigbee2MQTT:info 2024-01-27 08:12:51: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_leave"}'
Zigbee2MQTT:info 2024-01-27 08:12:52: Device '0x0004740000278dfb' joined
Zigbee2MQTT:info 2024-01-27 08:12:52: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_joined"}'
Zigbee2MQTT:info 2024-01-27 08:12:52: Starting interview of '0x0004740000278dfb'
Zigbee2MQTT:info 2024-01-27 08:12:52: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:info 2024-01-27 08:12:54: Successfully interviewed '0x0004740000278dfb', device has successfully been paired
Zigbee2MQTT:info 2024-01-27 08:12:54: Device '0x0004740000278dfb' is supported, identified as: Legrand Cable outlet with pilot wire and consumption measurement (064882)
Zigbee2MQTT:info 2024-01-27 08:12:54: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"definition":{"description":"Cable outlet with pilot wire and consumption measurement","exposes":[{"access":7,"label":"Device mode","name":"device_mode","property":"device_mode","type":"binary","value_off":"pilot_off","value_on":"pilot_on"},{"access":7,"description":"Controls the target temperature of the heater, with respect to the temperature set on that heater. Possible values: comfort (target temperature = heater set temperature) eco (target temperature = heater set temperature - 3.5°C), frost_protection (target temperature = 7 to 8°C), off (heater stops heating), and the less commonly used comfort_-1 (target temperature = heater set temperature - 1°C), comfort_-2 (target temperature = heater set temperature - 2°C),.","label":"Pilot wire mode","name":"pilot_wire_mode","property":"pilot_wire_mode","type":"enum","values":["comfort","eco","frost_protection","off","comfort_-1","comfort_-2"]},{"features":[{"access":7,"description":"On/off state of the switch","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"},{"access":7,"description":"Works only when the pilot wire is deactivated","label":"State","name":"state","property":"state","type":"binary","value_off":"OFF","value_on":"ON","value_toggle":"TOGGLE"}],"type":"switch"},{"access":5,"description":"Instantaneous measured power","label":"Power","name":"power","property":"power","type":"numeric","unit":"W"},{"access":1,"description":"Instantaneous measured apparent power","label":"Power apparent","name":"power_apparent","property":"power_apparent","type":"numeric","unit":"VA"},{"access":7,"description":"Controls the behavior when the device is powered on. Works only when the pilot wire is deactivated","label":"Power-on behavior","name":"power_on_behavior","property":"power_on_behavior","type":"enum","values":["off","previous","on"]},{"access":1,"description":"Link quality (signal strength)","label":"Linkquality","name":"linkquality","property":"linkquality","type":"numeric","unit":"lqi","value_max":255,"value_min":0}],"model":"064882","options":[{"access":2,"description":"Calibrates the power value (percentual offset), takes into effect on next report of device.","label":"Power calibration","name":"power_calibration","property":"power_calibration","type":"numeric"},{"access":2,"description":"Number of digits after decimal point for power, takes into effect on next report of device. This option can only decrease the precision, not increase it.","label":"Power precision","name":"power_precision","property":"power_precision","type":"numeric","value_max":3,"value_min":0},{"access":2,"description":"State actions will also be published as 'action' when true (default false).","label":"State action","name":"state_action","property":"state_action","type":"binary","value_off":false,"value_on":true}],"supports_ota":true,"vendor":"Legrand"},"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb","status":"successful","supported":true},"type":"device_interview"}'
Zigbee2MQTT:info 2024-01-27 08:12:54: Configuring '0x0004740000278dfb'
Zigbee2MQTT:info 2024-01-27 08:12:55: Successfully configured '0x0004740000278dfb'
Zigbee2MQTT:warn 2024-01-27 08:13:04: Device '0x0004740000278dfb' left the network
Zigbee2MQTT:info 2024-01-27 08:13:04: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_leave"}'
Zigbee2MQTT:warn 2024-01-27 08:13:04: Device '0x0004740000278dfb' left the network
Zigbee2MQTT:info 2024-01-27 08:13:04: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_leave"}'
Zigbee2MQTT:info 2024-01-27 08:13:07: Device '0x0004740000278dfb' joined
Zigbee2MQTT:info 2024-01-27 08:13:07: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_joined"}'
Zigbee2MQTT:info 2024-01-27 08:13:07: Starting interview of '0x0004740000278dfb'
Zigbee2MQTT:info 2024-01-27 08:13:07: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb","status":"started"},"type":"device_interview"}'
Zigbee2MQTT:warn 2024-01-27 08:13:24: Device '0x0004740000278dfb' left the network
Zigbee2MQTT:info 2024-01-27 08:13:24: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_leave"}'
Zigbee2MQTT:warn 2024-01-27 08:13:24: Device '0x0004740000278dfb' left the network
Zigbee2MQTT:info 2024-01-27 08:13:25: MQTT publish: topic 'zigbee2mqtt/bridge/event', payload '{"data":{"friendly_name":"0x0004740000278dfb","ieee_address":"0x0004740000278dfb"},"type":"device_leave"}'
/opt/zigbee2mqtt/lib/zigbee.ts:89
await device.resolveDefinition();
^
TypeError: Cannot read properties of undefined (reading 'resolveDefinition')
at Controller. (/opt/zigbee2mqtt/lib/zigbee.ts:89:26)
at Controller.emit (node:events:518:28)
at Controller.selfAndDeviceEmit (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:527:14)
at Controller.onDeviceJoined (/opt/zigbee2mqtt/node_modules/zigbee-herdsman/src/controller/controller.ts:586:22)
The text was updated successfully, but these errors were encountered: