Open mol7os opened 3 years ago
I know this is old, but the problem somehow persists. Would it be possible to add a variable that lets you interpret "unreachable" as off
for example?
My logs are flooded by the following message, as the TV is unreachable when off...
[7/31/2022, 6:18:32 PM] [Ambilight] getStatus() failed: connect EHOSTUNREACH 10.14.107.81:1925
[7/31/2022, 6:18:32 PM] [Ambilight] Error occurred while pulling update from switch: connect EHOSTUNREACH 10.14.107.81:1925
[7/31/2022, 6:19:04 PM] [Ambilight] getStatus() failed: connect EHOSTUNREACH 10.14.107.81:1925
[7/31/2022, 6:19:04 PM] [Ambilight] Error occurred while pulling update from switch: connect EHOSTUNREACH 10.14.107.81:1925
And accessory is reported offline in HomeKit too. This feature would be very appreciated.
Perhaps this is where we could fix it. I'll give it a shot over the Hollidays... or just make errors less verbose ;)
Came here researching this… good timing I guess. I use this for a switch to run/restart the piccap software on my LG and get similar issues when the TV is off. Ehostunreach failed to connect
If devices will be turned off (for example at night) HTTP-Switch is marked as a not reachable device in Homekit (as to expect). In my case, I use some switches as "remote" for my TV, so they are not really important to mention as offline in HK.
It would be nice to have a chance to disable the "StateCheck" for such a target. To flag, such items in HK will be misleading. I did not find a way to ignore the state within HK, so it would be nice to have such an option homebridge-http-switch.