Controlling Harmony Activities via new API
See original GitHub issueFor all of you upset about loosing control over Harmony, it is easy to change activities using the new method (although the rest is a bit complicated)
To create an on off activity (assuming you know the activity ID’s) you do the following.
Create a new device in HA-Bridge.
On Item
Type > HTTP Device.
Target Item > http://HUB_IP:8088
HTTP VERB > POST
HTTP BODY
{"cmd": "harmony.activityengine?runactivity", "params":{"activityId":"ACTIVITY_ID"}}
HTTP HEADERS
[{"name":"Accept","value":"utf-8"},{"name":"Origin","value":"http//:localhost.nebula.myharmony.com"}]
Content-Type > application/json
Click Add
And repeat for the Off Item but change activity ID to -1
Issue Analytics
- State:
- Created 5 years ago
- Reactions:1
- Comments:16
Top Results From Across the Web
Logitech Harmony integration using modern SDK/APIs
The official integration between Logitech Harmony and SmartThings doesn't seem to work. Trying to follow instructions at Harmony and ...
Read more >Harmony Hub
Harmony Hub is the center of your home entertainment and home control solution. ... Activities, you will be able to copy them over...
Read more >Is there any API/SDK for Logitech Harmony Elite? - Reddit
I have couple devices I want to control with that remote (yeelight lights and couple other things that I know it doesn't support)....
Read more >homebridge-harmony-api - npm
A homebridge plugin for controlling individual Harmony Hub connected devices via: https://github.com/maddox/harmony-api. Latest version: ...
Read more >[Update: resolved, API reinstated and commitment to keep it ...
Logitech has disabled the local API of the Harmony Hub with their latest software update (v4.15.206). For privacy and speed it is important ......
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
There is a HTTP post which tells you what device commands are in an activity but to issue those device commands it’s the same as a normal device command.
Get device commands use this in the body of the request.
Then I use the following JSONata command to filter the results to only show the activities and the device commands available to that activity
To issue device commands it’s best to use Websocket, I will update my repo with websocket commands later on.
Let me know if that helps.
XMPP is enabled again so using WS might not be needed anymore https://community.logitech.com/s/question/0D55A00008OsX3CSAV/update-to-accessing-harmony-hubs-local-api-via-xmpp