Skip to content

Releases: eschava/psmqtt

2.2.3: Long-term HA statistic support Latest

25 Feb 23:40
Compare
Choose a tag to compare

This release adds "state_class" attribute to HA discovery messages to support Statistics (min/mean/max), see #83.
The default value for the "state_class" attribute is "measurement" which is typically the state_class you want.

2.2.1: Minor bugfixes

10 Feb 16:23
Compare
Choose a tag to compare

This is a bugfix release mainly improving HomeAssistant integration:

  • the "unit_of_measurement" field is now checked to avoid errors on HomeAssistant-side.
  • improved sensor behavior in case of HomeAssistant restart.

What's Changed

  • Add docs about PSMQTT status topic by @f18m in #78
  • Update dependency testcontainers to v4.9.1 by @renovate in #77
  • Update dependency pyyaml to v6.0.2 by @renovate in #76
  • Validate the unit_of_measurement field by @f18m in #81
  • reduce CPU and memory usage by running a single application thread by @f18m in #82

Full Changelog: 2.2.0...2.2.1

2.2.0: Home Assistant MQTT discovery message support

03 Feb 23:23
Compare
Choose a tag to compare

What's Changed

This release is featuring improved integration with HomeAssistant thanks to the generation of MQTT discovery messages (as optional feature).
Please check the usage page for more details on how to enable and configure this new feature.

Links to PRs

  • Miscellaneous improvements by @f18m in #74
  • Create a Schedule class to improve code structure by @f18m in #75
  • Add option to publish MQTT discovery messages for HomeAssistant by @f18m in #73

Full Changelog: 2.1.0...2.2.0

2.1.0: Improved SMART task handler

30 Jan 09:49
Compare
Choose a tag to compare

Breaking Change

This release contains a breaking change: the join-wildcard up to 2.0.0 was the combination of asterisk and semicolon "*;".
This has been changed to just the plus sign "+" to make the wildcard look a bit more standard and intuitive.

What's Changed

This release is featuring

  • improved SMART handler; see the Usage Docs for all details; now it's possible to publish SMART tests and SMART attributes (more easily)

  • improved robustness against MQTT broker disconnections; visibility on the number of MQTT messages published successfully

  • internal refactors

  • Handle broker down by @f18m in #67

  • Split-handlers by @f18m in #68

  • improve SMART handler by @f18m in #69

Full Changelog: 2.0.0...2.1.0

2.0.0: Major new release

27 Jan 23:50
5071745
Compare
Choose a tag to compare

This release is a major refactor of psmqtt.
The most important change is that psmqtt now uses a YAML configuration file with a (hopefully) more user-friendly interface to configure tasks (i.e. sensor data to be published) and task parameters.
Documentation has been revamped.
Several new features have been added like:

  • simplified logging configuration (via psmqtt.yaml)
  • psmqtt status reporting (num successful&failed tasks; num of MQTT broker disconnections)
  • documented support for S.M.A.R.T. attribute publishing
  • version flag (--version)

Migrate your psmqtt.conf to psmqtt.yaml

You will likely want to pick the default psmqtt.yaml file and delete all configurations that don't care about (the default psmqtt.yaml contains all default values and the vast majority of the settings are actually optionals).
The conversion of the tasks from psmqtt.conf to YAML is best done by taking the time to read https://github.com/eschava/psmqtt/blob/master/doc/usage.md#Tasks.

Feedback is Welcome

Please open a Github issue for any issue you encounter with this new major version. Feedback is welcome!

What's Changed

  • Add basic integration tests by @f18m in #63
  • Switch to a YAML-based configuration file format by @f18m in #64
  • Improve and align docs to the new YAML config file format by @f18m in #62
  • Address several FIXMEs in the code by @f18m in #65
  • fix source install docs by @f18m in #66

Full Changelog: 1.1.0...2.0.0

1.1.0: Maintenance release

20 Jan 09:25
7d2621d
Compare
Choose a tag to compare

This release contains a number of upgrades of internal libraries for both security and increased quality (bugfixes).
This release also adds the ability to extract SMART data from hard drives when using Docker for deployments (using a new "root" variant of the docker image; see README for more info).

What's Changed

  • Add basic Renovate bot config by @f18m in #43
  • Fix lack of secrets in dependabot PRs by @f18m in #46
  • Bump jinja2 from 3.1.3 to 3.1.4 by @dependabot in #44
  • Fix requirements.txt to use Paho 2 by @chavaone in #48
  • Bump jinja2 from 3.1.4 to 3.1.5 by @dependabot in #57
  • Update public.ecr.aws/docker/library/python Docker tag to v3.13 by @renovate in #54
  • Update dependency paho-mqtt to v2.1.0 by @renovate in #52
  • Update dependency python-dateutil to v2.9.0.post0 by @renovate in #53
  • Add root variant of docker image by @f18m in #59
  • Bump pySMART by @f18m in #60
  • Fixes Unit tests do not run in CI #58 by @f18m in #61
  • Update dependency psutil to v6 by @renovate in #55

New Contributors

Full Changelog: 1.0.0...1.1.0

1.0.0: First official release

06 May 12:33
d93a7dd
Compare
Choose a tag to compare

First release

This is the first official release on GitHub of this project. The project was created in Mar 23, 2016 and since then has grown its user base, as demonstrated by the several contributors that over the past 8 years contributed improvements and bugfixes.
This release version 1.0.0 indicates that the project is stable.
Recent additions include: a new Github pipeline to validate formatting and Python dependencies, plus automatic docker image creation and publishing on Github Container Registry (ghcr.io). Check out the README for more info.

New Contributors

Full Changelog: https://github.com/eschava/psmqtt/commits/1.0.0