Commit Graph

324 Commits

Author SHA1 Message Date
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
Masoko e334be3dbf Merge pull request #65 from hjelev/dev
fix a bug in update due to separation
2024-02-01 23:54:09 +02:00
Hristo c1394d8891 fix a bug in update due to separation 2024-02-01 23:53:00 +02:00
Masoko 560c8af23e Merge pull request #64 from hjelev/dev
Separate update checks and have separate interval for them
2024-02-01 23:00:28 +02:00
Hristo 48efff480a Separate update checks and have separate interval for them 2024-02-01 22:59:18 +02:00
Masoko 72b58952e0 Merge pull request #63 from hjelev/dev
beautify the update message
2024-02-01 21:07:54 +02:00
Hristo 8207686344 beautify the update message 2024-02-01 21:03:59 +02:00
Masoko 3d3747b0a6 Merge pull request #54 from CFenner/noSleep
Remove sleep time
2024-02-01 20:21:02 +02:00
Masoko bc7ea5b3e0 Merge pull request #58 from CFenner/patch-6
Use default values for sensor
2024-02-01 20:20:24 +02:00
Masoko 765d9fd112 Merge pull request #62 from hjelev/dev
update readme.md and change state class for uptime sonsor to total_increasing
2024-02-01 20:13:29 +02:00
Hristo e78659a638 update readme.md and change state class for uptime sonsor to total_increasing 2024-02-01 20:11:58 +02:00
Masoko 27003bfc61 Merge pull request #61 from hjelev/dev
add new sensor uptime_seconds to --display function
2024-02-01 20:08:07 +02:00
Hristo ac4c40f0b2 add new sensor uptime_seconds to --display function 2024-02-01 20:07:04 +02:00
Christopher Fenner 6fc1d2b8cb Merge branch 'master' into noSleep 2024-02-01 19:06:57 +01:00
Masoko 34c5bf65b4 Merge pull request #57 from CFenner/patch-5
Rename update entity
2024-02-01 19:54:39 +02:00
Masoko b3e01aeaa3 Merge branch 'master' into patch-5 2024-02-01 19:54:26 +02:00
Masoko 4e51c3987c Merge pull request #49 from CFenner/patch-4
Add new sensor for uptime in seconds
2024-02-01 19:44:06 +02:00
Masoko 12d5941778 Update config.py.example 2024-02-01 19:43:26 +02:00
Masoko d51f6a0fd0 Merge pull request #60 from hjelev/dev
update readme.md and device description displayed in hass
2024-02-01 18:27:19 +02:00
Hristo 2045a4de33 update readme.md and device description displayed in hass 2024-02-01 18:24:58 +02:00
Masoko 0d1da89625 Merge pull request #59 from hjelev/dev
still fixing update system
2024-02-01 16:54:09 +02:00
Hristo 3240a195ea hotfix update system one more time 2024-02-01 16:52:33 +02:00
Hristo c47e069df9 hotfix update system one more time 2024-02-01 16:48:40 +02:00
Christopher Fenner 7a27c361c6 Merge branch 'master' into patch-4 2024-02-01 09:56:34 +01:00
Christopher Fenner aa700eb371 Update rpi-cpu2mqtt.py 2024-02-01 08:20:09 +01:00