Skip to content

michal-bartak/shelly-scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

75 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shelly Scripts

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.

Installation

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
  1. In this GIT repository
    1. enter scripts directory
    2. select the script
    3. press Copy Raw File button
  2. Open Shelly GUI
    1. Select Scripts from menu
    2. Create new script (or open existing one)
    3. Paste copied script
    4. Run it, optionally mark as Run at Startup

Use library
  1. Open Shelly GUI
    1. Select Scripts from menu
    2. press the Library button
    3. Enter URL listed below into Configure URL field. It will list all my scripts
    4. Pick one you want to install. it will create new script
    5. Run it, optionally mark as Run at Startup
https://raw.githubusercontent.com/michalk-k/shelly-scripts/main/scripts/manifest.json