Commit Graph

398 Commits

Author SHA1 Message Date
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
5bb219262b Update README.md 2024-05-09 00:09:40 +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
Masoko
6a1aff74ec update install script and add shortcut creation (#109) 2024-05-07 20:16:29 +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
1a9fe58f6f update install script and add shortcut creation (#101) 2024-04-25 00:12:04 +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
Hristo
0b99e04ea5 add requests module to requerements.txt 2024-02-11 23:00:50 +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
bc7ba4ec1c restart service after installation, helps in cases it was already running 2024-02-11 16:42:59 +02:00
Masoko
d3025234e0 make git repo usable for root user (#81) 2024-02-11 16:30:43 +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
Hristo
35f15f9799 full path for git binary 2024-02-11 14:17:53 +02:00
Masoko
adfc000b6c Hotfix (#79)
* fixing update again
2024-02-11 14:02:52 +02:00
Masoko
4800899970 Update README.md 2024-02-11 10:49:34 +02:00
Masoko
afbcdf75a8 Update README.md 2024-02-11 10:48:01 +02:00
Masoko
4bfc636c44 Update README.md 2024-02-11 10:46:43 +02:00
Masoko
8664d02e78 Dev (#78)
* edit paho client to support new versions of the modue - hope this is also good for old versions - need to test it

* set paho-mqtt to version 1.6.1
2024-02-11 10:35:30 +02:00
Hristo
6f086b7300 update version in config.py after installation 2024-02-10 16:00:22 +02:00
Hristo
9bf01c5b73 fix service file typo 2024-02-10 15:48:29 +02:00
Masoko
9c4ba19cbe Fix update system and restart (#77)
* clean code

* fix update and restart button, service needs to run as root for the restart to work
2024-02-10 15:23:57 +02:00
Christopher Fenner
09c2fa4cb9 Update rpi-cpu2mqtt.py (#74) 2024-02-06 21:53:55 +02:00
Christopher Fenner
17e5a99e4f Fix restart discovery topic (#73)
* Update rpi-cpu2mqtt.py

* Update rpi-cpu2mqtt.py
2024-02-06 21:53:22 +02:00
Masoko
1e43425461 Merge pull request #72 from hjelev/dev
updated service file as script was not starting properly after restart
2024-02-05 23:17:31 +02:00
Hristo
6f09ac3c13 updated service file as script was not starting properly after restart 2024-02-05 23:16:56 +02:00
Hristo
59258bb1fa remove last commit 2024-02-05 22:23:52 +02:00
Hristo
b8c57041af call the update function once when script starts 2024-02-05 21:37:49 +02:00
Masoko
9baf13af8b Merge pull request #71 from hjelev/dev
add payload_press configuration to make mqtt message differ
2024-02-05 21:02:29 +02:00
Hristo
dedc6595ca add payload_press configuration to make mqtt message differ 2024-02-05 21:01:40 +02:00
Masoko
f75c0a7f1d Merge pull request #70 from hjelev/dev
Add system restart button in home assistant
2024-02-05 20:15:04 +02:00
Hristo
1a6b3230fe Add system restart button in home assistant 2024-02-05 20:13:23 +02:00
Masoko
3b1f6f7ab3 Merge pull request #68 from hjelev/dev
improve code
2024-02-02 01:25:13 +02:00
Hristo
e231dd3ca7 improve code 2024-02-02 01:23:46 +02:00
Masoko
1484853190 Merge pull request #67 from hjelev/dev
fix a bug in update due to separation
2024-02-02 01:11:21 +02:00
Hristo
a3f0e090d7 fix a bug in update due to separation 2024-02-02 01:10:18 +02:00
Masoko
083783a928 Merge pull request #66 from hjelev/dev
fix a bug in update due to separation
2024-02-02 00:32:38 +02:00
Hristo
01c62a5e9a fix a bug in update due to separation 2024-02-02 00:31:45 +02:00