Conversation
sbidy
commented
Oct 1, 2025
- Breaking Change: CLI interaction will change! Arguments changed
- Added dual head function to control the different heads in the bulbs/lights
- CLI readme updated
|
Will fix #191 but maintaining the state of the different heads still pending. A |
artoonie
left a comment
There was a problem hiding this comment.
I believe the Wiz app can correctly read the state -- does that mean the API exists, we just need to reverse engineer it? Let me know if there's something I can help investigate here!
| resp = await self.send({"method": "getPilot", "params": {}}) | ||
| if resp is not None and "result" in resp: | ||
| self.state = PilotParser(resp["result"]) | ||
| sinlge_state = PilotParser(resp["result"]) |
There was a problem hiding this comment.
s/sinlge/single, this variable gets returned a few lines down.
|
Hi! I just wanted to report that I tested this branch on my specific Dual Head WiZ light (Model: Squire). I successfully used the CLI to control both heads independently:
The functionality is solid. I see the checks are failing, but I wanted to confirm the logic is sound. Let me know if you need any help to get this merged! |
|
Hi @sbidy, I saw a discussion of probing the UDP and I had done just this. Happy to share the traffic. |