Commit graph

79 commits

Author SHA1 Message Date
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
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
2578fdca75 Fancy text tables 2021-11-02 23:43:16 +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
d8f3a16a45 Add tooling configs 2021-10-31 18:11:48 +01:00
630b3eaa56 Initial commit 2021-10-31 16:33:56 +01:00