homebridge-dummyswitch-webhook-jub
v1.0.0
Published
A simple way to create switches in homebridge, that sends a webhook when the value changes
Downloads
20
Maintainers
Readme
Dummy-switch-webhook 🏠
Are you building your own home automation dashboard? Often, you need to save states, sensor values, and other data in a database outside Apple/Homebridge. 🚀
🤖 Dummy switch webhook is here to help! It's inspired by homebridge-dummy, but with a twist - it sends data to a webhook. This is particularly useful if you want to persist the data anywhere else.
Config:
{
"apiToken": "123321",
"platform": "DummySwitchJub",
"switches": [
{
"name": "HomeWindows",
"webhook": "http://localhost:1337/iot-data"
}
(...)
]
}
platform
required: must always be "DummySwitchJub"apiToken
Optional: Api token, if required. this will be set as a Authorization-headerSwitch
required: Array of switches that should be addedswitches[i].name
required: Name of the switch. Will be sent to the webhook url, and will also be the default name in the Home appswitches[i].webhook
required: Url to post the data, when the state changes
Made with :heart: in Aalborg, Denmark