Skip to content

Instantly share code, notes, and snippets.

@sayedhafiz
Forked from sgruzlewski/config.json
Created September 20, 2021 08:09
Show Gist options
  • Save sayedhafiz/f3e8820f80a4ffa10caec08c76ed35aa to your computer and use it in GitHub Desktop.
Save sayedhafiz/f3e8820f80a4ffa10caec08c76ed35aa to your computer and use it in GitHub Desktop.
{
"bridge": {
"name": "Raspberry",
"username": "E3:22:3D:E3:CE:30",
"port": 51826,
"pin": "031-45-154"
},
"description": "This is an example configuration file with one fake accessory and one fake platform. You can use this as a template for creating your own configuration file containing devices you actually own.",
"platforms": [
{
"platform": "config",
"name": "Config",
"port": 8080,
"sudo": true,
"restart": "sudo -n systemctl restart homebridge",
"temp": "/sys/class/thermal/thermal_zone0/temp",
"log": {
"method": "systemd",
"service": "homebridge"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment