Page 2 of 4
Re: New Python plugin for Logitech Harmony
Posted: Friday 27 April 2018 18:55
by gorstj
The BWS-HA-Bridge (
https://github.com/bwssytems/ha-bridge) is made by the same developer as the restful-harmony daemon and includes an API for accessing/controlling the Harmony devices.
Would it not make more sense to rely on the HA-Bridge for this plugin rather than the ancient restful-harmony api?
I already run ha-bridge and don't want to run yet another daemon!
Re: New Python plugin for Logitech Harmony
Posted: Saturday 28 April 2018 16:14
by EscApe
You're absolutely right. At the time i wrote this plugin i was running ha-bridge and switched to restful-harmony (by the same author) because i red it was not possible to control the harmony through the ha bridge api. Now i see the instructions on GitHub. I don't know if i misread something last year or if this is a feature that was introduced after i wrote the plugin.
Rewriting the plugin is nog a priority for me now the domoticz harmony integration is being actively developed again (thanks to gordonb3!). For me the plugin was a work-around for the unstable (standard) integration. I'm glad gordon3b is working hard to fix that, since the python framework comes with it's own (beta) challenges.
Correction on the statement above: Thinking back it was not that ha bridge didn't offer the needed api. It was because ha bridge offered no api for individual keypresses on the harmony. Since i was using this method for the domoticz plugin AND for a home-brew webhook server (for ifttt) i did not want to run two separate but very similar services. HA bridge probably was and is a viable/better solution for the plugin. Rewriting it is still not a priority though

Gorbdonb3 seems to have fixed the 'official' integration. It's running great on my setup

.
Re: New Python plugin for Logitech Harmony
Posted: Saturday 28 April 2018 21:59
by gordonb3
May like to know that I'm currently also maintaining the originating code
HarmonyHubControl that allows controlling both activities and individual devices.
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 04 December 2018 15:08
by mvzut
EscApe wrote: ↑Saturday 28 April 2018 16:14
Gorbdonb3 seems to have fixed the 'official' integration. It's running great on my setup

.
I installed your plugin today since the "official" integration of the Harmony Hub gives connection errors multiple times a day. Runs fine so far!
Nevertheless, since both the restful-harmony api and your plugin are not actively maintained anymore, I would prefer it if the built-in support worked more stable. EscApe, you mentioned you don't experience the error messages anymore since you have a new router? I have the same router, but still I have regular connection error messages.
Gordonb3, is it perhaps an option to make the integrated Harmony plugin a bit more "forgiving"? I would prefer that it simply reconnects in the background, and only gives a real error message when the connection cannot be restored after a number of tries.
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 04 December 2018 21:49
by EscApe
I think the build in support is still working quite well. There is a limit to how forgiving it can be. I also have been getting more errors than usual the past week. A while back it would fail completely. In that case the Logitech servers where the problem and I suspect the Logitech servers might also be the cause this time.
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 04 December 2018 22:44
by mvzut
EscApe wrote:I think the build in support is still working quite well. There is a limit to how forgiving it can be. I also have been getting more errors than usual the past week. A while back it would fail completely. In that case the Logitech servers where the problem and I suspect the Logitech servers might also be the cause this time.
You might be right. The restful-harmony API in combination with your plugin turned out to give approximately the same amount of messages. The remote itself is also a bit unresponsive at times since a week or so.
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 19:34
by poudenes
Hi All,
Also people here where domoticz can't connect to Logitech Hub suddenly?
Is there way to check if the port 5222 is ok to connect to logitech?
Suddenly its not reachable anymore... did full reset of router, domoticz etc
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 20:08
by EscApe
I also got lots of connection errors in my logs today, but did not notice any practical failures. Might be the Logitech cloud services acting up again.
Did you reboot the harmony hub?
(Seems unrelated but mine also received a software update today. It is still working)
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 21:17
by gordonb3
Still running. Had two ping errors today, but I'm kind of used to seeing those.
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 21:33
by EscApe
Correction: I thought is was still working, but that was the direct integration of my Denon receiver with ifttt.
Neither harmony-restful nor the build in Harmony support (by gordonb3) is workin for me right now. There was an update for the harmony hub today.
Looks like the update was released dec 11th. It includes ‘security related fixes’.
Harmony Hub firmware (v4.15.206)
Security related fixes
Bug fixes
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 21:49
by EscApe
It gets worse.... looks like Logitech in their infinite wisdom have removed the local api.... 'security related fixes'... right
https://community.logitech.com/s/questi ... api-access
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 22:10
by poudenes
Ehmmm so no support anymore for us??
Then lots of light settings will not work anymore.... Can read status etc....
Verzonden vanaf mijn iPhone met Tapatalk Pro
Re: New Python plugin for Logitech Harmony
Posted: Monday 17 December 2018 22:14
by EscApe
looks like ik. Please send your complaints to Logitech. They need to know that removing the api and forcing us to the limited cloud services is not appreciated.
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 0:25
by poudenes
There is a way to revert back.
And someone is testing using de websocket :
https://github.com/jlynch630/Harmony.NET
Verzonden vanaf mijn iPhone met Tapatalk Pro
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 9:29
by LouiS22
They're promising a fix:
Hi folks.
Will from the Harmony Team here. Just wanted to let you know we are aware of the feedback from the community. We will be providing an update shortly.
Thanks for your patience.
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 11:56
by poudenes
Yes let's hope they see that there is a big open source users that's need the api!
I revert back my firmware and up and running again
Verzonden vanaf mijn iPhone met Tapatalk Pro
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 16:06
by Stimpy68
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 19:25
by DutchHans
Hi.. updated my Harmonies and they both 'died' when accessed via API but you can rollback to 4.15.193
Just did it and it works!
Read there the solution:
https://www.reddit.com/r/homeassistant/ ... ksremoves/
Cheers, Hans
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 20:08
by gordonb3
Thanks all for the heads-up. As I was not (yet) affected I decided to reconfigure my firewall and deny the Hub internet access. Somewhat anxious to see if that will lead to any other results.
Re: New Python plugin for Logitech Harmony
Posted: Tuesday 18 December 2018 20:26
by EscApe
Someone pointed out that there seems to be another method, but implementing this for Domoticz is way beyond my programming skills.
https://github.com/jlynch630/Harmony.NET