Commit Graph

204 Commits

Author SHA1 Message Date
Masoko
3ff7f10fe9 add device class for wifi_signal (#176) 2024-12-07 12:58:19 +02:00
Masoko
d69ec4fe8d fix broken anchors in README.md (#175) 2024-12-07 12:10:01 +02:00
Masoko
3cf041f9f2 clean prints when sending via hass api (#173) 2024-12-07 00:59:24 +02:00
pallago
a4745ab9e5 Output File (#157)
* added output file to write some values to a text file

* bugfix, return statement was missing and also the description for the example is updated
2024-12-07 00:51:32 +02:00
sudhaus
87979326bc Allow overwriting of hostname from config (#170) 2024-12-07 00:50:31 +02:00
Masoko
7f6b386b81 fix updater (#169) 2024-12-04 23:18:57 +02:00
Masoko
3baa4f81bc Update display (#168)
Update display (-d) function so no empty values are displayed
2024-12-04 23:09:59 +02:00
Masoko
b9cb6dbca6 improve updater so new python modules are auto installed (#167) 2024-12-04 19:46:15 +02:00
Masoko
187198dd71 code clean up and rework (#166) 2024-12-04 18:36:16 +02:00
Hristo
9fa89c0f4b fix syntax error 2024-12-02 01:00:18 +02:00
Masoko
9de687f4b4 delete and update images (#165) 2024-12-02 00:58:40 +02:00
Masoko
429b05be18 Rename uptime_days to uptime and make it a timestamp (#164) 2024-12-02 00:38:28 +02:00
valère didon
0668b7d003 fix f-string delimiters in publish_to_hass_api (#161) 2024-12-01 21:49:05 +02:00
Masoko
be4b2a2c07 Support for Home Assistant API (no MQTT needed) Experimental feature (#160) 2024-12-01 16:23:55 +02:00
pallago
95fcc7f1db External sensors (#153)
* 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
2024-11-05 23:26:05 +02:00
Masoko
c1fdc09b87 cpu_thermal_zone is configurable now (#151) 2024-10-26 16:28:21 +03:00
Masoko
3103d2da47 apt updates sensor (#150) 2024-10-25 17:55:34 +03:00
Masoko
2958227b91 disaply internal IP & mac address in device info, hardware: section (#148) 2024-10-25 00:03:01 +03:00
Masoko
f23929f0a2 Feature/rpi power status (#147)
* rpi power status
2024-10-24 21:28:28 +03:00
Masoko
92363e65df rpi power status (#146) 2024-10-24 21:10:13 +03:00
pallago
5a6781a9ce added discovery prefix as configurable entry (#142) 2024-10-24 18:40:06 +03:00
Masoko
f395b1ca79 replace comma in cpu temp (#145) 2024-10-24 18:34:17 +03:00
AmSe2000
b615f7fc1f Some more Device_Classes and two digit CPU_Temp (#140)
* 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
2024-10-21 23:29:02 +03:00
Hristo
778c0b2285 formatting 2024-10-21 21:07:04 +03:00
Masoko
c0dd65510c fix cpu temp decimal point (#141) 2024-10-21 20:33:00 +03:00
Masoko
56a8849045 check_memory fails if system language is different than EN: fix (#139) 2024-10-19 16:45:11 +03:00
amse2000
315ef95c24 Device_Class for Temperature added (#137)
* Added data["device_class"] = "temperature" to align with other temperature values.

* Device_Class = temperature also for device + "_temp"
2024-10-19 16:33:36 +03:00
Masoko
ce5dc05493 Drive temps (#135)
* add drives temp sensors

* add drives temp sensors
2024-10-18 18:57:18 +03:00
Masoko
0e213c9797 set memory to 0 if no data is available (#134) 2024-10-18 15:08:50 +03:00
Masoko
e43428f8fd status sensor using will_set (#123) 2024-05-28 20:08:49 +03:00
Masoko
1d356c923c improve the output of rpi-mqtt-monitor -d, added install directory and relrease notes (#122) 2024-05-25 09:32:19 +03:00
Masoko
360a980732 option to enable display control during installation and some bugfixes (#119) 2024-05-24 19:27:11 +03:00
Masoko
ad6b240c14 bug fixes (#118) 2024-05-24 18:12:37 +03:00
Matt Nelson
b25293d419 Adds backslashes to fix python syntax warning (#117)
Signed-off-by: Matt Nelson <metheos@gmail.com>
2024-05-24 17:54:17 +03:00
Masoko
22fe4f7ca7 update readme.md (#112) 2024-05-09 00:04:06 +03:00
Masoko
a64c63113d Add support for systems with German language (#111) 2024-05-08 18:53:03 +03:00
Masoko
0d1ae214e3 add monitor control support (#110)
* add monitor control support

* removed useless code
2024-05-07 22:07:53 +03:00
Ahti Liin
5fe5d2a1c9 Sanitize hostname by replacing illegal topic characters (#105)
Co-authored-by: Ahti Liin <ahti@mooncascade.com>
2024-05-07 19:45:45 +03:00
Masoko
9953253593 handle cases where vednor information is missing (#98) 2024-04-14 18:32:20 +03:00
Markus Mayer
5411999fd0 Fix division by zero error when no Swap available (#92)
Resolves hjelev/rpi-mqtt-monitor#11

Co-authored-by: Masoko <jeleff@gmail.com>
2024-04-14 18:05:49 +03:00
Markus Mayer
332ec8b86b Fix memory statistics on Alpine Linux (#93)
On Alpine Linux, free doesn't have a -t option. This commit removes it.

Resolves hjelev/rpi-mqtt-monitor#91
2024-04-14 17:57:10 +03:00
Masoko
21fa1b8ae4 display home assistant wake on lan switch when argument --hass is used (#97) 2024-04-14 17:56:01 +03:00
Masoko
c1372c4d78 Improve code and threads handling (#90) 2024-02-13 23:17:27 +02:00
Masoko
5b8e6ee842 Improve release message display (#88) 2024-02-13 21:13:57 +02:00
Masoko
9dfefdcc03 Dev (#87)
* rework release notes capture not to use github api as it was hitting the rate limit

* add shutdown button
2024-02-13 20:56:48 +02:00
Masoko
ad286add7e replace request module with curl and subprocess (#85) 2024-02-11 23:24:41 +02:00
Masoko
9a40d342c8 clean up release notes to fit more data in 255 chars limit of the message (#84)
* clean up release notes to fit more data in 255 chars limit of the message
2024-02-11 22:50:10 +02:00
Masoko
2305c97ef0 add release notes to update message (#83) 2024-02-11 22:24:21 +02:00
Hristo
802a3abe2e remove debug loging 2024-02-11 15:55:15 +02:00
Masoko
b36961fada fix service by adding env variables to make update work properly (#80) 2024-02-11 15:51:56 +02:00