rogierhofboer / com.ikea.tradfri.gateway

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

App stops reacting to ‘off’ commands #1

Closed rogierhofboer closed 3 years ago

rogierhofboer commented 6 years ago

After running for a few days, the app stops responding to turn light off or to light on commands. Dimming still works, also the lights still respond correctly when using the Tradfri Android app. Needs to be investigated. I cannot produce this by operating the lights / running flows. Maybe it is due to a loss a connection with the Tradfri gateway which is not restored correctly.

(Also maybe related is: https://forum.iobroker.net/viewtopic.php?t=12379)

mmwolbrink commented 6 years ago

My lights statuses don't update in the app when they are controlled from another source than homey. I guess that that is because of this bug ? Is the app still in active development by the way ?

rogierhofboer commented 6 years ago

@mmwolbrink The status of the lights should be updated in the App, also if they controlled by the IKEA App or a physicial remote. I have to check this at home, but this used to work on my setup. If it worked first, but then stopped working after a few days of operation, it could be because of this bug.

At the moment I am not working on the app. I still need to investigate this issue (some day) and will try to get the App to beta status after that. Pull requests are welcome and I will review them as soon as possible.

mmwolbrink commented 6 years ago

@rogierhofboer As far as i now it has never worked for me.

rogierhofboer commented 6 years ago

Tested last night, works at my home 😳 Interesting... 🤔I use the old non-beta Homey smartphone app, I remember the beta App doesn’t do status updates at all.

nnameihtd commented 5 years ago

@rogierhofboer How Can I test this app on my Homey? On the Homey Commnity Forum I read that you can assign people to the Alpha-list. Is that still possible? Thanks in advance for your reply.

rogierhofboer commented 5 years ago

@nnameihtd you can send me an email (from or with email you use to login on your homey) and I will add you as alpha tester.

It seems the problems I experience (no on/off)are only present on older versions of the homey firmware and the losing of the login keys others mentioned are solved in the last firmware update. So my plan is to upgrade my homey, do a quick test and try to get the app accepted for beta by athom.

nnameihtd commented 5 years ago

@rogierhofboer Thanks for your reply! Maybe a stupid question, how can I send you an email? Or post is here in this forum?

rogierhofboer commented 5 years ago

An email is ok use rogier at hofboer dot nl

rogierhofboer commented 5 years ago

Unfortunately this bug is still present when using Homey firmware 1.5.12

My best guess is the Homey app and the Tradfri gateway get out-of-sync, because of a temporary Wifi network failure. So the homey misses an update. It cannot be reproduced by temporary disconnecting the Tradfri gateway, because after reconnecting everything is synced. It also explains why it can take multiple days for the problem to surface and (most?) other people do not seem to have it at all.

rogierhofboer commented 5 years ago

using a different wifi access point solves this problem for me. Still I think it will get out of sync if the connection is bad. Detecting this can be difficult. Reconnecting always restores the situation in working order.

This is most probably behaviour of the underlying node-tradfri-client library.

Daverp123 commented 5 years ago

I left home today, with working homey app and lights. From the neighbours the Homey app would not responds to the light requests I make. When I returned the Homey older app still did not work. Tradfri app works fine. Also the Homey app was able to move the Somfy blinds from same range next door.

What can I do next about this Homey and Ikea lighting control issue?

Resetting hardware and reinstalling app and skill works as fix this time... but I'm not willing to do this often or use the Flows which in turn fail, which in turn makes Homey useless for many.

rogierhofboer commented 5 years ago

If this is the same problem..

Make sure there are no wifi interruptions (controlling things will still work, but it gets out of sync after short wifi hiccups)

To fix do one of these:

rogierhofboer commented 3 years ago

I have not experienced this problem anymore. Might be due to better Wifi. Closing for now.