Ping-integration re-add consider_home option

In the new ping-integration there is no consider_home option.

While in the old version (setting it in the configuration.yaml) this was possible (and very helpful with ios-devices),
it is no more possible (according to the documentation) within the new integration.

Can this be readded?
Or is there another way to achieve the „old“ behaviour?

Greetings,
gang-himself

2nd this. Suddenly all my automations based on someone being home or not are screwed due to my phones going away constantly when I’m home.

This is a must have option, otherwise device_tracker based on ping sensor for iOS device is useless, as iOS devices keep turning on and off its WIFI constantly.
Please bring it back.

It’s coming in a future release. Either a .x release in 2023.12 or an upcoming 2024 release. The PR is in review.

3 Likes

Any sort of time frame when this is likely?

Nope, review process can take anywhere between 1 and 180 days typically. So it really depends on how well the code is written

3rd this.
I can’t use location services and had this working fine on my iOS device. Now i don’t know whether i’m coming or going.

It would be good to have this reinstated as a feature. As an HA newbie I think I figured it how to work around the feature by using the timer feature in the automation that the upgrade broke. But breaking things isn’t pleasant :cry:. One week in an really appreciating HA.

2024.1.x will have consider home as an option. If you join the beta, you can have it as early as December 28th 2023.

5 Likes

As a workout I created an input boolean and have it so on is home and off is away. I then set it to change based on my iPhone ping but only switching to away after ping has been away for 20mins.

alias: B1 adam away
trigger:

  • platform: state
    entity_id:
    • device_tracker.adam_iphone_ping
      to: not_home
      for:
      hours: 0
      minutes: 20
      seconds: 0
      condition:
  • condition: state
    entity_id: input_boolean.adam_location
    state: “on”
    action:
  • service: input_boolean.turn_off
    data:
    entity_id: input_boolean.adam_location

One thing I noticed is that all my Ping Device Trackers were migrated, but disabled by default.

I have the ping device tracker as one component of a Bayesian sensor. but the fact that they have not reliably updated since the 2023.12 releases has certainly changed the reliability of the Bayesian sensor. I have had to remove these sensors from the mix.

I also used to generate the YAML for these ping device trackers from YAML (my household and extended family/friends) using AppDaemon to be able to see who was in the house.

Going to have to switch all of these to template sensors or input_booleans as proposed by wormvortex