Skip to content

/Load/I not exposed via ModBus #25

@cgint

Description

@cgint

Hi Victron-Contributors.

I ran into the issue that I was not able to fetch "Victron Load current (/Load/I)" via ModBus from Home Assistant as it is not exposed like e.g. "Victron Battery voltage (/Dc/0/Voltage)" is.

After fiddling around connecting directly to DBus to fetch this (with an adapted version of dbusrecorder.py) I found out that adapting the attributes.csv does the trick. This was tested by temporarily remounting /dev/root in rw-mode and it works.

I am not allowed to create a branch so I can not push my local changes of attributes.csv and CCGX-Modbus-TCP-register-list.xlsx. As address I just used the next free one.

com.victronenergy.solarcharger,/Pv/I,d,A DC,777,,10,R,HANDLED IN mappings.c
com.victronenergy.solarcharger,/Load/I,d,A DC,792,int16,10,R
com.victronenergy.solarcharger,/Yield/Power,d,W,789,uint16,10,R

I hope this can make it into one of the next versions.

Have a nice day
Christian

P.S.: Thanks for being so open with the code 👍

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions