Open mavenius opened 3 weeks ago
The renogy-bt project has a concept of sections for requesting different types of data from the BLE connection. E.g. for batteries:
self.sections = [ {'register': 5000, 'words': 17, 'parser': self.parse_cell_volt_info}, {'register': 5017, 'words': 17, 'parser': self.parse_cell_temp_info}, {'register': 5042, 'words': 6, 'parser': self.parse_battery_info}, {'register': 5122, 'words': 8, 'parser': self.parse_device_info}, {'register': 5223, 'words': 1, 'parser': self.parse_device_address} ]
We are currently only getting data from the first section.
Actually, the other sections are mostly for info we already know. Temp might be nice, but not sure of the value in the others.
The renogy-bt project has a concept of sections for requesting different types of data from the BLE connection. E.g. for batteries:
We are currently only getting data from the first section.