I'm using the Homebridge HTTP accessory to control a Kankun "smart plug". It works fine except that after a power outage, the plug now defaults to being ON. (The plug natively defaults to OFF.) The plug powers a water pump which should only be ON when needed. It is less than ideal to have it default to ON; especially if we happen to be away from home during a power outage.
[2018-1-15 17:45:48] [Water Pump] Setting power state to off
[2018-1-15 17:45:48] [Water Pump] HTTP set power function succeeded!
[2018-1-15 17:46:45] [Water Pump] Switch received power http://192.168.0.55/cgi-bin/relaynew.cgi?state state is currently 1
[2018-1-15 17:46:45] [Water Pump] Setting power state to on
[2018-1-15 17:46:45] [Water Pump] HTTP set power function succeeded!
- Is there some way that I can stop Homebridge from turning the plug ON after a power outage?
- What does the "sendimmediately" parameter do in the config.json file? I've never seen it explained or used.
[2018-1-15 17:45:47] Homebridge is running on port 51826.
[2018-1-15 17:45:48] [Water Pump] Switch received power http://192.168.0.55/cgi-bin/relaynew.cgi?state state is currently 0[2018-1-15 17:45:48] [Water Pump] Setting power state to off
[2018-1-15 17:45:48] [Water Pump] HTTP set power function succeeded!
[2018-1-15 17:46:45] [Water Pump] Switch received power http://192.168.0.55/cgi-bin/relaynew.cgi?state state is currently 1
[2018-1-15 17:46:45] [Water Pump] Setting power state to on
[2018-1-15 17:46:45] [Water Pump] HTTP set power function succeeded!