New Python plugin for Logitech Harmony
Moderator: leecollings
-
- Posts: 41
- Joined: Tuesday 13 December 2016 18:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: New Python plugin for Logitech Harmony
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!
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!
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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
.
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

Last edited by EscApe on Sunday 29 April 2018 14:11, edited 1 time in total.
-
- Posts: 111
- Joined: Saturday 31 March 2018 22:24
- Target OS: Linux
- Domoticz version: Custom
- Location: Delft, NL
- Contact:
Re: New Python plugin for Logitech Harmony
May like to know that I'm currently also maintaining the originating code HarmonyHubControl that allows controlling both activities and individual devices.
-
- Posts: 443
- Joined: Thursday 12 November 2015 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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.
-
- Posts: 443
- Joined: Thursday 12 November 2015 10:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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.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.
Raspberry Pi 4 - RFXtrx433 - CC2531 Zigbee - Opentherm Gateway - P1 smart meter - Netatmo - Philips Hue - ELV Max! - ESP8266 DIY water meter - 6 x Sonos - 4 x IP cameras - Wall mounted tablet + Dashticz - Google Home integration - MANY switches/sensors
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: New Python plugin for Logitech Harmony
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
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
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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)
Did you reboot the harmony hub?
(Seems unrelated but mine also received a software update today. It is still working)
-
- Posts: 111
- Joined: Saturday 31 March 2018 22:24
- Target OS: Linux
- Domoticz version: Custom
- Location: Delft, NL
- Contact:
Re: New Python plugin for Logitech Harmony
Still running. Had two ping errors today, but I'm kind of used to seeing those.
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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’.
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
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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

https://community.logitech.com/s/questi ... api-access
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: New Python plugin for Logitech Harmony
Ehmmm so no support anymore for us??EscApe wrote: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
Then lots of light settings will not work anymore.... Can read status etc....
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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.
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: New Python plugin for Logitech Harmony
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
And someone is testing using de websocket :
https://github.com/jlynch630/Harmony.NET
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
- LouiS22
- Posts: 433
- Joined: Friday 27 February 2015 13:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Budapest, Hungary
- Contact:
Re: New Python plugin for Logitech Harmony
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.
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.
-
- Posts: 667
- Joined: Wednesday 08 March 2017 9:42
- Target OS: Linux
- Domoticz version: 3.8993
- Location: Amsterdam
- Contact:
Re: New Python plugin for Logitech Harmony
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
I revert back my firmware and up and running again
Verzonden vanaf mijn iPhone met Tapatalk Pro
RPi3 B+, Debain Stretch, Domoticz, Homebridge, Dashticz, RFLink, Milight, Z-Wave, Fibaro, Nanoleaf, Nest, Harmony Hub, Now try to understand pass2php
-
- Posts: 40
- Joined: Wednesday 09 May 2018 16:37
- Target OS: Linux
- Domoticz version:
- Location: The Hague, The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
More complaints here, thread started by logitech: https://community.logitech.com/s/questi ... -fw-415206
-
- Posts: 230
- Joined: Friday 03 April 2015 20:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Germany (near dutch border)
- Contact:
Re: New Python plugin for Logitech Harmony
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
Just did it and it works!
Read there the solution:
https://www.reddit.com/r/homeassistant/ ... ksremoves/
Cheers, Hans
-
- Posts: 111
- Joined: Saturday 31 March 2018 22:24
- Target OS: Linux
- Domoticz version: Custom
- Location: Delft, NL
- Contact:
Re: New Python plugin for Logitech Harmony
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.
-
- Posts: 535
- Joined: Thursday 02 April 2015 8:46
- Target OS: Linux
- Domoticz version: 2020+
- Location: The Netherlands
- Contact:
Re: New Python plugin for Logitech Harmony
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
https://github.com/jlynch630/Harmony.NET
Who is online
Users browsing this forum: Amazon [Bot] and 1 guest