homebridge-dummyswitch-webhook-jub
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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-header
  • Switch required: Array of switches that should be added
  • switches[i].name required: Name of the switch. Will be sent to the webhook url, and will also be the default name in the Home app
  • switches[i].webhook required: Url to post the data, when the state changes

Made with ❤️ in Aalborg, Denmark

Package Sidebar

Install

npm i homebridge-dummyswitch-webhook-jub

Weekly Downloads

6

Version

1.0.0

License

Apache-2.0

Unpacked Size

35.5 kB

Total Files

32

Last publish

Collaborators

  • jub-skipperbendt