mavenius / renogy-bt-esphome

ESPHome implementation to pull data from BT-enabled Renogy devices
4 stars 1 forks source link

Not all battery info retrieved. #7

Open mavenius opened 3 weeks ago

mavenius commented 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.

mavenius commented 3 weeks ago

Actually, the other sections are mostly for info we already know. Temp might be nice, but not sure of the value in the others.