Closed wormuths closed 3 years ago
are you using websockets or xmpp ?
harmony documentation harmony source (message by IssueLinks)
Hey there @ehendrix23, @bramkragten, @bdraco, mind taking a look at this issue as its been labeled with an integration (harmony
) you are listed as a codeowner for? Thanks!
(message by CodeOwnersMention)
I'm not too sure if this is related. My Harmony hub seems to be working ok, but I see several messages like this in the log:
2020-08-17 09:31:11 ERROR (MainThread) [aioharmony.hubconnector_websocket] 192.168.100.4: Connection timed out for hub XXXXXXXX
are you using websockets or xmpp ?
I'm using websockets.
How do you run Home Assistant, what platform? Do you use HASS.IO? Based also on the reddit it seems something else might have been broken related to network connectivity somewhere and Harmony integration is another victim of this.
I use Hass Core in docker. I've now switched over to XMPP it it seems to be working fine.
In my case is Hass.io. How do you switch to XMPP? Only enabling it in the phone app or do I need to change something in the Home Assistant integration?
Only in app on your phone
I too seem to have web sockets. I’ve seen XMPP mentioned before, but have never seen that setting in the iOS app to change it...
On Android it can be found under Harmony Setup -> Add/Edit Devices & Activities -> Remote & HUB -> Enable XMPP
Thanks! Same on iOS.
I got lots of warnings about how dangerously insecure it was though.
There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.
i have this problems with with 0.118 Every startup i see these logs:
Logger: slixmpp.stringprep Source: /usr/local/lib/python3.8/site-packages/slixmpp/stringprep.py:120 First occurred: 2:40:32 (1 occurrences) Last logged: 2:40:32
Using slower stringprep, consider compiling the faster cython/libidn one.
Logger: slixmpp.basexmpp Source: /usr/local/lib/python3.8/site-packages/slixmpp/basexmpp.py:210 First occurred: 2:40:34 (3 occurrences) Last logged: 2:40:34
Legacy XMPP 0.9 protocol detected.
Disable XMPP on the device. Websockets don't suffer from the same issues.
Disable XMPP on the device. Websockets don't suffer from the same issues.
Thanks I enabled it since requested in the integration months ago.. so i think now is not requested.
FYI,
The integration defaults to XMPP if XMPP is enabled on the hub, otherwise it will default back to Web Sockets. Why XMPP if enabled?
Note, here I have 2 Hub's running with 1 using XMPP and the other one using Web Sockets. I do not have an issue where it regularly drops off from the network (I currently also do not have Mesh). Anytime you see your hub flashing red or showing a red light it means it dropped it's network connection. When this happens the integration looses is connection and next time needs to re-establish it.
Hope this helps in explaining a bit.
Thanks, I disabled XMPP on the only 1 of 4 hubs that had it enabled and the "Using slower stringprep, consider compiling the faster cython/libidn one." message no longer occurs. I am not seeing the consistent drops the OP sees. I am unclear if the op has the original problem, if not i guess this issue came be closed. @wormuths ?
I have since changed to a Raspberry Pi platform due to all the complications of running in a jail. I haven’t had any issues with the harmony since. Not able to comment on my original configuration anymore, but I’d say it’s ironed out.
Thanks for all the hard work! Steve
The problem
Since upgrading to Home Assistant Core 113.0, my Harmony Hub is constantly changing its state to unavailable, then back to on or off. It does this consistently, and floods the logbook all day. The history tab also shows it continuously dropping to unavailable, even though the Hub is functioning perfectly.
Environment
Currently running HA Core v114.1 on a FreeNAS (FreeBSD) jail environment.
Problem-relevant
configuration.yaml
Not using YAML, configured via UI.
Traceback/Error logs
Logger: aioharmony.hubconnector_websocket Source: deps/lib/python3.7/site-packages/aioharmony/hubconnector_websocket.py:156 First occurred: August 15, 2020, 10:56:25 PM (233 occurrences) Last logged: 3:05:19 AM