rogierhofboer / com.ikea.tradfri.gateway

Athom Homey App for the IKEA Tradfri Gateway
MIT License
18 stars 21 forks source link

Ikea Tradfri Gateway isn't working on Homey Pro 2023 #75

Open fvhuizen opened 1 year ago

fvhuizen commented 1 year ago

I like to inform you that the app isn't working on Homey Pro 2023. The app is installed, all device are visible, but the are not reachable. When i go to the app i see that the warning mark goes on and off on the devices every 5 seconds and if i try to control a device i got the error that the device isn't available. And sometimes the warning app is unavailable.

When i try to send a diagnostic report directly from your app i got the error: Rate limited

Here is my diagnostic report 2D34A77E

rogierhofboer commented 1 year ago

Are you using blinds? I did see errors reports coming in for blinds. I don't have any Ikea blinds, so I can't test this myself (and also no Homey Pro 2023)

The original code was contributed. @lvhv91 Leo, do you have time to look at this?

fvhuizen commented 1 year ago

No i use only lights

Now i managed to create a diagnostic report out of the app b35a6134-d8f0-42ef-947b-0e6168ceab69 I hope you guys @lvhv91 can figure out what went wrong, because for now this is one of the things HP2023 isn't usable for now.

fvhuizen commented 1 year ago

To check everything i removed the Tradfri Gateway app and installed it again. Then i restarted HP2023 and then i could add the devices. But after i got a similar issue that after a reboot the devices are visible but every 5 seconds all devices are shown with the warning triangle and not controllable. So it's hard to tell if it's something with the app or with the system.

I will keep testing and leave it now for an hour to see if the mobile app got stable again (it happend often after adding apps or devices)

After an hour the warning sign is gone and when i choose a device i got the error "light not found" again.

fvhuizen commented 1 year ago

In my journey to figure out what is going on i made a step today. While my HP2023 was connected with just the ethernet adapter and no connection with the Ikea Gateway Devices, i added wifi to HP2023 today. And that's what is solved. Now i can control the devices and stays the app stable. It's a weird thing that HP2023 needs to be connected for some app's with WIFI. Same issue was with Google Chromecast app. I couldn't add device because they were not shown. After adding wifi i could.

rogierhofboer commented 1 year ago

Maybe this is an issue with the release candidate firmware for the Homey Pro 2024. If other apps are also affected, please also report this to Athom.

fvhuizen commented 1 year ago

i did report this

fvhuizen commented 1 year ago

After one day working with the HP2023 when everything seems stable. Problems with Ikea Tradfri Gateway are back. Devices aren't reachable and got again the error "Light not found"

fvhuizen commented 1 year ago

Because there is no response about a solution. I transferred all device directly to Homey. Your app isn't working properly and after a reboot it takes hours to become some sort of stable. I don't blame anyone because i don't know what causes the issue.

rogierhofboer commented 1 year ago

I've reversed all changed except moving to SDKv3 in version v0.1.9 It seems the debounce I introduced fails based on timing. The dounce function was used before it was available. Probably because the new Homey is faster. I will look into this. But for now I think getting a working app as soon as possible is more important.