Skip to content

Instantly share code, notes, and snippets.

@jamespo jamespo/config.json
Last active May 13, 2020

Embed
What would you like to do?
{
"FAUXMO": {
"ip_address": "AUTO"
},
"PLUGINS": {
"SimpleHTTPPlugin": {
"DEVICES": [
{
"port": 12340,
"off_cmd": "http://192.168.1.107/admin/api.php?disable=600&auth=YOUR_AUTH_CODE",
"on_cmd": "http://192.168.1.107/admin/api.php?enable&auth=YOUR_AUTH_CODE",
"method": "GET",
"name": "pi-hole",
"headers": {
"Content-Type": "application/json"
},
"state_cmd": "http://192.168.1.107/admin/api.php?status&auth=YOUR_AUTH_CODE",
"state_response_on": "enabled",
"state_response_off": "disabled"
}
]
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.