Commit graph

79 commits

Author SHA1 Message Date
1890036b6c Fix service deployment 2024-01-03 11:28:33 +01:00
b4e8258de1 Improve logging of dictionaries 2023-12-18 14:26:56 +01:00
d38abe28ba Move to python logging 2023-12-16 23:36:53 +01:00
5524d16f68 Limit amount of historical data loaded on start 2023-12-12 11:32:45 +01:00
33acd05b8a Partial manual merge of forgotten branch output-toggle 2023-12-12 11:29:44 +01:00
67a25eeef9 Rework and restructure MQTT 2023-12-10 23:59:50 +01:00
6c0f1c3d13 Allow reading and writing device name 2023-12-10 23:59:19 +01:00
4dc42ee6f5 Aggressively cache properties
which are not expected to change at run time
2023-12-10 23:54:13 +01:00
3aa6b13615 Fix writing of multiple words to charge controller 2023-12-10 23:52:38 +01:00
71919fc406 Make consumer aware of the charge controller 2023-12-10 23:50:34 +01:00
fe9c6a82ff Fix unpack, rework main to use ChargeController 2023-12-10 16:08:28 +01:00
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