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