Closed HA-TB303 closed 4 years ago
I've just erased the devices and database.db and started from scratch.
Pairing a Hue remote works fine, when pairing the IKEA bulbs (in this case 2 bulbs on 1 light switch):
}}","state_topic":"zigbee2mqtt/0x90fd9ffffe14a247","json_attributes_topic":"zigbee2mqtt/0x90fd9ffffe14a247","name":"0x90fd9ffffe14a247_linkquality","unique_id":"0x90fd9ffffe14a247_linkquality_zigbee2mqtt","device":{"identifiers":["zigbee2mqtt_0x90fd9ffffe14a247"],"name":"0x90fd9ffffe14a247","sw_version":"Zigbee2mqtt 1.9.0","model":"TRADFRI LED bulb GU10 400 lumen, dimmable (LED1650R5)","manufacturer":"IKEA"},"availability_topic":"zigbee2mqtt/bridge/state"}'
zigbee2mqtt:info 2020-01-19 12:23:51: Successfully interviewed '0x90fd9ffffe14a247', device has successfully been paired
zigbee2mqtt:info 2020-01-19 12:23:51: Device '0x90fd9ffffe14a247' is supported, identified as: IKEA TRADFRI LED bulb GU10 400 lumen, dimmable (LED1650R5)
zigbee2mqtt:info 2020-01-19 12:23:51: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_successful","meta":{"friendly_name":"0x90fd9ffffe14a247","model":"LED1650R5","vendor":"IKEA","description":"TRADFRI LED bulb GU10 400 lumen, dimmable","supported":true}}'
zigbee2mqtt:info 2020-01-19 12:24:00: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":"0x00124b001ca5ea81","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack3x0","dateCode":"20191106","lastSeen":1579433040033},{"ieeeAddr":"0x0017880103c9d20f","type":"EndDevice","networkAddress":10868,"model":"324131092621","friendly_name":"0x0017880103c9d20f","manufacturerID":4107,"manufacturerName":"Philips","powerSource":"Battery","modelID":"RWL021","hardwareVersion":1,"softwareBuildID":"6.1.1.28573","dateCode":"20190410","lastSeen":1579432896681},{"ieeeAddr":"0x90fd9ffffe793f91","networkAddress":30844,"friendly_name":"0x90fd9ffffe793f91","lastSeen":1579433021271},{"ieeeAddr":"0x90fd9ffffe14a247","type":"Router","networkAddress":37058,"model":"LED1650R5","friendly_name":"0x90fd9ffffe14a247","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelID":"TRADFRI bulb GU10 W 400lm","hardwareVersion":1,"softwareBuildID":"1.2.214","dateCode":"20170302","lastSeen":1579433031946}]'
zigbee2mqtt:info 2020-01-19 12:24:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b001ca5ea81","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack3x0","dateCode":"20191106","lastSeen":1579433040036},{"ieeeAddr":"0x0017880103c9d20f","type":"EndDevice","networkAddress":10868,"model":"324131092621","friendly_name":"0x0017880103c9d20f","manufacturerID":4107,"manufacturerName":"Philips","powerSource":"Battery","modelID":"RWL021","hardwareVersion":1,"softwareBuildID":"6.1.1.28573","dateCode":"20190410","lastSeen":1579432896681},{"ieeeAddr":"0x90fd9ffffe793f91","networkAddress":30844,"friendly_name":"0x90fd9ffffe793f91","lastSeen":1579433021271},{"ieeeAddr":"0x90fd9ffffe14a247","type":"Router","networkAddress":37058,"model":"LED1650R5","friendly_name":"0x90fd9ffffe14a247","manufacturerID":4476,"manufacturerName":"IKEA of Sweden","powerSource":"Mains (single phase)","modelID":"TRADFRI bulb GU10 W 400lm","hardwareVersion":1,"softwareBuildID":"1.2.214","dateCode":"20170302","lastSeen":1579433031946}]}'
zigbee2mqtt:error 2020-01-19 12:25:01: Failed to interview '0x90fd9ffffe793f91', device has not successfully been paired
zigbee2mqtt:info 2020-01-19 12:25:01: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_failed","meta":{"friendly_name":"0x90fd9ffffe793f91"}}'
1 pairs succesfully, the other fails. This is more luck, since mostly both fail.
When trying to pair it seperately:
zigbee2mqtt:info 2020-01-19 12:43:08: Starting interview of '0x90fd9ffffe793f91'
zigbee2mqtt:info 2020-01-19 12:43:08: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x90fd9ffffe793f91"}}'
zigbee2mqtt:debug 2020-01-19 12:43:14: Device '0x90fd9ffffe793f91' announced itself
zigbee2mqtt:error 2020-01-19 12:44:28: Failed to interview '0x90fd9ffffe793f91', device has not successfully been paired
zigbee2mqtt:info 2020-01-19 12:44:28: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_failed","meta":{"friendly_name":"0x90fd9ffffe793f91"}}'
The second bulb also fails if it is the only Ikea bulb (switched on) in the network
Can you try resetting the bulb through touchlink? (https://www.zigbee2mqtt.io/information/touchlink.html) Should star pairing immediately after that.
FWIW I experienced a similar thing. Hard to pin it down to one thing. I ended up reflashing my CC1352P-2 and things got easier to pair, except for the GU10's. Moving them to closer sockets maybe helped? There is one bulb that still won't pair, even when only a few meters LOS from the coordinator.
Tried again with the lastest EDGE and DEV firmware, but still no go. I LOVE zigbee2mqtt but this (re)paring process is extremely frustrating and takes me at least half A day each time I try due to the large amount of devices and device locations.
zigbee2mqtt:info 2020-03-11 22:59:40: Logging to console and directory: '/share/zigbee2mqtt/log/2020-03-11.22-59-40' filename: log.txt
zigbee2mqtt:info 2020-03-11 22:59:40: Starting zigbee2mqtt version 1.11.0-dev (commit #ce48bee4cd0eac6cb36ed36b20a39024e1ecf0de)
zigbee2mqtt:info 2020-03-11 22:59:40: Starting zigbee-herdsman...
zigbee2mqtt:info 2020-03-11 22:59:41: zigbee-herdsman started
zigbee2mqtt:info 2020-03-11 22:59:41: Coordinator firmware version: '{"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20200306}}'
zigbee2mqtt:info 2020-03-11 22:59:41: Currently 0 devices are joined:
zigbee2mqtt:info 2020-03-11 22:59:41: Zigbee: disabling joining new devices.
zigbee2mqtt:info 2020-03-11 22:59:41: Connecting to MQTT server at mqtt://192.168.2.101:1883
zigbee2mqtt:info 2020-03-11 22:59:41: Connected to MQTT server
zigbee2mqtt:info 2020-03-11 22:59:41: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
zigbee2mqtt:info 2020-03-11 22:59:41: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.11.0-dev","commit":"ce48bee4cd0eac6cb36ed36b20a39024e1ecf0de","coordinator":{"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20200306}},"log_level":"info","permit_join":false}'
zigbee2mqtt:info 2020-03-11 22:59:46: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":"0x00124b001ca5ea81","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack3x0","dateCode":"20200306","lastSeen":1583963986904}]'
zigbee2mqtt:info 2020-03-11 22:59:46: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b001ca5ea81","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack3x0","dateCode":"20200306","lastSeen":1583963986913}]}'
zigbee2mqtt:info 2020-03-11 23:00:00: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"ieeeAddr":"0x00124b001ca5ea81","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack3x0","dateCode":"20200306","lastSeen":1583964000011}]'
zigbee2mqtt:info 2020-03-11 23:00:00: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"devices","message":[{"ieeeAddr":"0x00124b001ca5ea81","type":"Coordinator","networkAddress":0,"friendly_name":"Coordinator","softwareBuildID":"zStack3x0","dateCode":"20200306","lastSeen":1583964000018}]}'
zigbee2mqtt:info 2020-03-11 23:00:01: Zigbee: allowing new devices to join.
zigbee2mqtt:info 2020-03-11 23:00:01: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.11.0-dev","commit":"ce48bee4cd0eac6cb36ed36b20a39024e1ecf0de","coordinator":{"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20200306}},"log_level":"info","permit_join":true}'
zigbee2mqtt:info 2020-03-11 23:00:11: Starting network scan (includeRoutes 'false')
zigbee2mqtt:info 2020-03-11 23:00:11: Network scan finished
zigbee2mqtt:info 2020-03-11 23:00:11: MQTT publish: topic 'zigbee2mqtt/bridge/networkmap/raw', payload '{"nodes":[{"ieeeAddr":"0x00124b001ca5ea81","friendlyName":"Coordinator","type":"Coordinator","networkAddress":0,"failed":[],"lastSeen":null}],"links":[]}'
zigbee2mqtt:info 2020-03-11 23:00:30: Device '0x90fd9ffffe793f91' joined
zigbee2mqtt:info 2020-03-11 23:00:30: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x90fd9ffffe793f91"}}'
zigbee2mqtt:info 2020-03-11 23:00:30: Starting interview of '0x90fd9ffffe793f91'
zigbee2mqtt:info 2020-03-11 23:00:30: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x90fd9ffffe793f91"}}'
zigbee2mqtt:info 2020-03-11 23:00:30: Device '0x90fd9ffffe14a247' joined
zigbee2mqtt:info 2020-03-11 23:00:30: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"device_connected","message":{"friendly_name":"0x90fd9ffffe14a247"}}'
zigbee2mqtt:info 2020-03-11 23:00:30: Starting interview of '0x90fd9ffffe14a247'
zigbee2mqtt:info 2020-03-11 23:00:30: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_started","meta":{"friendly_name":"0x90fd9ffffe14a247"}}'
zigbee2mqtt:error 2020-03-11 23:01:30: Failed to interview '0x90fd9ffffe793f91', device has not successfully been paired
zigbee2mqtt:info 2020-03-11 23:01:30: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_failed","meta":{"friendly_name":"0x90fd9ffffe793f91"}}'
zigbee2mqtt:error 2020-03-11 23:01:30: Failed to interview '0x90fd9ffffe14a247', device has not successfully been paired
zigbee2mqtt:info 2020-03-11 23:01:30: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"type":"pairing","message":"interview_failed","meta":{"friendly_name":"0x90fd9ffffe14a247"}}'
zigbee2mqtt:info 2020-03-11 23:01:38: Switching log level to 'debug'
zigbee2mqtt:info 2020-03-11 23:01:38: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"version":"1.11.0-dev","commit":"ce48bee4cd0eac6cb36ed36b20a39024e1ecf0de","coordinator":{"type":"zStack3x0","meta":{"transportrev":2,"product":1,"majorrel":2,"minorrel":7,"maintrel":1,"revision":20200306}},"log_level":"debug","permit_join
Still an issue for me too, particularly with the CC1352P-2 instabilities I have to repair often.
Can you try resetting the bulb through touchlink? (https://www.zigbee2mqtt.io/information/touchlink.html) Should star pairing immediately after that.
I have tried this, the lights blink, but no pairing.
I wonder if it's not time to change the website information until these issues are resolved to prevent any one else from buying this rather expensive module....
Indeed, bit sad I spent £50 trying to get better zigbee performance :(
@timdonovanuk I read that you also have some instability with the CC1352P-2 and thus you need to require to repair. After fixing this issue I would like to check what's actually happening.
@Koenkk Could you please help me getting the zigbee-herdsman debug logs? Currently they go to stdout, not the /logs/ dir. I even did a "docker container logs 5e4a2bcea77b > /tmp/docker.log" but this doesn't capture stdout for some reason, only the same stuff as in /logs.
I've now force_removed all my lights as they clutter the debug logs (as 90% of them have stopped working anyway), as soon as I can actually get at the debug logs (other than watching them flash by in Portainer) I can share.
You can get them with docker logs zigbee2mqtt > my_log 2>&1
I assume you already tried: https://www.zigbee2mqtt.io/information/FAQ.html#why-does-my-device-not-or-fail-to-pair
- When migrating from a previous network, especially make sure that the old network is completely powered off (including the bulbs that are not paired to the new network). These could still form a network where your devices would join to. Keep in mind that when changing pan_id, channel or network key you also have to do this!
- try touchlink (but I guess you already tried) https://www.zigbee2mqtt.io/information/touchlink.html
- make sure you are on the latest zigbee2mqtt dev branch (normally not needed but it contains an important fix regarding use of wrong network addresses)
- try pairing them to your e1524 remote and after that to your cc1352p-2
- if none if this helps, the only way to investigate deeper is to sniff the network when pairing https://www.zigbee2mqtt.io/how_tos/how_to_sniff_zigbee_traffic.html
I have tried (almost) everything you listed.
Sniffing is a bridge too far for me. :(
data/database.db
and data/coordinator_backup.json
channel
in configuration.yaml
Ok, thanks, I'll try tonight!
Thanks, this worked, or at least a lot better then before.
Most of the Ikea and Philips bulbs required multiple resets before they got paired.
The only things I can not get paired are the the Xiaomi temperature/humidity sensors https://www.zigbee2mqtt.io/devices/WSDCGQ11LM.html
I'm stil having some issues. Yesterday evening the entire network was gone without any obvious reason. I had to reboot the linux machine and after that it sort of worked again.
I also still have 2 devices in my network that have long been removed (months ago) and are NOT online.
They keep reappearing. It's the one on top and the one on the right hand side which appear to be not connected.
And I still have the issue that the xiaomi temperature and humidity sensors will not pair. The do/did pair on the CC2530.
database.db
?I don't think it's in the database because I removed that completely before starting over new. I first removed the hassio addon, then removed the fysical folder in /share and then reinstalled.
I'll try replacing the battery, but both devices did in fact pair to the CC2530 just a few days before.
After replacing the battery it still didn’t work, so I brough them closer to the coordinator and kept trying. After several attempts, they both work now.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
I just (re)installed the CC1352p-2 again, changed the pan-ID. Seems to work, but I can't pair IKEA Bulbs and pairing in general is problematic.
My config:
Debug Info
Version of Zigbee2Mqtt: 1.9.0 Coordinator version: 20191106 (launchxl CC1352P-2, REV E)
log: