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

stop blocking ESPHome #133

Merged
merged 1 commit into from
Nov 18, 2023
Merged

stop blocking ESPHome #133

merged 1 commit into from
Nov 18, 2023

Conversation

wozz
Copy link
Contributor

@wozz wozz commented Nov 15, 2023

Updated to rely on the ESPHome event loop instead of waiting to read the entire serial buffer at a time.

It seems to work in the sense that it no longer throws warnings about blocking esphome too long, however now it randomly throws errors like: [D][victron:1024]: Unhandled property: HS 0. which seems like something is getting corrupted, which wasn't before. Maybe increasing the uart buffer would help.

fixes #132

@KinDR007 KinDR007 merged commit 3d6d245 into KinDR007:main Nov 18, 2023
10 of 12 checks passed
This was referenced Nov 20, 2023
syssi added a commit to syssi/esphome-victron-vedirect that referenced this pull request Nov 21, 2023
wozz added a commit to wozz/VictronMPPT-ESPHOME that referenced this pull request Nov 21, 2023
@syssi syssi mentioned this pull request Nov 21, 2023
syssi added a commit that referenced this pull request Nov 21, 2023
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

Successfully merging this pull request may close these issues.

Blocking Esphome
2 participants