How to use Harmony API - Maddox

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
wou5er
Posts: 12
Joined: Thursday 01 March 2018 22:23
Target OS: -
Domoticz version:
Contact:

How to use Harmony API - Maddox

Post by wou5er »

I installed this plugin but how do i sent or get info from the huba

https://github.com/maddox/harmony-api/b ... ter/app.js

It has to do something wiith these commands but i don't know how to use them
Info
Use these endpoints to query the current state of your Harmony Hub.

Code: Select all

GET /hubs => {"hubs": ["family-room", "bedroom"] }
GET /hubs/:hub_slug/status => StatusResource
GET /hubs/:hub_slug/commands => {"commands": [CommandResource, CommandResource, ...]}
GET /hubs/:hub_slug/activities => {"activities": [ActivityResource, ActivityResource, ...]}
GET /hubs/:hub_slug/activities/:activity_slug/commands => {"commands": [CommandResource, CommandResource, ...]}
GET /hubs/:hub_slug/devices => {"devices": [DeviceResource, DeviceResource, ...]}
GET /hubs/:hub_slug/devices/:device_slug/commands => {"commands": [CommandResource, CommandResource, ...]}
Control
Use these endpoints to control your devices through your Harmony Hub.

Code: Select all

PUT /hubs/:hub_slug/off => {message: "ok"}
POST /hubs/:hub_slug/commands/:command_slug => {message: "ok"}
POST /hubs/:hub_slug/commands/:command_slug?repeat=3 => {message: "ok"}
POST /hubs/:hub_slug/activities/:activity_slug => {message: "ok"}
POST /hubs/:hub_slug/devices/:device_slug/commands/:command_slug => {message: "ok"}
POST /hubs/:hub_slug/devices/:device_slug/commands/:command_slug?repeat=3 => {message: "ok"}
I would like to make 2 separater buttons in domoticz to control volume up and down or maing commands like next tv page or like go to channel x
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest