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

Lost device after updating to 2.27 #7776

Closed
2 tasks done
molnarti opened this issue May 16, 2024 · 9 comments · Fixed by #7793
Closed
2 tasks done

Lost device after updating to 2.27 #7776

molnarti opened this issue May 16, 2024 · 9 comments · Fixed by #7793

Comments

@molnarti
Copy link

Does the issue really belong here?

  • I definitively want to report a bug within deCONZ or its REST-API

Is there already an existing issue for this?

  • I have searched the existing issues and there is none for the bug at hand

Describe the bug

My Ikea Trafdri On/Off switch has disappeared from Phoscon since updating to 2.27 (from 2.26.2). The device is not visible from Phoscon or Deconz and also cannot be re-paired. Home Assistant does not detect key presses for the button.

The device reappeares when downgrading back to 2.26.2

Steps to reproduce the behavior

  1. Update Deconz to 2.27
  2. Check list of switches in Phoscon
  3. Ikea Tradfri On/Off switch is missing
  4. Try to re-pair device by following the instructions provided by Deconz
  5. Device is not detected.

Expected behavior

Device should be visible after update.

Screenshots

No response

Environment

  • Host system: Debian Linux
  • Running method: deconz-docker container
  • Firmware version: 26720700
  • deCONZ version: 2.27
  • Device: ConBee II
  • Do you use an USB extension cable: no
  • Is there any other USB or serial devices connected to the host system? If so: UPS

deCONZ Logs

No response

Additional context

No response

@Zehir
Copy link
Collaborator

Zehir commented May 17, 2024

I just tried to add one on my network and it's seems to work fine.
Did you got a red light on the switch when you press the button 4 times ?
Any related logs in deconz ?
Do you see it in the deconz GUI ?

@molnarti
Copy link
Author

yes, there was a red light blinking, everything looked like the pairing should succeed. I was just thinking about replacing the battery, but had no spares at home, so just tried reverting to the previous version and suddenly it worked. in general it seems to me that I have issues pairing new devices to my Conbee lately. maybe its related to the fact that my conbee stick is in the basement and there is only one device connected to it directly, the rest goes to the mesh network.

@MarioMarti77
Copy link

I have the same behavior than molnarti with Ikea TRADFRI on/off switches, downgrade to 2.26..2 show them again

@Zehir
Copy link
Collaborator

Zehir commented May 17, 2024

What frimware version of the device do you have ?
You can download the latest at http://fw.ota.homesmart.ikea.net/global/GW1.0/01.21.031/bin/10005778-tradfri_onoff_controller-24.4.6-prod.ota.ota.signed
And then you can install them using the OTA update plugin. Takes about 2-3 hours per switch (can run multiple upgrades at once)

@manup
Copy link
Member

manup commented May 21, 2024

The On/Off switch has two DDFs which match to different firmware versions. This was introduced in v2.26.1-beta via PR #7643

After the update it may take a while until the firmware version is received from the switch (the device should send this periodically to deCONZ), after that the correct DDF should be selected.

manup added a commit to dresden-elektronik/deconz-lib that referenced this issue May 26, 2024
The LINUX CMake define was added in CMake 3.25, since the release is compiled with an older version the PL_LINUX wasn't defined.

This caused DDF paths to only be resolved to the local DDF directory.

Issues:
dresden-elektronik/deconz-rest-plugin#7783
dresden-elektronik/deconz-rest-plugin#7785
dresden-elektronik/deconz-rest-plugin#7776
dresden-elektronik/deconz-rest-plugin#7775
@manup manup added this to the v2.27.1-beta milestone May 26, 2024
@MaxVRAM
Copy link

MaxVRAM commented May 27, 2024

I've had the same issue. Updating to 2.27 caused the IKEA switches completely disappear from the Deconz interface and would not pair again.

I didn't catch a "breaking changes" in the release notes. Is this expected behaviour?

@Zehir
Copy link
Collaborator

Zehir commented May 27, 2024

I've had the same issue. Updating to 2.27 caused the IKEA switches completely disappear from the Deconz interface and would not pair again.

I didn't catch a "breaking changes" in the release notes. Is this expected behaviour?

Are you on linux ?
It's not an expected behavior and will be fixed soonish

@molnarti
Copy link
Author

What frimware version of the device do you have ? You can download the latest at http://fw.ota.homesmart.ikea.net/global/GW1.0/01.21.031/bin/10005778-tradfri_onoff_controller-24.4.6-prod.ota.ota.signed And then you can install them using the OTA update plugin. Takes about 2-3 hours per switch (can run multiple upgrades at once)

updating to the linked fw solved the issue for me. but i have another switch still in the box, I am curious how it will pair still with the old fw

@MaxVRAM
Copy link

MaxVRAM commented May 27, 2024

I've had the same issue. Updating to 2.27 caused the IKEA switches completely disappear from the Deconz interface and would not pair again.

I didn't catch a "breaking changes" in the release notes. Is this expected behaviour?

Are you on linux ?
It's not an expected behavior and will be fixed soonish

Thanks for the clarification. I don't know what the OTA plugin is or if it's a known part of the update process, but figured I'd just roll back until I had time to investigate next week.

Yes, I'm running the docker image on Fedora 39 x86-64.

@manup manup linked a pull request May 28, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants