Commit graph

28 commits

Author SHA1 Message Date
efddfd60cb Handle CRC too short in readMemory 2022-01-26 21:01:55 +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
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
7a61f60ecc Identified internal_temperature and charge_max_current 2021-11-08 11:33:47 +01:00
6cbf480307 Catch struct unpack error 2021-11-08 04:32:49 +01:00
5e87e3edd6 Refractor some. Add parsing of historical data. 2021-11-08 04:29:43 +01:00
2cef664c7f Fix temperature parsing when below zero 2021-11-06 19:54:50 +01:00
985f63d237 Fix construct_request 2021-11-05 06:58:12 +01:00
c91c819a42 Refractor to use feasycom_ble 2021-11-05 06:51:35 +01:00
30246b9355 Split out BTLEUart to separate module 2021-11-05 06:21:01 +01:00
f652613ecc flake8 and isort don't quite agree on sorting order 2021-11-05 06:06:29 +01:00
cf294d18d6 Add timeout to read function
Fix __exit__
2021-11-05 03:01:43 +01:00
d60a07dfcc Implement wrapper class for the BTLE UART 2021-11-04 01:52:48 +01:00
7e95fd4074 Render memory map from dump log 2021-11-03 22:25:39 +01:00
0ee53a73ea Make sure to flush stdout + some refractoring 2021-11-03 04:35:49 +01:00
06453f90e1 Reconnect if the BLE connection dies 2021-11-02 23:48:06 +01:00
c367d642d8 Start properly documenting the protocol 2021-11-02 04:26:40 +01:00
c7e97aca84 Tool assisted code formatting 2021-10-31 18:14:22 +01:00
630b3eaa56 Initial commit 2021-10-31 16:33:56 +01:00