keshavdv / victron-ble

A Python API to parse Victron Instant Readout BLE advertisements
The Unlicense
102 stars 34 forks source link

Add support for Victron Phoenix inverters - with patch #33

Open madsci opened 1 year ago

madsci commented 1 year ago

Hello keshavdv

Thank you for the wonderful project and your invested hours.

I would like to provide a patch to support Phoenix inverters: victron_ble_0.6.0_inverter.patch

The structure of the bytestream has been taken from the official BLE documentation dated 2022-12-14.

Test data Dump: 100292a203459200516f083e6109b1c690d411 DK: 00e3ad74612f6edc337a74bb1ed8ab14

Actual values: device_state: <OperationMode.INVERTING: 9> alarm: 0 battery_voltage: 26.58 AC_apparent_power: 0 AC_voltage: 230.0 AC_current: 0.0

j9brown commented 9 months ago

Thanks for the patch! I had need of it too so I have applied it to my own fork of victron-ble.

See: https://github.com/j9brown/victron-ble