Open BetoRn opened 6 years ago
I have problems with only one hub. Right now I’m using Homebridge ifttt webhooks to activate activities. Has a short delay, but it’s rock solid.
I am dipping my toes on HassIO and I’ll try that next.
On 1. Apr 2018, at 21:41, shred86 notifications@github.com wrote:
For those of you experiencing crashing issues - do you have multiple Harmony Hubs?
I've been running this plugin for over a month now without a crash but I'm only running one Harmony Hub. I was thinking about picking up another Harmony Hub but I'm thinking this issue is when multiple hubs are running.
While not ideal, another solution might be to run something like Home Assistant and use the Harmony component. Now that Home Assistant has "native" HomeKit support (i.e. you don't need to use Homebridge), you can just expose the Harmony activities as switches through Home Assistant which will show up in HomeKit.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Yes I use version 0.1.1 which can be installed by “sudo -g npm install homebridge-harmonyhub@0.1.1”
To restart homebridge, just use “sudo crontab -e” and add a line “0 4 * systemctl restart homebridge.service” to restart it everyday at 4AM (or more often!)
@shred86 No, the crashes happen with only one hub. I also tried reducing the number of Harmony activities from like 7 down to 4, but the crashes were just as persistent.
Way back when I first began using the Harmony plugin and before getting my setup stabilized with regular power cycling and Homebridge restart jobs, I considered going Home Assistant. But, honestly, with 0.1.1 and daily power cycling, it's pretty much rock solid, and I'd rather not go reinvent the wheel setting up my bulbs and other accessories in Hass.io now that my Homebridge is dialed in.
@shred86 Are you still powercycling your hub and Homebridge?
I’m not running this plugin anymore as I’m using the HomeKit component for Home Assistant which I have linked to my Harmony Hub. However, when I was running this plugin, I was not power cycling the hub or Homebridge. I ran it for about 2 months with no issues.
@shred86. Ok. In the previous threads you mentioned power cycling at 4am with the Harmony plugin, so I thought i’d ask. Is Home Assistant more stable? How do I install it? Thanks
I would not recommend Home Assistant unless you are a software engineer. Honestly. Go with OpenHAB, which is not nearly as difficult. But not as simple as Homebridge either.
For me it’s working beautifully.
@shred86 It may have been me that you're remembering--I powercycle my Harmony Hub at 4AM along with restarting Homebridge 2x a day, and it's rock solid. On a fresh Homebridge and Harmony plugin install, it seems to be stable for about a month, and then it starts having more and more errors until you blow away the cached accessories and persist folders. Powercycling and restarting Homebridge seem to keep all those issues at bay.
@rpmorale That must’ve been starlessblack you’re thinking of as I’ve never mentioned anything regarding power cycling my hub. As for Home Assistsnt, I’m not a software engineer and I have no issues using it. There’s definitely a learning curve though but there’s a lot of resources and YouTube videos out there to guide you.
@starlessblack are you still power cycling to keep it somewhat stable. Thanks all for the suggestions.
@rpmorale Yes, honestly it's rock solid with daily powercycle of Harmony at 4AM and then restart of Homebridge service at ~4:02AM and again at 4:00PM.
F*** amazing... This plugins crashes everything, and the problem is that I couldn't find a single log on my 2 running instances of Homebridge of the crash. Its like an overflow that makes randomly one of the 2 instances of Homebridge to not respond anymore. When I disabled it everything started to work flawlessly again.
The strange thing is that this plugin worked fine for a couple of days... I don't know exactly what the problem is but for sure is whit the harmony hub plugin
At this point I just have homebridge running in docker on my synology NAS and have the container set to auto-restart on crash. I can deal with the 10 notifications a day telling me that my container has crashed... Obviously I’d prefer a fix though
On 4. July 2018 at 06:37:45, iandronowicz (notifications@github.com(mailto:notifications@github.com)) wrote:
F*** amazing... This plugins crashes everything, and the problem is that I couldn't find a single log on my 2 running instances of Homebridge of the crash. Its like an overflow that makes randomly one of the 2 instances of Homebridge to not respond anymore. When I disabled it everything started to work flawlessly again.
The strange thing is that this plugin worked fine for a couple of days... I don't know exactly what the problem is but for sure is whit the harmony hub plugin
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub(https://github.com/KraigM/homebridge-harmonyhub/issues/124#issuecomment-402360738), or mute the thread(https://github.com/notifications/unsubscribe-auth/AgyBeDBcM8PMFwT51-ZinHOVI20GxKKBks5uDEaZgaJpZM4RgkMR).
I also have these crash issues (one harmony hub). To keep homebridge running while these crashes still occur, I start it with: while :; do homebridge; done This way, every time it crashes, it will automatically start again.
This plugin installs version 1.1.6 of harmonyhubjs-client library, later versions have addressed the xmpp errors not beign handled.
So, I installed the latest harmonyhubjs-client version and removed the dependency under homebridge-harmonyhub installation folder, homebridge has been running for a week without issues.