#How do I simulate "not_home" on my phone while I'm home?

1 messages · Page 1 of 1 (latest)

vale prism
#

Trying to trigger automation when I'm not home, is leaving my house the only way?

light tiger
#

You can use the state part of the dev tools to set entities to a certain state.

vale prism
light tiger
#

In theory, yes. You would have to manipulate the GPS location of your phone.

vale prism
golden cipher
#

if your using gps zone to track home/nothome then change your home gps location to somewhere else and your phone will no longer be at home. just remember to move the zone back after testing

vale prism
#

Hi, so after I left my house for work for the entire day. It still shows that I've been home forever

#

Any idea what is wrong?

austere vine
#

do you only have local access to home assistant (when on your home wifi) and that maybe disconnects while you are within your set zone?

onyx zealot
#

And I’m always not home . I search also for a solution.

light tiger
#

Does the companion app have a remote connection to the HA instance? If it isn't connected to the HA host, it cannot report its location.

onyx zealot
#

But when I’m home, my phone isn’t at home??? It worked before and works for All the other family members. So remote connection isn’t involgde.

austere vine
#

have you turned off location services, turned off gps sensors in the companion app, are you not connecting to the wifi? there are lots of reasons why it could happen...

vale prism
#

Do I need nabucasa subscription to do that? (Saw online some where that with nabucasu sub, i can use HA when i'm not home as well)

vale prism
light tiger
#

HA Cloud is the easiest way. But there are also multiple other solutions for remote access.

vale prism
light tiger
#

Yes.

vale prism
# light tiger Yes.

A short google shows that there's no real easy way to do it other than HA cloud?

#

Dammit.. I would love to support HA cloud when I have my own place but I only have 5 automations for my house now 🥲

light tiger
#

Another way without remote access would be, if your router (integration) can detect devices on the network or a ping sensor.

vale prism
#

Or that is exactly what you're talking about when you mention router (integration)

light tiger
#

But for that the mobile phone would need a static IP address on your network.

vale prism
vale prism
#

Oh dear seems difficult as heck

#

@light tiger seems like the ping will work just fine :)!

light tiger
#

As long as the phone doesn't get a new IP address.

vale prism
#

Or anything I should watch out for?

light tiger
#

As long as the IP address isn't assigned to two different devices, you should be fine.

vale prism
#

Is it ok if I post the log here?

light tiger
vale prism
onyx zealot
#

But iT worked before. There are a lot of forum Messages ABOUT iT and HA users that have remote access don’t believe that iT’s also working without remote access…
I got notifications when I’m not home but I can’t configure home Assistant.

light tiger
thorn widget
#

@vale prism I was having the same problem too but for my lamp! Thanks for making this post. I think it will solve my issue too.

thorn widget
#

I have noticed though that sometimes ping's fail so I made it so that it has to stay connected/disconnected for at least 5 minutes.