Skip to content

Instantly share code, notes, and snippets.

@evandcoleman
Last active September 22, 2017 17:41
Show Gist options
  • Save evandcoleman/834f965a3d7b41c9756cee09aea7161c to your computer and use it in GitHub Desktop.
Save evandcoleman/834f965a3d7b41c9756cee09aea7161c to your computer and use it in GitHub Desktop.
An example homebridge-harmony-api configuration.
{
"accessories": [
{
"accessory": "HarmonyDevice",
"name": "Living Room Air Conditioner",
"service": "Fan",
"host": "localhost",
"port": 8282,
"hub_slug": "living-room",
"device_slug": "air-conditioner",
"commands": {
"on": "power-toggle",
"off": "power-toggle"
}
},
{
"accessory": "HarmonyDevice",
"name": "Bedroom Air Conditioner",
"service": "Fan",
"host": "localhost",
"port": 8282,
"hub_slug": "bedroom",
"device_slug": "air-conditioner",
"commands": {
"on": "power-toggle",
"off": "power-toggle"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment