Skip to content
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

Pairing Osram Smart+ lamp: Interview fails #3276

Closed
sc-ampersand-p opened this issue Apr 3, 2020 · 11 comments
Closed

Pairing Osram Smart+ lamp: Interview fails #3276

sc-ampersand-p opened this issue Apr 3, 2020 · 11 comments

Comments

@sc-ampersand-p
Copy link

Bug Report

What happened

I am trying to pair an Osram Smart+ lamp, which is Zigbee enabled, with Homeassistant via zigbee2mqtt. I put both the lamp and Homeassistant into pairing mode, and the two devices do communicate briefly, but then the interview fails.

What did you expect to happen

The lamp is paired to Homeassistant.

How to reproduce it (minimal and precise)

  1. Put Homeassistant/zigbee2mqtt into pairing mode
  2. Put the lamp into pairing mode

Debug Info

zigbee2mqtt version: 1.12.0
CC253X firmware version: 20190608

Herdsman logs can be found here: https://pastebin.com/N5zeBnt9

@Koenkk
Copy link
Owner

Koenkk commented Apr 3, 2020

@sc-ampersand-p
Copy link
Author

Sure did. Point 1 didn't help (tried a total of 6 times before activating herdsman logging) and point 3 doesn't apply. That left point 2, which brought me here ☺

@Koenkk
Copy link
Owner

Koenkk commented Apr 3, 2020

It's not listed there, but did you also try to replug the stick and pair again?

@sc-ampersand-p
Copy link
Author

Not yet, but will try that and get back to you. Should I expect any changes at all after removing and re-inserting the CC2531 stick (apart from the whole thing working, of course)?

@sc-ampersand-p
Copy link
Author

All right. That didn't work either. See the new log here: https://pastebin.com/6qt6yjrt

To me, the "node descriptor request failed" is the most likely culprit. But this is my first foray into all of this, so I don't know what it means.

@Koenkk
Copy link
Owner

Koenkk commented Apr 4, 2020

Can you try powering off all routers and pairing it close to the coordinator?

@sc-ampersand-p
Copy link
Author

Tried it, got a new log: https://pastebin.com/n1Jqmu9s - didn't work, unfortunately.

What I find interesting here is that the herdsman logger is two hours off from the Raspi - it changes after switching mqtt into pairing mode.

@Koenkk
Copy link
Owner

Koenkk commented Apr 4, 2020

Can you try replacing the contents of /opt/zigbee2mqtt/node_modules/zigbee-herdsman/dist/adapter/z-stack/adpater/zStackAdapter.js with https://gist.github.com/Koenkk/f74e42ca8f4caf698abd5924ceb3316d and provide the log again?

@sc-ampersand-p
Copy link
Author

Turns out, the answer might be no (unless you can give me some pointers). I can't read or write to that file because Home Assistant doesn't have access through the File Editor addon. I also can't see those files if I pop the microSD card into a card reader.

I didn't point this out initially because I wasn't aware it might be important, but I use zigbee2mqtt "regular" rather than the dev channel. Any chance you could replace the content in the dev channel and I then try to use that? Might be the easiest way forward, but of course I don't want to screw over everyone on the dev channel if this goes wrong.

lukastillmann added a commit to lukastillmann/hassio-zigbee2mqtt that referenced this issue Apr 5, 2020
@sc-ampersand-p
Copy link
Author

All right, with some help from my more experienced friend (@lukastillmann created a fork and replaced the file), it worked immediately.

Logged the experience here: https://pastebin.com/0hxeGMpX

Thanks for being on top of things!

Koenkk added a commit to Koenkk/zigbee-herdsman that referenced this issue Apr 5, 2020
@Koenkk
Copy link
Owner

Koenkk commented Apr 5, 2020

Thanks, fixed is implemented in the latest dev branch!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants