shelly-script-examples
shelly-script-examples copied to clipboard
Shelly Scripts for Gen2 Shelly devices
Hi, I'm looking for a script following the uptime, and at given value activate the device with an auto on delay. This would enable me to plug my Shelly Plus...
I have a magnetic reed switch that due to its mounting orientation results in the contact bouncing on activation. How can i script a suppression for the event handler to...
Dear Allterco, Next to the 'normal switching function' (which I much appreciate) the Shelly 1PM devices (and product family) also seem ideally suited to detect BLE sensors (phones, tags etc)...
Hi, Is there a way, per script, to create a new idClient, other than that of the module which houses the script, and to indicate its keepAlive, willMessage, willTopic, etc......
I think that in line 54 the parameter `error_message` should be `error_code` to reflect the argument in the declaration of the function in line 53. ...and similarly for line 62...
Is it possible to add a script to the library that reports a garage door state other than just Closed/Open by using multiple inputs? The scenario I'm looking at would...
More of a suggestion For e.g. a Shelly Pro 2: a script that makes both outputs on or off at the same time no matter what inputs (network, buttons, ...)...
On the Shelly 1 plus, a script to switch on relay at the first push of the button and at the second push of the button delay the switching off...
**Describe the bug** Script gives an error not the desired output. **To Reproduce** Steps to reproduce the behavior: 1. added the script as it comes from the library to my...