kpsuperplane / homebridge-wiz-lan

Control Wiz lights over LAN
Apache License 2.0
117 stars 37 forks source link

Brightness/dimmer not working #138

Closed moh1t closed 1 year ago

moh1t commented 1 year ago

The dimmer or brightness % slider isn’t working in Homebridge and HomeKit.

I tested this with wiz a60 10w and a70 12w bulbs.

Please let me know what debug logs are needed to diagnose this further

moh1t commented 1 year ago

getSystemConfig provides moduleName : ESP01_SHRGB1C_31, is this not getting detected as a RGB dimmable bulb?

any thoughts @MoTechnicalities? I can manually set the color temperature and dimmer by running the below command in ssh

echo '{"method":"setPilot","env":"pro","params":{"mac":"xxxxxxxxxxxx","src":"","state":true,"temp":3011,"dimming":100}}' | socat - UDP::38899

moh1t commented 1 year ago

Ugh so stupid! I just had to turn off "lastStatus". Working now!