Commit Graph

307 Commits

Author SHA1 Message Date
hjelev
6b0a36d45c update 2022-03-18 23:55:45 +02:00
hjelev
b7fd1fd1bf formatting 2022-03-17 01:42:23 +02:00
hjelev
f6c5c5d567 formatting 2022-03-17 01:38:32 +02:00
hjelev
34823d0204 installation script 2022-03-17 00:51:10 +02:00
hjelev
2e2c55dfc7 update install scr 2022-03-17 00:46:41 +02:00
hjelev
5a022c7f64 update install scripts to install pip and mqtt module 2022-03-17 00:42:06 +02:00
hjelev
3454fbf0d2 Remote installation script 2022-03-17 00:04:20 +02:00
hjelev
db18962ba8 installation script 2022-03-16 23:55:54 +02:00
hjelev
1422c79fde Dockerfile 2022-03-16 22:20:18 +02:00
Masoko
26569df4df Merge pull request #7 from hjelev/add-license-1
Create LICENSE
2021-12-12 16:45:44 +02:00
Masoko
abb6bc96f6 Create LICENSE 2021-12-12 16:45:32 +02:00
Masoko
dfe706670b Merge pull request #6 from nivg1992/ha_relate_entity_to_device
adding a device details to home assistant discovery message
2021-12-10 17:20:05 +02:00
Niv Gabay
147d042cdf home assistent discovery message, adding a device details 2021-12-10 00:26:46 +02:00
Hristo Jelev
ae5397356b cleanup 2021-11-17 00:07:28 +02:00
Hristo Jelev
083521e69c typos 2021-11-17 00:01:58 +02:00
Hristo Jelev
07901e8b0a formatting 2021-11-16 23:42:27 +02:00
Hristo Jelev
b62fa8e47c formatting 2021-11-16 23:25:26 +02:00
Hristo Jelev
e298c4da3f update again cpu temp cmd 2021-10-06 00:01:03 +03:00
Hristo Jelev
c00490fa82 revert changes 2021-10-05 23:45:44 +03:00
Hristo Jelev
d1efa45be5 change cpu temp command 2021-10-05 23:38:53 +03:00
Masoko
6cc3b62c7f Update rpi-cpu2mqtt.py
:-)
2021-10-05 00:38:16 +03:00
Masoko
19b63c3715 Update rpi-cpu2mqtt.py 2021-10-05 00:37:34 +03:00
Hristo Jelev
09606007f3 remove commented cpu temp command 2021-10-05 00:30:44 +03:00
Hristo Jelev
88a8851b40 updated cpu command so it runs also for ubuntu 2021-10-05 00:26:51 +03:00
Hristo Jelev
7e7fa9d913 fixed memory % bug 2021-09-23 22:06:59 +03:00
Hristo Jelev
ab85c3b015 fixed memory % bug 2021-09-23 21:09:29 +03:00
Hristo Jelev
d81563b451 fixed memory % bug 2021-09-23 15:47:08 +03:00
Hristo Jelev
85d5d3a375 note update 2021-09-23 13:52:05 +03:00
Hristo Jelev
a66557f1f1 added rpi-mqtt-monitor.iml to gitignor 2021-09-23 13:34:21 +03:00
Masoko
4f7181003f rpi cpu temp optional 2021-09-08 12:26:16 +01:00
Masoko
c27fa6a540 Merge pull request #4 from olexs/patch-2
Correctly parse system load on locales with "," as decimal point
2021-04-21 00:31:32 +03:00
Olex S
73beb0231f Correctly parse system load on locales with "," as decimal point
On my RPi with German locale the output of `uptime` looks like this:

` 12:56:38 up 4 days, 15:35,  3 users,  load average: 0,24, 0,24, 0,16`

Default implementation cuts off the decimal point during parsing, resulting in very low CPU load accuracy being reported.

Fix is a single character. Corrected version works both on German and English locales.
2021-04-20 12:58:28 +02:00
Hristo
b9ebfb1375 set default discovery_messages = true and group_messages = False 2021-04-13 21:56:48 +03:00
Masoko
2c79f736fd added coding: utf-8 for python 2 compitability 2021-04-13 09:04:58 +01:00
Masoko
e40b5e364d Merge pull request #3 from leaskovski/master
Added HA MQTT Discovery functionality
2021-04-13 09:38:56 +03:00
leaskovski
368beafc6f Changed the default setting of discovery_messages 2021-04-09 10:43:40 +01:00
leaskovski
4e4f4bc7c2 Updated Readme to define the new discovery_messages setting. 2021-04-09 10:42:24 +01:00
leaskovski
0c1ab54048 Updated unit of measure for uptime to days 2021-04-08 09:05:44 +01:00
leaskovski
aeb4be4edb Fixed my bad python if code 2021-04-07 23:23:50 +01:00
leaskovski
a4fb6eba32 Added in other discovery broadcasts 2021-04-07 23:16:07 +01:00
root
428a189dc5 Made some changes to fix individual broadcasts not working, also got the inital MQTT discovery implementation working 2021-04-07 22:59:11 +01:00
leaskovski
b7f053a789 Started adding in MQTT discovery broadcasts 2021-04-06 21:47:37 +01:00
leaskovski
3013d01f4b Added config setting to enable MQTT discovery messages 2021-04-06 20:22:11 +01:00
Hristo Jelev
d866d2d175 cpu load formating 2020-12-17 20:05:44 +02:00
Masoko
6b06536d0b Delete rpi-cpu2mqtt-3.py 2020-12-17 20:00:01 +02:00
Hristo Jelev
da1c95b184 update comments 2020-12-17 19:57:38 +02:00
Hristo Jelev
722b6694fd add python 3 compitability 2020-12-17 19:51:54 +02:00
Hristo Jelev
fdb381b5a5 update 2020-12-16 00:27:03 +02:00
Hristo Jelev
583d2f88f1 update 2020-12-16 00:25:54 +02:00
Hristo Jelev
421a01fa2b update 2020-12-16 00:12:32 +02:00