homebridge-cmdswitch2
homebridge-cmdswitch2 copied to clipboard
"This plugin slows down Homebridge" since upgrade to Homebridge 1.4.0
Since updating to Homebridge v1.4.0, I'm getting "No Response" from my switchable items in the Home app, and the following in the Homebridge logs:
[1/29/2022, 9:02:45 AM] [homebridge-cmdswitch2] This plugin slows down Homebridge. The read handler for the characteristic 'On' was slow to respond! See https://git.io/JtMGR for more info.
[1/29/2022, 9:02:51 AM] [homebridge-cmdswitch2] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.
Here's my homebridge-cmdswitch2 (v0.2.10) config...
{
"platform": "cmdSwitch2",
"switches": [
{
"name": "PS4 Pro 7000",
"manufacturer": "Sony Corporation",
"on_cmd": "ps4-waker -d 10.0.0.42",
"off_cmd": "ps4-waker -d 10.0.0.42 standby",
"state_cmd": "ps4-waker -d 10.0.0.42 search | grep -i '200 Ok'"
},
{
"name": "PS4 Pro 7200",
"manufacturer": "Sony Corporation",
"on_cmd": "ps4-waker -d 10.0.0.40",
"off_cmd": "ps4-waker -d 10.0.0.40 standby",
"state_cmd": "ps4-waker -d 10.0.0.40 search | grep -i '200 Ok'"
}
]
}