The collection of Shelly scripts. All scripts shares the same installation methods. Read Installation section
The repository offers following scripts:
MQTT Discovery: Self docs
The script registers the Shelly device (including addons) into MQTT using Discovery protocol (commonly used by Home Assistant).
MQTT Discovery: BLE docs
The script registers BLE devices being proxied by the shelly device (proxy) into MQTT, using Discovery protocol (commonly used by Home Assistant).
MQTT Discovery: Scripts Monitor docs
The script monitors state of Shelly scripts, providing this information to Home assistant sensor, utilizing MQTT Discovery protocol
MQTT Periodic Component Publisher docs
This script republishes, at a configurable interval, the states of selected components to MQTT.
There are several methods how to install scripts.
Use utility to upload
This repo offers deployment scripts, available for bash or PowerShell. See tools directory.
Use it to deploy any script to your device, directly from GitHub or from local file.
Manual copy&paste
- In this GIT repository
- enter scripts directory
- select the script
- press Copy Raw File button
- Open Shelly GUI
- Select
Scriptsfrom menu - Create new script (or open existing one)
- Paste copied script
- Run it, optionally mark as
Run at Startup
- Select
Use library
- Open Shelly GUI
- Select Scripts from menu
- press the
Librarybutton - Enter URL listed below into
Configure URLfield. It will list all my scripts - Pick one you want to install. it will create new script
- Run it, optionally mark as
Run at Startup
https://raw.githubusercontent.com/michalk-k/shelly-scripts/main/scripts/manifest.json