Commit graph

68 commits

Author SHA1 Message Date
f0c2057428 Implement more getters in ChargeController 2023-12-10 13:51:07 +01:00
4bb77c3bb3 Add fixme comments 2023-12-09 19:17:27 +01:00
5599cb6f43 Properly implement writing memory
Start implementing abstraction class
2023-12-09 18:57:37 +01:00
6544864741 Make sure DataName returns the correct value 2023-12-09 16:46:52 +01:00
b33a466c4f Add restarting systemd service to deploy 2023-12-09 16:37:09 +01:00
9bb8e2e02e Make sure DataName returns the correct value 2023-12-09 16:36:25 +01:00
457e7cf8a3 Fix mypy issues 2023-12-09 16:35:45 +01:00
8282ec3956 Add tool for dumping memory map 2023-12-09 11:48:53 +01:00
f2d59fac94 Correct ACTION_WRITE 2023-12-08 20:51:58 +01:00
abbdd47c9d Add systemd unit 2023-12-08 16:13:47 +01:00
3c8942b485 Configure pytest 2023-12-08 13:45:38 +01:00
7977d89abf mypy: ignore missing hints in external 2023-12-08 13:45:05 +01:00
b6a62d123d Autoformat 2023-12-08 12:36:26 +01:00
140acba1f5 Update connector doc 2023-04-08 00:33:02 +02:00
3a8fd634c5 Fix interface import 2023-04-08 00:22:14 +02:00
80bfd414ec Implement get_interface 2023-04-07 23:57:37 +02:00
1ccea2bf9c Move files 2023-04-07 23:26:55 +02:00
7ab0b1ce62 Add serial test scripts 2023-04-07 21:13:32 +02:00
fa9d5d73c4 WIP: Initial work on configurable source device 2023-01-10 03:09:56 +01:00
82ee08a1d7 Refactor 2023-01-07 22:18:30 +01:00
59fc5e4fa9 Move main executable code to __main__ 2023-01-07 19:02:34 +01:00
f7386d31d2 Fix module relative importing of consumer 2023-01-07 19:01:03 +01:00
ad51e0debe Add StdoutConsumer 2023-01-07 18:59:36 +01:00
4d96174cfa Refactor 2023-01-07 18:24:41 +01:00
853ee3db4a Rename 2023-01-04 18:20:43 +01:00
114908de85 Rename 2023-01-04 18:20:37 +01:00
83d26c9acf Rename 2023-01-04 18:16:22 +01:00
441e820ac4 Start organizing file structure 2023-01-04 18:05:09 +01:00
0b3a38276a Add reference links to readme 2023-01-04 17:58:42 +01:00
ea37cdd31a Update deploy script 2023-01-04 17:58:19 +01:00
61c186afce Add documentation on the physical connector 2022-12-31 03:51:47 +01:00
f030b460c8 Retry mqtt connection on unreachable network 2022-03-09 23:59:00 +01:00
1e41bdd2dc Add deployment script 2022-01-26 21:04:48 +01:00
efddfd60cb Handle CRC too short in readMemory 2022-01-26 21:01:55 +01:00
00fb5f1dee Add mqtt reconnect handling 2022-01-26 20:41:59 +01:00
b5740d78c8 Make sure calculations are done using Decimal 2021-11-29 20:42:54 +01:00
0cd5872fb6 Avoid float calculation artifacts 2021-11-20 10:11:32 +01:00
b2f29ec263 Add calculated power values
for Battery, Panel and Load.
Should give better resolution than the integer panel and load numbers.
2021-11-20 09:12:21 +01:00
f7e359af6d Improve read reliability 2021-11-20 09:00:28 +01:00
b008f524bf Retry on read error 2021-11-18 23:38:52 +01:00
57709242fa Move types to separate file, start using enum 2021-11-18 23:09:46 +01:00
50978111c5 Hook MQTT up to the live data feed 2021-11-14 04:46:17 +01:00
a5eb518b8b Fix requirements 2021-11-14 04:45:28 +01:00
4fdb36efc0 More mqtt 2021-11-14 03:32:30 +01:00
71680e9976 Start implementing MQTT client 2021-11-14 01:55:43 +01:00
9b4f424de1 Render RRD graphs 2021-11-14 01:54:00 +01:00
6e28343a08 Add function to humanize numbers 2021-11-08 22:41:17 +01:00
4266893111 Refractor data parsing functions 2021-11-08 21:41:47 +01:00
b168b5120f Flush read buffer on decode error 2021-11-08 21:40:12 +01:00
9fc8db577a Improved periodical to forgive skipped beats 2021-11-08 21:39:21 +01:00