I’m using the on/offline state of my pc (with a binary sensor) to control power from display, speakers and light with ping.
This was working fine with v2021.12.5 but now with 2022.2, it fails somehow and I can’t find the reason why.
Hi Tom, thanks for your help!
I don’t have a clue how this capital got there because I have not changed anything to that section and before it worked. I have another sensor/template (not used currently) that has a capital as well…
Changing it to lowercase doesn’t make a difference, the sensor stays off:
Hi @Nick4,
Yes, I confirm the issue is still there on my side. I think I’ll give it another shot after the upcoming round of updates (HA core 2022.4.6).
I’ll keep you posted.
I recently experienced something similar in a different context: having the lan on 172.x.x.x conflicted with docker, leading to some packets being lost.
Since a few releases I also have the same issue. I am running in a Docker environment and when I start the terminal within Home Assistant I cannot ping the PC anymore. So something with the route must have been changed.
UPDATE:
In my case I was pinging a local machine on my network. This machine got a new version of Eset Anti Virus with a firewall enabled. The firewall would block all local traffic to the machine. The issue was resolved by creating an exception in the firewall for local traffic.
I have the same. Cannot find the log entries that should show the issue.
Have read that log entries are truncated to 50 (but none regarding the ping platform).
My summery, this has (somehow) lost its functionality. perhaps valuable to create a ticket on this.
I have a similar problem, running latest , but for me some of my pings work, however two devices don’t respond. But I can get a ping response from the same ip in the HA terminal. Anyone know what additional logging I could turn on to see what comes back?
I got this far enabling debug for the ping binary_sensor:
But the state of the sensor keeps only disconnected, when I ping the address with my laptop I get an response. My Home assistant has IP address 192.168.2.85 so it should be able to ping my laptop on the network right?