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

Unreliable serial Connection #18

Open
fti7 opened this issue Jul 1, 2022 · 2 comments
Open

Unreliable serial Connection #18

fti7 opened this issue Jul 1, 2022 · 2 comments

Comments

@fti7
Copy link
Contributor

fti7 commented Jul 1, 2022

Hi,

my read out is very unreliable
Its an Smartsolar 75/15 connected via the original ve.direct USB Cable to an Raspberry pi Zero (1 and 2)

It throws Errors like:

[WARNING] (2022-07-01 11:28:46) victron_smartsolar.py::58 smartsolar2: H2c
PID not found in mapping dictionary
[WARNING] (2022-07-01 11:28:51) victron_smartsolar.py::58 smartsolar2: LOAD not found in mapping dictionary
[WARNING] (2022-07-01 11:28:51) victron_smartsolar.py::58 smartsolar2: Mr
PID not found in mapping dictionary
[WARNING] (2022-07-01 11:28:51) victron_smartsolar.py::58 smartsolar2: H2T
PID not found in mapping dictionary
[WARNING] (2022-07-01 11:28:51) victron_smartsolar.py::58 smartsolar2: H2c
PID not found in mapping dictionary

Looks like Serial protocol parsing issues.
Does anyone experience similar issues?

Also ive noticed that the vedirect Lib is unmaintained.
There are at least 2 Forks:

https://github.com/karioja/vedirect (original)
https://github.com/nznobody/vedirect (micropython only?)
https://github.com/jmfife/vedirect (incompatible?)
any plans to support one of these?

Thx

@birdie1
Copy link
Owner

birdie1 commented Jul 30, 2022

Hi,
do you always have this problem, or does it come and go?
If you receive the warning, do you still get the other values or no values at all?

I don't know if the micropython version is compatible and I don't have access to my victron devices right now. I hope I will be able to check that end of august.

Regards

@birdie1
Copy link
Owner

birdie1 commented Apr 15, 2023

I updated today the serial part of the code, as I had also problem with some values. This could fix your issues as well. Please try...

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