Comments (11)
Will do. Will report back asap
from core.
You're welcome! Thanks for debugging
from core.
Hey there @jpbede, mind taking a look at this issue as it has been labeled with an integration (ping
) you are listed as a code owner for? Thanks!
Code owner commands
Code owners of ping
can trigger bot actions by commenting:
@home-assistant close
Closes the issue.@home-assistant rename Awesome new title
Renames the issue.@home-assistant reopen
Reopen the issue.@home-assistant unassign ping
Removes the current integration label and assignees on the issue, add the integration domain after the command.@home-assistant add-label needs-more-information
Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue.@home-assistant remove-label needs-more-information
Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.
(message by CodeOwnersMention)
ping documentation
ping source
(message by IssueLinks)
from core.
Could you please check the log? Under normal circumstances, the sensor should still be "disconnected".
Unavailable should occur only when the system can't resolve the hostname or something bad happens.
from core.
Hi, thanks for the fast reply.
Yeah I can't see anything in my logs that indicate anything is different to before. I run an automation to force update all of my ping sensors every second which has been working great. It does mean I see these in the logs for devices that are powered off for some time.
But those were also there before.
Logger: homeassistant.helpers.entity_component
Source: helpers/entity_component.py:61
First occurred: 11 June 2024 at 22:36:22 (199914 occurrences)
Last logged: 09:15:40
Forced update failed. Entity binary_sensor.upstairs_bathroom_2_light_pingable not found.
Forced update failed. Entity binary_sensor.work_laptop_pingable not found.
Is the new raised exception in the latest ping code somehow causing it. I always ping the ips directly so there should be no DNS involved.
from core.
Could you please turn on the debug log for the ping integration?
from core.
OK for one particular ip, my living room pc, where it used to show as disconnected, its now showing as Unavailable. Heres the log entries containing this IP after enabling DEBUG in the HA UI for the ping integration.
# cat home-assistant.log | grep 192.168.8.54
2024-06-12 09:38:42.511 DEBUG (MainThread) [homeassistant.components.ping.helpers] Pinging 192.168.8.54 with: `ping -n -q -c 1 -W1 192.168.8.54`
2024-06-12 09:38:43.517 DEBUG (MainThread) [homeassistant.components.ping.helpers] Output of command: `ping -n -q -c 1 -W1 192.168.8.54`, return code: 1:
b'PING 192.168.8.54 (192.168.8.54) 56(84) bytes of data.\n\n--- 192.168.8.54 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n'
2024-06-12 09:38:43.517 DEBUG (MainThread) [homeassistant.components.ping.coordinator] Finished fetching Ping 192.168.8.54 data in 1.007 seconds (success: False)
2024-06-12 09:40:03.751 DEBUG (MainThread) [homeassistant.components.ping.helpers] Pinging 192.168.8.54 with: `ping -n -q -c 1 -W1 192.168.8.54`
2024-06-12 09:40:04.756 DEBUG (MainThread) [homeassistant.components.ping.helpers] Output of command: `ping -n -q -c 1 -W1 192.168.8.54`, return code: 1:
b'PING 192.168.8.54 (192.168.8.54) 56(84) bytes of data.\n\n--- 192.168.8.54 ping statistics ---\n1 packets transmitted, 0 received, 100% packet loss, time 0ms\n\n'
2024-06-12 09:40:04.757 DEBUG (MainThread) [homeassistant.components.ping.coordinator] Finished fetching Ping 192.168.8.54 data in 1.005 seconds (success: False)
from core.
When I check the homeassistant UI for these ping entities, they mention
'This entity is no longer being provided by the ping integration. If the entity is no longer in use, delete it in settings.'
from core.
Okay, thanks, that helped 👍 Will fix this later
from core.
Thanks a lot for the super fast response!
from core.
Thanks for fixing this, having ping broken was very annoying :/
from core.
Related Issues (20)
- Tuya new device support - push button switch ja5osu5g HOT 1
- Tessie time to arrival gets time wrong HOT 2
- Unable to send SMS messages (Huawei E3372 modem) HOT 2
- Prusalink not displaying "Ready" status HOT 1
- Cannot set AC temperature above 25°C through Home Assistant HOT 4
- Utility helper records data value with incorrect UoM on restart
- Stuck in "Loading State History" after update from 2024.4 to 2024.6
- Switchbot Curtain 2 not recognized HOT 1
- Aruba platform integration doesn't work after upgrade ssh-rsa algorithm is deprecated HOT 2
- AEMETfailing from the last days HOT 5
- Fetch snapshot image failed from [camera name], falling back to FFmpeg HOT 1
- Hue ghost events by dimmer switch HOT 1
- SMA Inverter running modbus fails after time HOT 7
- androidtv_remote spamming log + minor spelling issue HOT 1
- Tado repair platform error HOT 1
- Problems reloading Jellyfin integration HOT 1
- Dexcom: last_updated time should change even if the state is the same between updates. HOT 2
- Fronius Integration Missing Device Ohmpilot after Fronius Firmware Update to 1.32.5-1 HOT 3
- New Ecovac DEEBOT NEO 2.0 PLUS does not work with ecovac integration HOT 1
- Tuya: Unknown error occurred upon integration configuration
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from core.