Trick #6: Even more switches
- This topic has 0 replies, 1 voices, and was last updated 6 months, 1 week ago from .
Viewing 1 post (of 1 total)
Viewing 1 post (of 1 total)
- You must be logged in to reply to this topic.
It is well known that a switch can be connected to the sensor inputs.
But the fact that you can connect as many switches as you want over the network is certainly new!
With the help of the smart button "Shelly Button1" you can start up to 4 different programs with one button or control individual stations, such as the one here:
https://www.reichelt.de/shelly-button-1-wifi-schwarz-shelly-button1-p284173.html
These 4 different functions are achieved by distinguishing between single, long, double and triple presses. A command can be assigned to each type, here the control of the OpenSprinkler FIRE:
The button must be programmed so that when pressed, the command
http://os-ip/cm?pw=xxx&sid=0&en=1&t=360
where sid=0=1st zone, t=360=seconds runtime
And e.g. long press quits it:
http://os-ip/cm?pw=xxx&sid=0&en=0
The password pw must be entered as an MD5 hash, e.g. you can convert this with an online MD5 hash tool.
(e.g. here: https://www.md5hashgenerator.com/)
The full list of API commands can be found here:
https://openthings.freshdesk.com/support/solutions/articles/5000716363-os-api-documents
Now new: Analog Sensor Board and Firmware 2.3.0! Hide