Commit Graph

405 Commits

Author SHA1 Message Date
Hristo
31f516a28c fix duplication 2025-03-26 21:20:45 +02:00
Masoko
edd618c543 Scheduling (#206)
* display scheduling method in -d output
2025-03-26 21:19:10 +02:00
Masoko
e3d41e3320 display scheduling method in -d (#205) 2025-03-26 20:26:44 +02:00
Masoko
f475efbe98 Bulgarian translation (#204) 2025-03-25 23:56:17 +02:00
Hristo
c5297bd358 remove comments 2025-03-24 18:25:14 +02:00
Hristo
f5cc950ee3 fix cpu temp for rpi 2025-03-24 18:10:32 +02:00
Masoko
8634179c31 use psutil for cpu temp (#200) 2025-03-23 18:39:14 +02:00
Masoko
850c57d872 use psutil for CPU load (#199) 2025-03-23 18:30:02 +02:00
Hagen Graf
3e46ef5d89 Improve error handling (#195)
* added optional expiry time

* optionally use availability messages

* exclude git_update from expiry/availability

it's running at a different update rate
2025-03-23 18:09:54 +02:00
Ginger-blackman
e5ef4dffbd Add mqtt_uns_structure configuration and uninstall functionality (#196)
- 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>
2025-03-19 22:21:12 +02:00
Masoko
3467987cec Update translations.ini
fix typo
2025-03-19 22:17:45 +02:00
pallago
0845403fa6 added translations for MQTT and partially display command (#180) 2025-03-07 15:29:06 +02:00
Masoko
e26f005cdb fix uptime device_class hass logs error (#177) 2024-12-08 17:18:55 +02:00
Hristo
d1f23a1a95 fix wifi_signal 2024-12-07 13:18:10 +02:00
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
Masoko
04909912d3 Update README.md 2024-11-16 22:26:12 +02:00
Masoko
f57ce0035d Update README.md 2024-11-16 22:18:14 +02:00
Masoko
fa0aa001c8 Update README.md 2024-11-16 22:11:08 +02:00
Masoko
1389b328e0 Update README.md 2024-11-06 00:14:41 +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
Hristo
3e05c4f763 readme update 2024-10-28 00:10:07 +02:00
Hristo
0c8e70e4d0 google verification remove 2024-10-28 00:00:59 +02:00
Hristo
90c0af37c8 google verification 2024-10-27 23:58:47 +02:00
Hristo
635b463659 update to do section 2024-10-27 23:54:49 +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
Hristo
f29227d7ed rpi power status 2024-10-24 21:34:10 +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
Hristo
11ab4b6387 whats new update 2024-10-19 17:02:36 +03:00
Masoko
56a8849045 check_memory fails if system language is different than EN: fix (#139) 2024-10-19 16:45:11 +03:00