Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sun Inverter support #65

Open
HansWegman opened this issue Sep 2, 2024 · 5 comments
Open

Sun Inverter support #65

HansWegman opened this issue Sep 2, 2024 · 5 comments

Comments

@HansWegman
Copy link

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

  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Battery Voltage"
    type: BATTERY_VOLTAGE
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Device State"
    type: DEVICE_STATE
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "AC Apparent Power"
    type: AC_APPARENT_POWER
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "AC Current"
    type: AC_CURRENT
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "AC Voltage"
    type: AC_VOLTAGE
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Sun Inverter Alarm Reason"
    type: ALARM_REASON

binary_sensor:

  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Sun Inverter is in Fault state"
    type: DEVICE_STATE_FAULT
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Sun Inverter has Alarm"
    type: ALARM

text_sensor:

  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Sun Inverter state"
    type: DEVICE_STATE
  • platform: victron_ble
    victron_ble_id: SunInverter
    name: "Sun Inverter Alarm reason"
    type: ALARM_REASON

IMG_1927
IMG_1926

@Fabian-Schmidt
Copy link
Owner

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
Copy link
Author

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
Copy link
Owner

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

@HansWegman
Copy link
Author

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
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants