-
Notifications
You must be signed in to change notification settings - Fork 59
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
Erroneous readings #134
Comments
I have a similar issue The load power output of victorn mppt 100/20 works only when the sun is available This is before the update and it works fine |
Im also getting similar errors since updating my d1_mini firmware to "Firmware: 2023.11.2" |
Same problems, everything works as it should since "Firmware: 2023.11.2" |
@KinDR007 could you please tag the commit
It looks like the new async serial handling doesn't work properly and the people should be able to go back to the previous implementation using the version 1.0.0 tag:
|
IMO this issue isn't ESPHome core related. This project / implementation was modified recently. |
likely due to #133 - I like the idea of tagging commits with versions to allow for testing before wider release. alternatively, that commit could just be reverted I have a branch that I think fixes the corrupted values: https://github.com/wozz/VictronMPPT-ESPHOME/tree/validate_checksum however, I'm not really sure what the root cause is - my latest change just validates the checksum before publishing the values - which should catch the corrupted values, but I'm not sure why they're corrupted to begin with, when they weren't previously. So there might be a bigger issue. |
this might be a separate issue? these graphs show your issue occurring prior to #133 being merged |
This is my log file
|
The unhandled property issue is the same - but your issue where load values disappear overnight seems different (and started prior to #133 being merged) |
I started having problems at the beginning of November I think it was version 10.6 of esphome, I don't know what changes were made. However, as soon as it's ready I can test this github://KinDR007/[email protected] |
I assume you can revert to previous state even without a tag by referencing the commit directly:
|
Only branches or tags are supported here: https://esphome.io/components/external_components.html#example-of-git-repositories |
Just installed this branch: https://github.com/wozz/VictronMPPT-ESPHOME/tree/validate_checksum Looks like now every update has invalid checksum and doesn't make it into the database |
For now I installed from this fork that appears to be the last commit maybe? Its back to working: |
I've been running my branch since early this morning and I have had a few instances of mismatched checksums, but definitely not every message. I've also had no erroneous/corrupted values reported (the corrupted frames are properly dropped). What buffer size do you have set for your uart config? And which victron device are you using? |
My Uart buffer is set to 256 and I'm running MPPT 100/20 48V. Every frame appeared to be corrupt and then dropped due to bad checksum. |
That fork is also working for me with no errors, thanks |
I still have the same issue ... I have tryed this two branchs: github://KinDR007/VictronMPPT-ESPHOME@main |
I don't see any issues in your logs |
I see this error I have done some tests, but now this two branchs not works for me, github://KinDR007/VictronMPPT-ESPHOME@main I see that @syssi have modified yesterday somenthing in his branch can you createa new one or come back to the preavius? because it works fine before the last edit |
I have had Victron integration working perfectly for last few months. But noticed that recently (can't pinpoint which version, but currently running ESPHome 2023.11.2) I started getting erroneous readings. Such as battery voltage being 0.0V, when its not in reality and checking via bluetooth app the battery is reading correctly. When looking at the logs I get unhandled property errors such as the one listed here:
[13:06:37][D][victron:1024]: Unhandled property: VPV
H19 3515
[13:08:13][D][victron:1024]: Unhandled property: CVPV 29170
I thought maybe my ESP8266 is misbehaving so I tried another but same results. I have two different Victron MPPT controllers and both appear to be doing this. Did something in new ESPHome versions change and is breaking this now?
The text was updated successfully, but these errors were encountered: