#How do I simulate "not_home" on my phone while I'm home?
1 messages · Page 1 of 1 (latest)
You can use the state part of the dev tools to set entities to a certain state.
I see but is there anyway to "trick" my phone into thinking it's not_home?
In theory, yes. You would have to manipulate the GPS location of your phone.
Ok.. sounds a little too complicated.
Just worried that my phone doesn't go to the "not_home" state when I leave my house. Seems like I'll have to wait till I'm out to test.
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
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?
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?
And I’m always not home . I search also for a solution.
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.
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.
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...
How do I do so?
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)
I've done those but my location just doesn't change, I'm always "home"
HA Cloud is the easiest way. But there are also multiple other solutions for remote access.
I assume HA cloud is the subscription you are talking about ya?
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 🥲
Another way without remote access would be, if your router (integration) can detect devices on the network or a ping sensor.
Is there no easy way to detect if I'm home? For eg, only trigger when I'm connected to my WiFi
Or that is exactly what you're talking about when you mention router (integration)
That's what I mean. Some routers have an HA integration and provide that information. If yours doesn't, you can try the ping device tracker.
https://www.home-assistant.io/integrations/ping
But for that the mobile phone would need a static IP address on your network.
Alright, let me test it out first!
Oh dear seems difficult as heck
@light tiger seems like the ping will work just fine :)!
As long as the phone doesn't get a new IP address.
Yup, I went in and set static IP for my phone. Is there any risk for anything if I do this?
Or anything I should watch out for?
As long as the IP address isn't assigned to two different devices, you should be fine.
Thank you so much! If you don't mind, can you also help me with the TP-Link router integration?
https://github.com/AlexandrErohin/home-assistant-tplink-router
This is one the I tried initially, I got it to the last step which was to login but was met with an error
Home Assistant component for TP-Link router administration with sensors, button reboot, switches and device tracking. - AlexandrErohin/home-assistant-tplink-router
Is it ok if I post the log here?
Please create a seperate post in #1284966582375813201 .
Thank you so much for the ping integration! Working well now 🙂
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.
You should create your own post in #1284965926336335993 for your mobile app problem.
@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.
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.