Closed rob0101 closed 4 years ago
Hi @rob0101, I think this is related to #10. You may want to try adding dospaquetes's temporary fix: https://github.com/dospaquetes/homebridge-ewelink/commit/6186e60e31b8832b1e01d3549ba9e368c6c83b79
Closing due to inactivity.
My homebridge setup has an automation to turn on 3 water pumps when a temperature sensor triggers.
I use cmd4 to detect the temperature threshold and homekit sends (via homebridge) a request to switch on each of the 3 pumps with their own eWeLink outlets.
Most of the time all 3 will start, however often some will fail to switch on.
[28/06/2019, 2:28:27 pm] [eWeLink] Setting power state to [off] for device [eWeSwitch3] [28/06/2019, 2:28:27 pm] [eWeLink] Setting power state to [off] for device [eWeSwitch1] [28/06/2019, 2:28:27 pm] [eWeLink] Setting power state to [off] for device [eWeSwitch4] [28/06/2019, 2:28:27 pm] [eWeLink] WebSocket was closed. Reason [1006]
: : :
[28/06/2019, 2:28:51 pm] [eWeLink] Setting power state to [on] for device [eWeSwitch4] [28/06/2019, 2:28:51 pm] [eWeLink] Setting power state to [on] for device [eWeSwitch3] [28/06/2019, 2:28:51 pm] [eWeLink] Setting power state to [on] for device [eWeSwitch1]
: : :
[28/06/2019, 2:29:46 pm] [eWeLink] API reported that [eWeSwitch3] is Off [28/06/2019, 2:29:46 pm] [eWeLink] API reported that [eWeSwitch1] is Off [28/06/2019, 2:29:46 pm] [eWeLink] API reported that [eWeSwitch4] is On
Homebridge is running on a Mojave Mac mini.
I don't see any clues to the failed switches in the homebridge debug log.
homebridge -V 0.4.50