You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 👍
The text was updated successfully, but these errors were encountered:
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
andCCGX-Modbus-TCP-register-list.xlsx
. Asaddress
I just used the next free one.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 👍
The text was updated successfully, but these errors were encountered: