Initial commit.
This commit is contained in:
commit
63539b5bc1
9 changed files with 401 additions and 0 deletions
26
webhooks.yml.example
Normal file
26
webhooks.yml.example
Normal file
|
@ -0,0 +1,26 @@
|
|||
# This example controls a single momentary switch. When the webhook is
|
||||
# written, it will return 1 until it is read, after which it will return
|
||||
# 0 again.
|
||||
- name: Momentary Switch
|
||||
path: Path_0
|
||||
secret_key: SecretKey_0
|
||||
num_switches: 1
|
||||
momentary_switches:
|
||||
- 0
|
||||
|
||||
# This is three latched switches. They will always report their last
|
||||
# written value
|
||||
- name: Three Latched Switches
|
||||
path: Path_1
|
||||
secret_key: SecretKey_1
|
||||
num_switches: 3
|
||||
momentary_switches:
|
||||
|
||||
# The first and 3rd data point on this webhook are momentary switches. The other 3 are latched.
|
||||
- name: Mix of Types
|
||||
path: Path_2
|
||||
secret_key: SecretKey_2
|
||||
num_switches: 5
|
||||
momentary_switches:
|
||||
- 0
|
||||
- 2
|
Loading…
Add table
Add a link
Reference in a new issue