howanghk / homebridge-ewelink

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

Simultaneous command to more than 1 device doesn't work properly #56

Closed teymur1988 closed 4 years ago

teymur1988 commented 4 years ago

Hi there,

First of all thank you very very much for developing this plugin. It's very useful and most stable I've found so far. However here is a little thing I face: When say I setup automation in iOS Home app to say trigger more than one device when certain condition occurs only 1 device triggers initially. Then when you try it second time both devices work. Attached are some logs, please take a look.

Regards

Teymur eWelink.txt

teymur1988 commented 4 years ago

Update: I've setup a similar scene in Ewelink app to turn on 2 accessories at the same time. Ewelink works properly from the first time, but does it a bit differently. When the relays clicks (Sonoff Basic in my case), you can hear that there is a few milliseconds delay between the relays.

howanghk commented 4 years ago

This should be fixed by https://github.com/howanghk/homebridge-ewelink/pull/66

Please install the latest version with

npm install -g homebridge-ewelink-max@latest