Fabian-Schmidt / esphome-victron_ble

Use official Victron BLE endpoint for fetching data from Victron devices via Bluetooth LE via ESPHome.
GNU General Public License v3.0
181 stars 17 forks source link

Sun Inverter support #65

Open HansWegman opened 2 months ago

HansWegman commented 2 months ago

Hello Fabian,

I have used your project to successfully integrate my new Sun Inverter, see: https://www.victronenergy.com/upload/documents/Datasheet-Sun-Inverter-EN.pdf.

I am not able to read all parameters though. When activating the victron_scanner it reports nothing so I am in the dark about the type and thus supported sensors.

I have tried quit a few though and came up with the ones listed underneath that work. I am missing a few though as you can see in the attached screenshots which I would like to add. Maybe by forking and adding them to your code so you can merge them?

What can I do to figure this out?

sensor:

SunInverter

binary_sensor:

text_sensor:

IMG_1927 IMG_1926

Fabian-Schmidt commented 2 months ago

The victron_scanner is for the victron_ble_connect to find the mac address of a SmartShunt.

I assuming the Sun Inverter does submit an 'Inverter' package. Therefore all values from the Inverter column in the Sensor table should be present. As you listed them.

Please compare the values from the Overview page of the Victron App. As the Overview page uses the same data transfer.

Which values are missing from the Overview page?

HansWegman commented 2 months ago

Thanks for your quick reply Patrick.

What is missing is the "Stroom" (Current) and the "Openklemspanning" (Open circuit voltage). I tried BATTERY_CURRENT and LOAD_CURRENT and both did not work.

Fabian-Schmidt commented 2 months ago

Do you see these values on the overview page, before you connect to the device, in the Victron App?

HansWegman commented 2 months ago

No sorry, these values are on the main screen when connected, on the overview page are only Battery voltage, AC load and status, see attached. IMG_1930

Fabian-Schmidt commented 2 months ago

If the information is not shown on the overview page in the victron app then I don't have access to it.