Only one device tarcker showing up

I have put this section in my configuration.yaml

device_tracker:
  - platform: ping
    hosts:
      adrian_ping: 192.168.xxx.xxx
      karen_ping: 192.168.xxx.xxx

Checking config and all is OK. Problem is only the first device shows up. So either she has left me and I have been to busy playing with Home Assistant to notice :slight_smile: or I have written something wrong, can someone help?

Thanks

I never actually knew you could do a device tracker by the IP address, good to know.
Iā€™m guessing you need to separate them Into their own
- platform: ping

Yep tried that with no luck, I am just guessing its s imple typo I canā€™t see :slight_smile:

Is Karenā€™s device responding to ping outside of Home Assistantā€™s context? Depending on the device / operating system, ICMP Ping packages may be blocked.

Its not that it is not responding to the ping, it does that fine outside of home assistant its that ā€œkaren_pingā€ is not showing as an entity. in the entity list, or anywhere for that matter.

Hmm ā€¦

just tried it and entries pointing to a non-assigned IP result in missing device_tracker entities. Can you use the same IP for adrian and karen and check if device_tracker.karen_ping is available after restart?

Makes no sense, however - those devices should produce entities (that are ā€˜unavailableā€™ or ā€˜awayā€™).

That looks like it, she is not here right now so her phone canā€™t be pinged. That stopped it showing as an entity. I tried it with the ip of my tablet and it worked, it didnā€™t work using the ip of my phone. Thanks problem solved wait till she comes home and see it it works then. Seems a bit daft for a home and away sensor to not set up if it canā€™t ping it when setting up.

Thanks again.

1 Like