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

Clarification of scale factor #27

Open
sfstar opened this issue May 16, 2023 · 1 comment
Open

Clarification of scale factor #27

sfstar opened this issue May 16, 2023 · 1 comment

Comments

@sfstar
Copy link

sfstar commented May 16, 2023

Hello and thank you for opening the modbustcp server code to the community.
I have a question regarding register 4202.
image
As can be seen in the image the definition of the /Dc/1/Voltage states that the value returned should have a scaling factor of 100
However the value returned seems to require a scaling factor of 10 instead.
This matches the definition in attributes.csv:
com.victronenergy.dcsource,/Dc/1/Voltage,d,V DC,4202,int16,10,R
Is the XLSX in the wrong here or is the attributes.csv incorrect?

Link to the issue on my repository:
sfstar/hass-victron#27

@sfstar
Copy link
Author

sfstar commented Mar 29, 2024

@izak, could you perhaps confirm whether the decoding scale value in the xlsx should be updated here?

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

1 participant