openHAB 4.1.2 as VM, Debian 12 OS with openhabian
openHAB 4.1.x RaspberryPi 5, Raspbian with openhabian
Good afternoon.
I have been running into an issue with my Harmony not working with OH. If I send a command (any command) there is no action. This had been happening with a fresh install on a Raspberry Pi 5. For some checks I have installed OH as a Debian VM under Proxmox. openhabian was installed as well on both systems.
With both setups, after running for rougly a week my harmony binding stops responding to button presses through OH. I just changed logging for the binding to debug and it is reporting my hub is offline. I can still control my hub with the remote and with the Android app.
After a restart of OH the hub is reachable again.
Any thoughts or suggestions for how I could help with more information to assist with some trouble shooting?
2024-05-07 16:54:20.868 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Systeminfo_openHABPVE_Memory_Used' changed from 2010120192 B to 2011168768 B
2024-05-07 16:54:21.720 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'HarmonyHub_Button_Press' received command Select
==> /var/log/openhab/openhab.log <==
2024-05-07 16:54:21.722 [TRACE] [b.internal.handler.HarmonyHubHandler] - Handling command 'Select' for harmonyhub:hub:HarmonyHub:buttonPress
2024-05-07 16:54:21.722 [DEBUG] [b.internal.handler.HarmonyHubHandler] - Hub is offline, ignoring command Select for channel harmonyhub:hub:HarmonyHub:buttonPress
It sounds like the connection is timing out. I haven’t heard of that before, and haven’t experienced it with my Harmony Hubs. When it goes offline, what happens if you disable and reenable the thing (instead of restarting openHAB)?
I have an old Belkin Wemo device that eventually stops responding to openHAB, so I have a rule to disable/enable it daily.
Thanks for this suggestion @rpwong , next time my hub reports offline i will try the disable/enable on it and report back.
Yes I’m puzzled why this has started to happen it began 3 or 4 months ago. I’ve been using this same hub with OH for quite a while. It’s the Harmony Elite/hub package, bought it shortly after it was released.
I’ve been having the same problem. Enabling and Disabling them does fix the problem. I have 4 Harmony hubs linked and they all go offline at roughly the same time.
Edit: I just checked and all my Harmony’s were offline. I enabled/disabled them. they did NOT return to online, they settled in “UNKNOWN”. I also uninstalled and reinstalled the binding, They remained in the “UNKNOWN” State. I did a restart of the OH Service and they returned to online.
Details. I was able to enable/disable them on 3.x.x. I did upgrade to 4.2.0M2 a few weeks ago. So that is different. Running the Openhabian on Pi4 8gb.
Probably /var/log/openhab/openhab.log or similar, You can turn the debugging up for the harmony binding in the UI under settings → add on settings → harmony hub binding
The Harmony hubs appeared to stay online about 2 days, Then went offline. I’ve reviewed the logs before and after the Harmony tags and there does not appear to be any obvious warnings or errors on anything else.
2024-05-24 11:37:39.419 [DEBUG] [discovery.HarmonyHubDiscoveryService] - Creating Harmony server on port 40385
2024-05-24 11:47:39.420 [DEBUG] [discovery.HarmonyHubDiscoveryService] - StartScan called
2024-05-24 11:47:39.421 [DEBUG] [discovery.HarmonyHubDiscoveryService] - Creating Harmony server on port 37527
2024-05-24 11:52:24.695 [DEBUG] [b.internal.handler.HarmonyHubHandler] - Updating listeners with status OFFLINE
2024-05-24 11:52:37.498 [DEBUG] [b.internal.handler.HarmonyHubHandler] - Updating listeners with status OFFLINE
2024-05-24 11:52:43.023 [DEBUG] [b.internal.handler.HarmonyHubHandler] - Updating listeners with status OFFLINE
2024-05-24 11:57:39.422 [DEBUG] [discovery.HarmonyHubDiscoveryService] - StartScan called
2024-05-24 11:57:39.424 [DEBUG] [discovery.HarmonyHubDiscoveryService] - Creating Harmony server on port 44233
2024-05-24 12:07:39.425 [DEBUG] [discovery.HarmonyHubDiscoveryService] - StartScan called
2024-05-24 12:07:39.426 [DEBUG] [discovery.HarmonyHubDiscoveryService] - Creating Harmony server on port 39163
2024-05-24 12:17:39.427 [DEBUG] [discovery.HarmonyHubDiscoveryService] - StartScan called
2024-05-24 12:17:39.428 [DEBUG] [discovery.HarmonyHubDiscoveryService] - Creating Harmony server on port 45307
2024-05-24 12:27:39.429 [DEBUG] [discovery.HarmonyHubDiscoveryService] - StartScan called
2024-05-24 12:27:39.430 [DEBUG] [discovery.HarmonyHubDiscoveryService] - Creating Harmony server on port 36581
2024-05-24 12:37:39.431 [DEBUG] [discovery.HarmonyHubDiscoveryService] - StartScan called```
Tested again, enabling/disabling the things does NOT restore them to an ONLINE state. They will transition to UNKNOWN instead.
Thanks
I know its been a while since anyone posted here but I seem to have the same issue. Once the harmony hub goes offline it does not come back. Stopping and starting the binding does not help. The only way to bring it back is to restart openhab.
I still have similar issues… mainly harmony and my nuki that don’t respond. I’m in the middle of setting everything up again on a clean install. I believe upgrading a few months ago broke something. I remember during that update I had to choose between (I think rrd4j cfg file) for my file or a maintainer version… not sure it could have something to do with it… I just finished the new install, so will see in a couple days how it’s keeping up
I have high hopes, my openhab system has been very reliable for many years!