rkokkelk / com.jreenen.homeyharmonyhub

Harmony hub support for Homey
GNU General Public License v2.0
8 stars 10 forks source link

Connection time-out? #19

Closed Fire69 closed 5 years ago

Fire69 commented 7 years ago

Hi,

It looks like the app seems to loose connection after some time. When I haven't used it some time, I have to (for example) say to Homey twice to turn off the tv. My flow runs the first time (Homey responds) but nothing happens. The second time, the tv turns off.

MbenzNo commented 6 years ago

Have the same problem with v1.2.1 Beta. Have a lot of flows that is triggered by activity started from Harmony. After less than a day it stops working until I restart the Harmony app. Anyone knows how to find the App I.D. for the Harmony app ? I could use this to restart Harmony app every couple of hrs trough Candy app flow...

jreenen commented 6 years ago

@Fire69 @MbenzNo sorry for my extremely late response. This seems a bug and I will try to reproduce and address it.

Fire69 commented 6 years ago

No worries, take your time 👍 🙂

denniedegroot commented 5 years ago

@Fire69 @MbenzNo is this still an issue? I cannot seem to reproduce it.

MbenzNo commented 5 years ago

Yes, I i think the problem still exist. I have changed the trigger from activity started to device turned on, and it seems to have improved the situation somehow. But after some time the flow stops working (Does not trigger)

Fire69 commented 5 years ago

Same here. I don't use it that often, but when I do, it doesn't always work. Haven't really done any testing. If you want me to test something, let me know :)

Fire69 commented 5 years ago

Just did a test now by doing a test-run of my flow. Didn't work. I restarted the app and then it worked. The little circle does keep turning though image

MbenzNo commented 5 years ago

I have noticed that the normally green led on the hub stays red for some short time. I guess the hub for some reason is disconnected from internet. I guess that during this period (if disconnected) no harmony activity would be triggered... I have not confirmed that my triggers does not work when the led is red. Will check when possible.

Fire69 commented 5 years ago

Hm, I noticed the occasional red led on my hub also... At that moment the hub is unreachable. Is it only red when the wifi disconnects or also when there is another problem? Is your app polling the hub? If so, would it be possible that too many requests are 'flooding' the hub?

On Wed, Dec 12, 2018, 22:27 MbenzNo <notifications@github.com wrote:

I have noticed that the normally green led on the hub stays red for some short time. I guess the hub for some reason is disconnected from internet. I guess that during this period (if disconnected) no harmony activity would be triggered... I have not confirmed that my triggers does not work when the led is red. Will check when possible.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jreenen/com.jreenen.homeyharmonyhub/issues/19#issuecomment-446750553, or mute the thread https://github.com/notifications/unsubscribe-auth/ABrQZ9qSxlaNGI9oHATRfSWlyWmygGloks5u4XTfgaJpZM4QCG2F .

denniedegroot commented 5 years ago

@Fire69 the circle turning is fixed in the latest commit. Can you try the latest code and check if it turns green or red when it isnt working?

Fire69 commented 5 years ago

Installed the app and turning circle is solved indeed. I'll do some tests now to see if it still times out after some time.

MbenzNo commented 5 years ago

Still on v1.3.1, Homet v 1.5.13. Had one occurance today when the flow was not triggered when turning on my TV. Harmony Hub LED was green. Turned off and on again, and it have worked several time since.

Fire69 commented 5 years ago

Still going strong here after 2 days. Will keep testing until it fails (hopefully never 😄 )

Fire69 commented 5 years ago

Well, had to restart the app today because my flow wasn't working anymore (not because of the Logitech firmware 'upgrade') So after about a week, it stopped working.

MbenzNo commented 5 years ago

Flows with Harmony triggers stopped working a couple of days ago. Just restarted the Harmony app, and the flows started working again.

MbenzNo commented 5 years ago

I just restarted my Homey, and when it started again I got an Notification in the desktop app that the Homey Harmony Hub app has crashed. Restarted the app several times and the app immediately crashes and sends same notification.

MbenzNo commented 5 years ago

Hav uninstalled the app and re-installed it again. Crashes immedeately after installation... What is happening?

denniedegroot commented 5 years ago

@MbenzNo please read issue #35

jreenen commented 5 years ago

@Fire69 I am very interested if you are experiencing this issue on v1.4.x please let us know if you do

Fire69 commented 5 years ago

@jreenen I'm waiting for it to update automatically, I'm still on 1.3.1 for now. I'm still pretty busy fixing all the other (more essential) stuff after upgrading to 2.0...

Fire69 commented 5 years ago

Just figured out why I'm still waiting for the automatic update... I installed 1.3.1 through CLI 😃 Installed 1.4.1 now and everything seems to be working just fine! 👍

jreenen commented 5 years ago

@Fire69 are you still experiencing connection time-outs on this new version?

MbenzNo commented 5 years ago

V 1.4.3 is working stable for me

Fire69 commented 5 years ago

It seemed to be working OK (1.4.3) but when I wanted to check it in the app just now, I got a 'deze app is onverwacht gestopt'... I'll keep an eye on it.

jreenen commented 5 years ago

How is the behavior on the latest v2.0.1 version?

Fire69 commented 5 years ago

Only installed it this afternoon, so a bit short to say anything about the stability. Everything seems to be working fine for now, we'll see in a couple of days if it stays that way, but I bet it will. You're doing a great job 👍

jreenen commented 5 years ago

@Fire69 Do you agree on closing this issue or does it require some more investigation?

Fire69 commented 5 years ago

I agree. It's running perfectly fine here now :-)

Op vr 20 sep. 2019 om 14:21 schreef Jeroen van Reenen < notifications@github.com>:

@Fire69 https://github.com/Fire69 Do you agree on closing this issue or does it require some more investigation?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/jreenen/com.jreenen.homeyharmonyhub/issues/19?email_source=notifications&email_token=AANNAZ3BJGDEHT6WBOZAMPDQKS53FA5CNFSM4EAINWC2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7GQNBY#issuecomment-533530247, or mute the thread https://github.com/notifications/unsubscribe-auth/AANNAZ3P27UGDXFWK6C6OTTQKS53FANCNFSM4EAINWCQ .