Skip to content

Async change - no backward compatibility to 0.2.6

Compare
Choose a tag to compare
@sbidy sbidy released this 18 Mar 15:02
· 478 commits to master since this release
5b77cf6

Big Thanks to @angadsingh for the pull!

  • Fixes sbidy/wiz_light#6: make the whole component truly async using non-blocking UDP
  • Light control now works even when lights are set to a rhythm.

Features:

  • Now supports switching the light to rhythm mode! (rhythm is defined as a scene for HA)
  • Implements a pattern of sending multiple command UDP datagrams until response is received
  • Consolidates getPilot and setPilot calls using a PilotBuilder and PilotParser. Removes unnecessary UDP calls for each and every attribute (color, temperature, brightness, scene, etc.) and makes a combined getPilot/setPilot call
  • enhanced debug logging for UDP