ha-shellies-discovery

Script that adds MQTT discovery support for Shellies devices

APACHE-2.0 License

Stars
280

Bot releases are hidden (Show)

ha-shellies-discovery - Version 0.29.4

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • use new device classes from HA 0.115
ha-shellies-discovery - Version 0.29.3

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • fix device prefix for Shelly DUO and Shelly Vintage
ha-shellies-discovery - Version 0.29.2

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • fix the log strings
ha-shellies-discovery - Version 0.29.1

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • use the correct template for input/2 sensor (Shelly i3)
ha-shellies-discovery - Version 0.29.0

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • add support for Shelly Plug US
ha-shellies-discovery - Version 0.28.0

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • add support for custom names of the Shelly devices @t3hk0d3 BREAKING CHANGE

Note

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.

Automation change required

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 }}'
ha-shellies-discovery - Version 0.27.10

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • better parsing version string
ha-shellies-discovery - Version 0.27.9

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • fix TypeError for Shelly Gas concentration sensor
ha-shellies-discovery - 0.27.9b1

Published by bieniu about 4 years ago

Changelog:

  • fix TypeError for Shelly Gas concentration sensor
ha-shellies-discovery - Version 0.27.8

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • add support for Shelly 4Pro with firmware 1.6.5 (1.8.0 is still not available for this device)
ha-shellies-discovery - Version 0.27.7

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • change uptime sensor state to DateTime object BREAKING CHANGE
  • update README files
ha-shellies-discovery - Version 0.27.6

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • fix uppercase for uptime sensor
  • add uptime raw value in seconds as attribute
ha-shellies-discovery - Version 0.27.5

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • add uptime sensor
  • add attributes to firmware update sensor
  • add overpower value attribute for overpower sensor (Shelly 1PM/2/2.5/4Pro/Plug/Plug S)
  • add template for external sensors (catch invalid values)
  • add template for cover position (catch invalid values)
ha-shellies-discovery - Version 0.27.4

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • undo changes from light refactoring
  • add template for concentration sensor (Shelly Gas)
  • change gas sensor to binary sensor (Shelly Gas) BREAKING CHANGE
  • few small fix
ha-shellies-discovery - Version 0.27.3

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • code refactoring for lights
ha-shellies-discovery - Version 0.27.2

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • fix for None is wrong dev_id argument error
ha-shellies-discovery - 0.27.1

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • small fixes
ha-shellies-discovery - Version 0.27.0

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • add minimal firmware version check
  • add RSSI sensor for AC powered devices, firmware 1.8.0 required
  • add SSID sensor for AC powered devices, firmware 1.8.0 required
  • firmware update sensor uses data from info topic for AC powered devices, firmware 1.8.0 required
ha-shellies-discovery - Version 0.26.3

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • fix firmware_update sensor
ha-shellies-discovery - Version 0.26.2

Published by bieniu about 4 years ago

Downloads for this release

Changelog:

  • add DEVICE_CLASS_BATTERY_CHARGING attribute to charge sensor (Shelly Sense)