Skip to content

Do not repeat helobytes in MiIOProtocol.discover#2004

Open
kbpk wants to merge 1 commit into
rytilahti:masterfrom
kbpk:fix/miio_protocol_handshake
Open

Do not repeat helobytes in MiIOProtocol.discover#2004
kbpk wants to merge 1 commit into
rytilahti:masterfrom
kbpk:fix/miio_protocol_handshake

Conversation

@kbpk

@kbpk kbpk commented Jan 12, 2025

Copy link
Copy Markdown

Retrying handshake is implemented in MiIOProtocol.send_handshake. Spamming helobytes without any delay or receiving data causes errors.

@codecov

codecov Bot commented Jan 12, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 82.27%. Comparing base (507afce) to head (6d9eb7f).

Files with missing lines Patch % Lines
miio/miioprotocol.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2004   +/-   ##
=======================================
  Coverage   82.26%   82.27%           
=======================================
  Files         197      197           
  Lines       19145    19144    -1     
  Branches     1052     1051    -1     
=======================================
  Hits        15750    15750           
  Misses       3218     3218           
+ Partials      177      176    -1     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@syssi syssi force-pushed the fix/miio_protocol_handshake branch from ae31a78 to 6d9eb7f Compare June 26, 2026 16:03
@rytilahti rytilahti added this to the 0.6.0 milestone Jun 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants