- Home
- Scripting
Overview
Scripting
Running JavaScript on the device itself, with scripts you can paste and adapt.
How to add a scriptInstall a script on a Gen2 device so it survives the first power cut.
Live electricity pricesHeat, charge and switch when power is cheap — start with the guide for your country.
Cheapest hours in a rowPick how many hours the relay has to be on and when it has to be done — for example, the car charged by 07:00. The device finds the cheapest run of hours before then and says when it starts and ends.
EV charging SPOT-price trackerGet a per-session charging cost at spot plus transfer plus tax.
BTHome componentsBind a BLU sensor straight to a relay — no script, no Wi-Fi, no cloud.
Control Shelly from an NTC sensorReuse the floor sensor already in the screed instead of chasing a new probe.
RGBW loop controllerRun a colour loop entirely on the device, edited from its own web page.
3EM consumption on a Wall DisplayPut whole-house consumption on a Wall Display — the one number it cannot show alone.
Shelly LoRa Add-onLink two Shelly devices kilometres apart, with no Wi-Fi and no subscription.