howanghk / homebridge-ewelink

Homebridge plugin to control Sonoff relays with OEM firmware
MIT License
81 stars 46 forks source link

Added offset when setting multiple blinds at once #82

Closed danielk117 closed 4 years ago

danielk117 commented 4 years ago

66 just fixes the errors on multiple requests with switches, fans and other stuff, but not blinds...

To fix this problem I used platform.sendWebSocketMessage() instead of platform.wsc.send() for blinds, because it waits for an ready connection.

howanghk commented 4 years ago

Thanks for the fix, merging now.