github StyraHem/ShellyForHASS 0.1.9
Release 0.1.9

latest releases: 1.0.5, 1.0.5.beta.1, 1.0.3.beta.2...
4 years ago

GitHub Releases

Changes

New devices added

  • Shelly Air
  • Shelly Button 1 #335
  • Shelly Dimmer 2 #352
  • Shelly Door/Window 2
  • Shelly Gas
  • Shelly i3 #323

Support for new click-events

This release support new click events from Shelly. Values of click_type: single, double, triple, long, short-long, long-short. The last event will also be stored as attributes for the switch entity. To get the events the switch sensor must be enabled.

{
    "event_type": "shellyforhass.click",
    "data": {
        "entity_id": "binary_sensor.shelly_xxxxxxxxxxxxx_switch",
        "click_type": "single"
    },
    "origin": "LOCAL",
    "time_fired": "2020-07-19T17:35:33.688248+00:00",
    "context": {
        "id": "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy",
        "parent_id": null,
        "user_id": null
    }
}

New attributes

  • click_type
  • click_count
  • tilt #309
  • vibration #309
  • temperature
  • illuminance
  • ppm
  • sensor
  • total_work_time

New sensors

  • click_type
  • tilt #309
  • vibration #309
  • temperature
  • illuminance
  • ppm
  • total_work_time

New languages

  • French
  • Italian

MQTT light server

A light MQTT server is added to help when CoAP/mDns not working. This is the case when have different WLAN or router/AP not route multi cast.

Enable the MQTT server and setup the MQTT setting in the Shelly you will have instant update of the Shelly in HA. You must NOT enable the "Custom MQTT prefix". The rest of the setting can be the default.

image

Setting

mqtt_port specify what port the internal mini MQTT server should listen to, default disabled. The setting is available in the config.yaml and HA GUI.

shelly:
     mqtt_port: 9955

Other

  • Fix bug so update_firmware is executed asynchronously
  • Fix problem with switch going back to the current value before update to correct #296
  • Bug show the wrong temp when have Shelly using Farenheight #287
  • Add cache for Shelly cloud so it works with naming if Shelly cloud not is available
  • Create a light entity when a device configured as light in the Shelly app #155
  • Using the new entity classes in HA (backward compatible) #350 #306
  • Fix entry_id overwritten after a restart of HA when named to "_power" #257

Don't miss a new ShellyForHASS release

NewReleases is sending notifications on new releases.