netmindz / balboa_GL_ML_spa_control

Control protocol between GL2000 controller and ML series compatibile top panel
16 stars 8 forks source link

Read only message bytes meant for our panel #60

Closed fherbert closed 8 months ago

fherbert commented 8 months ago

Using the pin5 falling level interrupt we clear the rx buffer - only tested on my esp32 pico board. Then we read the first byte, since we know the message sizes (FA=23, AE=16) then we wait until the entire message is available (timing out after 2.5ms), read it then process it.

netmindz commented 8 months ago

Changes ported to the new library and tested from the ESPHome component

netmindz commented 8 months ago

After applying this code change to the library I think it's broken ESPHome's OTA updating, I just get timeouts.

Need to roll back to confirm 100%