Created
September 18, 2016 14:47
-
-
Save nrobinson2000/714400c4184eff7628b499ae0348e4c6 to your computer and use it in GitHub Desktop.
Hombridge config.json for creating Particle and IFTTT accessories
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"bridge": { | |
"name": "Homebridge", | |
"username": "CC:22:3D:E3:CE:39", | |
"port": 51826, | |
"pin": "031-45-154" | |
}, | |
"description": "This configuration file creates a Particle platform with 4 accessories, and an IFTTT platform with 1 accessory.", | |
"platforms": [ | |
{ | |
"platform": "Particle", | |
"name": "Particle Devices", | |
"access_token": "CENSORED", | |
"cloudurl": "https://api.particle.io/v1/devices/", | |
"devices": [ | |
{ | |
"accessory": "LED", | |
"name": "LED", | |
"deviceid": "CENSORED", | |
"type": "LIGHT", | |
"function_name": "onoff", | |
"args": "0={STATE" | |
}, | |
{ | |
"accessory": "Light", | |
"name": "Light", | |
"deviceid": "CENSORED", | |
"type": "SENSOR", | |
"sensorType": "light", | |
"key": "light", | |
"event_name": "light" | |
}, | |
{ | |
"accessory": "Temperature", | |
"name": "Temperature", | |
"deviceid": "CENSORED", | |
"type": "SENSOR", | |
"sensorType": "temperature", | |
"key": "temperature", | |
"event_name": "temperature" | |
}, | |
{ | |
"accessory": "Humidity", | |
"name": "Humidity", | |
"deviceid": "CENSORED", | |
"type": "SENSOR", | |
"sensorType": "humidity", | |
"key": "humidity", | |
"event_name": "humidity" | |
} | |
] | |
}, | |
{ | |
"platform": "IFTTT", | |
"name": "IFTTT", | |
"makerkey": "CENSORED", | |
"accessories": [ | |
{ | |
"name": "Notification", | |
"buttons": [ | |
{ | |
"caption": "Notify", | |
"trigger": "notify" | |
} | |
] | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment