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

/Load/I not exposed via ModBus #25

Open
cgint opened this issue May 10, 2023 · 0 comments · May be fixed by #34
Open

/Load/I not exposed via ModBus #25

cgint opened this issue May 10, 2023 · 0 comments · May be fixed by #34

Comments

@cgint
Copy link

cgint commented May 10, 2023

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 👍

@cgint cgint linked a pull request Jan 14, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant