Replies: 2 comments
-
Definitely looks improvement. Glad you managed to find how to clear from inside the interrupt and now we know there are only two message types and of fixed length (no such thing as FA long as that's really the FB from the other panel as reply) we always know how many bytes to read |
Beta Was this translation helpful? Give feedback.
0 replies
-
If you can create a PR I'll try and do some testing with both the regular and ESPHome codebases |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've had to tweak handleBytes a bit to get my setup working. I've changed the way my board now reads in the serial messages - only reading in serial messages meant for our panel by clearing the rx buffer when pin5 goes low and waiting until the correct number of bytes have been received, timing out if we haven't got what we expected. Been keen to hear if this change is something that the community would see as worthwhile.
fherbert@357fa76
Beta Was this translation helpful? Give feedback.
All reactions