Script that adds MQTT discovery support for Shellies devices
APACHE-2.0 License
Bot releases are visible (Hide)
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
The script now supports Shelly devices with non-standard names (Internet & Security
-> Advanced - developer settings
-> Custom MQTT prefix
in the Shelly WWW panel).
If you want to change the name of the Shelly device, you must first remove the device from Home Assistant (Configuration
-> Integrations
-> MQTT
-> Device -> Remove
). Otherwise, all device entities will be duplicated.
Please update your shellies_discovery
automation!
- id: 'shellies_discovery'
alias: 'Shellies Discovery'
mode: queued
max: 999
trigger:
platform: mqtt
topic: shellies/announce
action:
service: python_script.shellies_discovery
data_template:
id: '{{ trigger.payload_json.id }}'
mac: '{{ trigger.payload_json.mac }}'
fw_ver: '{{ trigger.payload_json.fw_ver }}'
model: '{{ trigger.payload_json.model }}'
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
concentration
sensorPublished by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago
Published by bieniu about 4 years ago