This is the forum archive of Homey. For more information about Homey, visit the Official Homey website.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
The Homey Community has been moved to https://community.athom.com.
This forum is now read-only for archive purposes.
presence
OwnTracks not working
dennis91
Member
Hi Guys,
I think i need some help with the OwnTracks integration... yesterday i've set it up. Pushing messages from my iPhone to MQTT is working fine (i can see the messages coming in on Homey), he also nicely added the Zones i've added in the OwnTracks app. Yesterday when i got home OwnTracks notified me "Entering home geofence", so that is working. But for whatever reason the OwnTracks client on Homey is still reporting i'm "nowhere";
I really don't know how to solve this issue. I've also created a test-flow to alert me when i got home, but it never fires :
What to do?
I think i need some help with the OwnTracks integration... yesterday i've set it up. Pushing messages from my iPhone to MQTT is working fine (i can see the messages coming in on Homey), he also nicely added the Zones i've added in the OwnTracks app. Yesterday when i got home OwnTracks notified me "Entering home geofence", so that is working. But for whatever reason the OwnTracks client on Homey is still reporting i'm "nowhere";
I really don't know how to solve this issue. I've also created a test-flow to alert me when i got home, but it never fires :
What to do?
Tagged:
Comments
I found the iOS app very unreliable (not really usable) I've been looking in other solutions
I don't agree, it is used by many, many users and incredible stable.
Please read through https://forum.athom.com/discussion/2804/setup-homey-with-mqtt-for-location-detection/p1
I noticed when setting up the app it works for an hour or so, but then it just stops reporting, I have the feeling iOS "snoozes" the app after a period of time..
If i request the logs in the client i see things like :
But i'm not sure why it's not reporting to be home..
You need to receive a transition message.
If you add a region, does it get automatically added in the homey owntracks app?
Homey V 1.5.0.-rc.6
Owntracks v1.5.4
My Settings in Ownrack:
My settings in de IOS Owntrack app:
This is my test flow, but when i click the "test button" noting happen. And in reallife also nothing happent when i leave the fance "werk"
So maybe these tips might help:
- Make sure "Share" is activated for each Region.
- Make sure you set Radius for Region to something like 100 or 200 meters. Default is 0, so change that.
- Make sure to "Publish Waypoints" in the settings in Owntracks.
- Now Homey should have at least a user and one or more waypoints.
- Make sure Owntracks is set to "significant changes mode" or "move mode".
- Make sure you now leave the region and enter it again (best is with a time between of at least 5 minutes). Homey should get the message that you leave the region, are at another location and then message that you enter the region.
Hope this helps.What i mean is going to settings page on Owntracks app on your device and tap the Publish Waypoints option there.
Thx @zowieke
It would really help if someone with an iPhone who has this working, could write down the settings. I don't have a iPhone, so it's a black box for me.
Below screenshots of my settings / configuration in Owntracks.
Hope these help.
I setup Mosquitto on my Synology NAS.
So i chose mode Private.
Enter deviceid, host, port, userid, password and trackerid (optional, can leave default).
I know, i don't use TLS. Still need to fix that, but NAS runs self-signed certificate.
When leaving settings you should see the status info like in the screenshot. Of course it should say Connected, else settings are incorrect.
Last screenshot is example of Region, in this case Thuis (Home).
Make sure the Share option is enabled.
And change the region, as it defaults to 0, which disables the waypoint. For this waypoint i chose 200 m for radius. You will probably need to test a bit with the radius. For another waypoint i set it to 300, as it is a company with large parking lot.
Remember to use the Publish Waypoints option in the settings, as it will push the waypoint data to the MQTT broker.
I'm using a RPi with homeassistant linked to Owntracks.. in Hass you can create your own waypoints and have all the connected phones use them..
It takes a few more minutes to set up but its way more flexible
If you are using a MQTT broker and tub have enabled receiving commands on the owntracks app on your phone, you can push all the fences that are on the homey owntracks client to a specific device.
"_type":"cmd"
to the config on all the phones?
In Android you need to enable Remote commands. Don't know how that is with the iPhone app.