* added optional expiry time
* optionally use availability messages
* exclude git_update from expiry/availability
it's running at a different update rate
- Prompt user for mqtt_uns_structure during installation and update src/config.py accordingly.
- Implement uninstall function in remote_install.sh to remove the rpi-mqtt-monitor directory, cron job, and systemd service.
- Update rpi-cpu2mqtt.py to utilize mqtt_uns_structure for state topics, ensuring proper MQTT topic structure.
- Modify config.py.example to include mqtt_uns_structure with a default empty value.
Co-authored-by: Sam Blackman <sam@samuelblackman.com>
* proof of principle, a DS18B20 is read and its value is transferred via MQTT, also discovery message works
* added names for ext sensors
* bugfix for names: there was a problem with the topics & added SHT21 support
* catch exceptions if a problem during readout occurs, shrink comments in config-file
* include ext_sensors in README file
* work in progress
* bugfix, also for ID of ds18b20 sensor
* Revert "bugfix, also for ID of ds18b20 sensor"
This reverts commit 1353b840b0b6142670ec59438db4b33fab764b8e.
file was intended for another branch
* Revert "work in progress"
This reverts commit b3e884f79f5356b79f64931cb4d45a150bfce2c7.
these changes were intended for another branch
* bugfix for ID of ds18b20 sensor
* Added data["device_class"] = "temperature" to align with other temperature values.
* Device_Class = temperature also for device + "_temp"
* Added some more device_classes: voltage, frequency, duration, signal_strength
Changed 'check_cpu_temp' to work with locale "DE" and showing 2 digits
(maybe this needs to be double checked on different systems/hardware)
* Bugfix: changed unit_of_measurement from days to d
to suppress warning: ... using native unit of measurement 'days' which is not a valid unit for the device class ('duration') it is using; expected one of ['h', 'ms', 'd', 's', 'min']; in homeassistant log