Open QandnotU opened 8 years ago
Same issue works for a few hours then error and quits
Getting the exact same issue as well, can't seem to pin it down to a specific event though.
I am having the same exact problem.
I was having the same issue. I noticed some xmpp authentication errors. I think i may have resolved by installing: @xmpp/xml and @xmpp/jid
I ran these commands to install them: npm install -g @xmpp/xml npm install -g @xmpp/jid
So far i've not noticed any homebridge crashes. Worth a try for others.
You can ignore my last comment. Didn't work. Just saw that homebridge crashed and restarted. I'm still experiencing this issue...
+1 to this issue
Pretty sure this is an issue in harmonyhubjs-client / node-xmpp-client. Based on where the exception is coming from, I don't think there is anything that can be done to handle it in this plugin.
I'm so close to getting homekit to actually control all my devices, thanks to all those like you developing homebridge plugins. For now i think i will need to uninstall this plugin until this gets fixed.
Maybe the work over on HA-Bridge might help? See this post. I updated to their new version last night and the authentication to Harmony is working great again.
Thanks for pointing me to HA-Bridge! I got it running and working just moments ago. The only problem i have is that the activities appear as Lights and not as switches. So if i put the devices in the room "tv room" then all the activities will turn on when i say turn on tv room lights to siri. I can probably get around this by putting these activities in their own room. I'll give that a go for now.
Would still be great to have the harmonyhub plugin work directly with homebridge. But for now this Homekit -->Homebridge --> HABridge --> harmonyHub setup might do the trick.
It's crazy all the hoops one needs to go through to make homekit/siri "just work".
Glad it helped. I use Siri and Alexa both. Primarily Alexa for voice. Siri for scheduling and away from home. True on the light vs switch. But I love that you can do device buttons or macros. Very flexible.
From: pponce notifications@github.com Sent: Saturday, November 19, 2016 3:27:21 PM To: KraigM/homebridge-harmonyhub Cc: Jamie Solomon; Manual Subject: Re: [KraigM/homebridge-harmonyhub] XMPP authentication failure crashing homebridge (#61)
Thanks for pointing me to HA-Bridge! I got it running and working just moments ago. The only problem i have is that the activities appear as Lights and not as switches. So if i put the devices in the room "tv room" then all the activities will turn on when i say turn on tv room lights to siri. I can probably get around this by putting these activities in their own room. I'll give that a go for now.
Would still be great to have the harmonyhub plugin work directly with homebridge. But for now this Homekit -->Homebridge --> HABridge --> harmonyHub setup might do the trick. It's crazy all the hoops one needs to go through to make homekit/siri "just work".
You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/KraigM/homebridge-harmonyhub/issues/61#issuecomment-261737573, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUTxchM7O-ZPry8f0fREarybWJshxiJRks5q_1upgaJpZM4KgNmA.
So far so good. No issues with crashing. Putting the ha-bridge harmony activities in their own room solves the switch vs light issue. I'll keep looking at this issue to see if it gets resolved. But for now I'm a happy camper with ha-bridge in the mix.
Hope this helps! I found a post saying that the previous version of homebridge-harmonyhub still works. I just installed it and it’s working beautifully, have it all back in homekit now.
Cold for the older version is here: https://github.com/KraigM/homebridge-harmonyhub/releases/tag/0.1.1
I could only get it to install by getting the zip file on my device by removing the old version, then from the directory the old is unzipped to, running “sudo npm install –g .”
Oh, also, takes modifying your config.json a little different. Check the readme.md file.
From: pponce notifications@github.com Reply-To: KraigM/homebridge-harmonyhub reply@reply.github.com Date: Saturday, November 19, 2016 at 6:50 PM To: KraigM/homebridge-harmonyhub homebridge-harmonyhub@noreply.github.com Cc: Jamie Solomon jamie@solomon.zone, Manual manual@noreply.github.com Subject: Re: [KraigM/homebridge-harmonyhub] XMPP authentication failure crashing homebridge (#61)
So far so good. No issues with crashing. Putting the ha-bridge harmony activities in their own room solves the switch vs light issue. I'll keep looking at this issue to see if it gets resolved. But for now I'm a happy camper with ha-bridge in the mix.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/KraigM/homebridge-harmonyhub/issues/61#issuecomment-261747958, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AUTxcqf4y3q4-9kmQ_C54zfBENn7Wsqkks5q_4tZgaJpZM4KgNmA.
Thanks, I think for the time being i'll stick with the HA-Bridge solution and switch to this harmonyhub plugin once there is a fix in place for this issue. Things are working great so might as well just enjoy things for a bit.
I did as solomonj1963 suggested and downgraded to the previous version. After doing this I had to delete my Accessories and Persist folders, restarted Homebridge, removed the Homebridge device from my Homekit, then re-paired it and re-imported all the accessories.
I downgraded as well and although the crashes were far less common the harmony plugin still crashes homebridge. For now I have just removed it as it is not as important as the other devices I have in homekit.
Well that's depressing. I embarked on this project to control my Nest, LIFX lights and HarmonyHub, so I'm going to stubbornly deal with this indefinitely so as not to allow the project to only be 66% successful :-D
I set homebridge up as a service, so when this does crash homebridge, it's automatically restarted and I never know: https://gist.github.com/johannrichard/0ad0de1feb6adb9eb61a/
I, too, have my Homebridge config'd as service to auto-restart on failure, but with the newer HarmonyHub plugin, it'd gotten so screwed up it wasn't even letting Homebridge start up at all.
Try HA-Bridge along with with the hombridge-hue plugin. It has worked perfectly for me to control harmony activities. HA-Bridge presents its self to homebridge as a Philips hub. You can configure HA-Bridge once it's running via its web interface. You enter in your Harmony hub IP and it will find the activities on the harmony hub. Those activities can be presented to homebridge as "lights". I put those lights in their own room so they don't activate when i say hey siri turn on the lights in the tv room.
HA-Bridge and install instructions: https://github.com/bwssytems/ha-bridge Homebridge Hue plugin https://github.com/ebaauw/homebridge-hue
Thanks for the tip, pponce. I'd seen HA-Bridge mentioned, but had not yet had a chance to really dig into it.
+1 On experiencing this issue on a fresh install.
I gave up on this plugin due to this error as well as the unbelievably excessive error logging it creates (homebridge.err is gigabytes in size within weeks!)
Instead of this plugin, I strongly suggest using home assistant to display harmony activities as switches to homebridge via homebridge-homeassistant plugin. Seamless.
Every so often homebridge crashes with the following error:
homebridge-error.txt
Any help would be greatly appreciated.