Commit Graph

79 Commits

Author SHA1 Message Date
Odd Stråbø b008f524bf Retry on read error 2021-11-18 23:38:52 +01:00
Odd Stråbø 57709242fa Move types to separate file, start using enum 2021-11-18 23:09:46 +01:00
Odd Stråbø 50978111c5 Hook MQTT up to the live data feed 2021-11-14 04:46:17 +01:00
Odd Stråbø a5eb518b8b Fix requirements 2021-11-14 04:45:28 +01:00
Odd Stråbø 4fdb36efc0 More mqtt 2021-11-14 03:32:30 +01:00
Odd Stråbø 71680e9976 Start implementing MQTT client 2021-11-14 01:55:43 +01:00
Odd Stråbø 9b4f424de1 Render RRD graphs 2021-11-14 01:54:00 +01:00
Odd Stråbø 6e28343a08 Add function to humanize numbers 2021-11-08 22:41:17 +01:00
Odd Stråbø 4266893111 Refractor data parsing functions 2021-11-08 21:41:47 +01:00
Odd Stråbø b168b5120f Flush read buffer on decode error 2021-11-08 21:40:12 +01:00
Odd Stråbø 9fc8db577a Improved periodical to forgive skipped beats 2021-11-08 21:39:21 +01:00
Odd Stråbø 7a61f60ecc Identified internal_temperature and charge_max_current 2021-11-08 11:33:47 +01:00
Odd Stråbø 6cbf480307 Catch struct unpack error 2021-11-08 04:32:49 +01:00
Odd Stråbø 5e87e3edd6 Refractor some. Add parsing of historical data. 2021-11-08 04:29:43 +01:00
Odd Stråbø 2cef664c7f Fix temperature parsing when below zero 2021-11-06 19:54:50 +01:00
Odd Stråbø 985f63d237 Fix construct_request 2021-11-05 06:58:12 +01:00
Odd Stråbø c91c819a42 Refractor to use feasycom_ble 2021-11-05 06:51:35 +01:00
Odd Stråbø 30246b9355 Split out BTLEUart to separate module 2021-11-05 06:21:01 +01:00
Odd Stråbø f652613ecc flake8 and isort don't quite agree on sorting order 2021-11-05 06:06:29 +01:00
Odd Stråbø cf294d18d6 Add timeout to read function
Fix __exit__
2021-11-05 03:01:43 +01:00
Odd Stråbø d60a07dfcc Implement wrapper class for the BTLE UART 2021-11-04 01:52:48 +01:00
Odd Stråbø 7e95fd4074 Render memory map from dump log 2021-11-03 22:25:39 +01:00
Odd Stråbø 0ee53a73ea Make sure to flush stdout + some refractoring 2021-11-03 04:35:49 +01:00
Odd Stråbø 06453f90e1 Reconnect if the BLE connection dies 2021-11-02 23:48:06 +01:00
Odd Stråbø 2578fdca75 Fancy text tables 2021-11-02 23:43:16 +01:00
Odd Stråbø c367d642d8 Start properly documenting the protocol 2021-11-02 04:26:40 +01:00
Odd Stråbø c7e97aca84 Tool assisted code formatting 2021-10-31 18:14:22 +01:00
Odd Stråbø d8f3a16a45 Add tooling configs 2021-10-31 18:11:48 +01:00
Odd Stråbø 630b3eaa56 Initial commit 2021-10-31 16:33:56 +01:00