Skip to content

Releases: StyraHem/ShellyForHASS

Release 0.1.7 (Beta 6)

26 Mar 22:54
Compare
Choose a tag to compare
Pre-release

Breaking changes

  • "_attr" removed from all sensors entity_id, if you have automation, lovelace ref please update them
  • POWER_DECIMALS setting have been removed, use settings instead for same result:
shelly:
 settings:
   current_consumption: { decimals:2 }

Changes

  • Fix rollers/cover problem when not position or calibrated
  • Remove _attr from entry_id for sensors
  • Add settings for decimals, division, and unit for all number sensors and attributes

Examples

shelly:
 settings:
   temperature: { decimals: 1 }
   current: { decimals:0, div:1000, unit:'mA' }  #Show current as mA
 devices:
   - id: 123456
     settings:
       total_consumption: { decimals: 3, div:1000000, unit:'MWh' }   #Show MWh for a specific device

Types and default settings

value unit decimals divider
temperature °C 0
device_temp °C 0
illuminance lux 0
humidity % 0
total_consumption kWh 2 1000
total_returned kWh 2 1000
current_consumption W 0
current A 1
humidity % 0
voltage V 0
power_factor 1
uptime h 0 3600
rssi dB 0
  • POWER_DECIMALS not working anymore, use settings instead
  • Add unit to attributes (can be removed using settings)

Release 0.1.7 (Beta 5)

24 Mar 23:45
Compare
Choose a tag to compare
Pre-release

Changes

  • Fix bug #229, the behavior of host_ip changed. Now ShellyForHass binds to all network interfaces (CoAP and mDns) and host_ip is used for ADD_MEMBER IGMP messages. I think this will work for everyone, please let me know if b4 work but not b5.

Release 0.1.7 (Beta 4)

24 Mar 16:28
Compare
Choose a tag to compare
Pre-release

Changes

  • Fix a bug when converting from config.yaml to database settings and restart #226

Release 0.1.7 (Beta 3)

17 Mar 22:24
aa29cd8
Compare
Choose a tag to compare
Pre-release

Changes

  • Fix problem with unavailable
  • Increase timeout for Shelly cloud
  • Split sensor settings in two dialogs
  • Update to pyShelly 0.1.23
  • Fix color temp bug

Release 0.1.7 (Beta 2)

13 Mar 23:51
Compare
Choose a tag to compare
Pre-release

Changes

  • Add protocols attribute that shows all working protocols (CoAP-discovery, CoAP-msg, poll, mDns)
  • Remove discovery src (replaced by protocols)
  • Format firmware version nicer - v0.0.1 (200313)
  • Bug when using host_ip and igmp-fix
  • Set host_ip to ha to get the same address that Home Assistant use (get_local_ip)
  • Add consumption for lights
  • Bug with total consumption and total returned fixed
  • Show fewer attributes on sub sensors (consumption, RSSI, Uptime, etc)
  • Power_decimals on device level

Release 0.1.7 (Beta 1)

03 Mar 22:25
1d17faf
Compare
Choose a tag to compare
Pre-release

Important

This is the first beta and it is not tested 100%. We release it so you can test the full support for integration in HA. You can continue to use config.yaml or change to new GUI integration. Some configurations only supported in config.yaml, this is especially device-specific settings.

Please not test on a critical system and take a backup before installing it.

Changes

  • Full support for HA integration
  • Support convert config.yaml to GUI integration
  • Support multiple instances
  • Add support for Shelly Duo
  • Add support for Shelly 3EM
  • Add sensors and attributes for voltage, total_returned, phase_factor etc

Fixed bugs

  • Consumption calculation fixed
  • Fix a problem that causes devices not to be unavailable when removed
  • Lot other small bug fixes

Release 0.1.6

04 Feb 11:08
9b7fa3f
Compare
Choose a tag to compare

Breaking changes

  • Entity-id for all sensors of type binary has changed to binary_sensor
  • Entity-id for consumption sensor has changed from consumption to current_consumption
  • Note! history will be lost for renamed devices
  • Default attributes have changed to decrease database activity, can be configured by attributes setting

New devices / support:

  • Temp addon for Shelly 1/PM
  • Shelly Door/Window
  • Consumption for Shelly Dimmer added
  • Support devices with long id (full mac-address)

New functions

  • Support HA integration framework (will be available under config/integration in HA)
  • Device temperature for more sensors
  • Total consumption added as attribute and sensor
  • Better integration with HACS
  • Keep state and values for battery devices when restarting HA
  • Configuration for visible attributes added
  • Connection to Shelly cloud now retry if got, "Request limit reached!" error from Shelly cloud (bug)
  • Clean up old entities when starting

Bug fixes

  • Better polling of battery devices
  • Roller/cover current_consumption bug fixed
  • Add missing switch sensor and attribute for RGBW2
  • Shelly EM read current correct

Release 0.1.6 (Beta 10)

03 Feb 22:53
Compare
Choose a tag to compare
Pre-release

Changes

  • Fix total consumption unit ( kWh -> Wh)
  • Rename sensors _consumption to _current_consumption
  • Add hacs.json info to release to set HA version required etc.

There is lots of news in this version that I want everyone to install. I have made the most important fixes so we can release this version after this beta.

Release 0.1.6 (Beta 9)

25 Jan 23:28
Compare
Choose a tag to compare
Pre-release

Changes

  • Restore battery devices after HA reboot
  • Total consumption added (kWh)
  • Attribute list configurable, select what attributes to read
  • Roller/cover current_consumption bug fixed
  • Add missing switch sensor and attribute for RGBW2
  • Retry connection to Shelly cloud because bug in cloud
  • Fix room bug, now visible for all devices
  • Clean up old Shelly entities that have changed name sensor > binary_sensor
  • Cahnge icons on some sensors to separate them from others
  • Sensor payload added (Show last CoAP message for debugging)
  • Fixed other bugs
shelly:
  sensors:
    - all
  attributes:
    - default  
#default = ip_address, shelly_type, shelly_id, has_firmware_update,
#                cloud_status, switch, over_power, over_temp, battery

Sensors available:

all #include all sensors
rssi
power
consumption #include current and total consumption
current_consumption
total_consumption #new sensor!
uptime
over_power
device_temp
over_temp
cloud
mqtt
battery
switch

Attributes available:

all  #include all sensors, except payload
default  #include most important attributes (low db activity)
ip_address
shelly_type
shelly_id
ssid
rssi
uptime
has_firmware_update
latest_fw_version
firmware_version
cloud_enabled
cloud_connected
mqtt_connected
cloud_status
switch
consumption
total_consumption  #New sensor
current_consumption
over_power
device_temp
over_temp
battery
payload  #Show last CoAP message for debugging

Release 0.1.6 (Beta 8)

23 Jan 18:19
Compare
Choose a tag to compare
Pre-release

Changes:

  • Changed the Cloud connected sensor back to sensor type (not binary_sensor)
  • When start it remove all old entities that have changed type in this releases (sensor/binary_sensor)