shelly-script-examples icon indicating copy to clipboard operation
shelly-script-examples copied to clipboard

Shelly Scripts for Gen2 Shelly devices

Results 55 shelly-script-examples issues
Sort by recently updated
recently updated
newest added

My blu has not local name so all scripts are not working.... Whats the way to rename the local_name of blu device? Regards

Received an error running this script on a ShellyPlus2PM: **this is the log:** _Uncaught ReferenceError: "self" is not defined at for (let papk in self.targetCache) { ^ in function "isInCache"...

ble-pasv-mqtt-gw.js - Add other measures of XIAOMI MIFLORA #89 I've added illuminance, moisture and soil handling for Xiaomi Mi Flora and also fixed the temperature sign problem in all Xiaomi...

Closes https://github.com/ALLTERCO/shelly-script-examples/issues/77

https://github.com/ALLTERCO/shelly-script-examples/blob/297358ede3b448d683a90a6c301e2c82dfd02506/wifi-provision.js#L31 This code seems not to cover Shelly Mini devices. The SSID is e.g. Shelly1Mini-xxxxxxx. My solutuion was to add shelly mini here: `apn: [„ShellyPlus“, „ Shelly1Mini“]`

Hi, A feature, implemented on the shelly 2.5 in shutter/cover mode was to disable the run timeout with 0 value It's not possible on the shelly plus 2pm in cover...

Do you might adding some very very simple examples? IE turn light on / Turn light off / Timer on / timer off?

Don't know if it's just me, but couldn't get the script to toggle the relay. I had to add the following to get it to work. Shelly.call("Switch.toggle", { id: 0});

Closes https://github.com/ALLTERCO/shelly-script-examples/issues/56

The shell i4 plus order page states: ``` Whether you use Shelly Wi-Fi bulbs, Philips Hue, or even different brands smart bulbs, Shelly Plus i4 is highly compatible and can...