Skip to content

v0.6.0

Compare
Choose a tag to compare
@chinezbrun chinezbrun released this 07 Oct 18:41
· 61 commits to main since this release

Major release

This release come with possibility to have in Home Assistant multiple devices from all systems where pytes serial is running. Meaning that, as of this release you can have more pytes serial running in different hosts/location and the output to be captured in Home Assistant as multiple devices.

Main changes:

  • new: Home Assistant device name can be customised now in config file (i.e pytes, pytesone, pytestwo, pylon ...) -- close #20
  • fix: wrong 100% SOC display in log files -- close #19
  • fix: sensor nickname display for HomeAssistant -- close #21
  • change: renamed one json field name for better alignment with pylon ('pytes' to 'devices')

Compatibility:
This release doesn't work with previous config files, as a new section was added. Backward compatibility is ensured for HA, MariaDB (sensors and records), but you need to pay attention to config file that was changed.
If you have only one pytes serial that is running the changes are minimal for you and you will not notice the differences except bugfixes #19, #21.

Home Assistant:
For the auto discovered sensors, backward compatibility is ensured if default values in new section are kept.
If you have sensors, manually declared in Home Assistant, please re-check the yaml file, they may be affected as the JSON file format was changed.

MariaDB: if two or more pytes serial instances are running you need to create an additional table in the database for each and to have corresponding settings in the individual configuration file too.

MQTT: if two or more pytes serial instances are running state topic will be in line with each device name