Here are the flows
Ye thats because your radius is not configured I think. Fix that first, itâs probably pingponging in and out of fence all the time.
I quote;
â 2b. If I click on the geofences button I only see 1 fence with radius undefinedâ
Anyway, Remove one of the two fences and make sure they are the same for all users in owntracks. Also. :9!5 use multiple fences per user (with the same name)
Hi,
thanks for helping. In the mean time I changed 2b to see if it would help.
Now I have on both phones 2 fences (home & away). They are exactly the same on both phones. Still the flows donât do what they are supposed to do.
In the L&P app the fences are visible with the radius and the Lon&Lat.
In the L&P app log file I can see that both users are home
On the map in owntrack I can see that both phones are at home.
Any ideas on that???
You donât need a second fence for âawayââŠ
The flows you sent are pretty simple, they literally only trigger if the âthuisâ fence is entered/left.
Please set these check boxes;
I had allready those checkboxes set.
In MQTT I also get the messages from both phones, so I think Iâm going to try to make the flows in my node red environment. maybe they will work the way I want to.
Thank for helping.
It does not really matter as the app donât use homey location info only presence app info
Iâm trying to configure MQTT stuffon iPhone but not sure about the MQTT Broker config on Homey, Location app and Owntrack.
The Status is idle in owntrack so it found the broker i guess but where should i put the user value of location app ?
I followed this tutorial with success.
If all went well, it should appear by itself
Your mean this I guess?:
Idle is not connected. Check the broker logs to see if anything connects there and if so, configure the location and presence side of things to listen to the owntracks topic.
Also, the user stuff is set in the owntracks app on your phone and flows down to the location and presence app. Create the users and the fence in owntracks and try to publish them under settings.
I donât know where to put the certificat on the owntrack ios app.
I donât know where to put the id of the user generated by location app.
No one can share his settings ?
Please explain what you did and tried and try to explain your issues more clear (you are allowed to use more than 1 sentence )
If we conclude it is still not working while all should be set, we can go compare our settings.
But thatâs no fun, right?
Did you follow the how-to I posted 2 posts above here? Which parts not clear to you?
What did you do with the hints Hannes85 provided?
Everything works fine in HTTP and i want to try MQTT now.
I see a Certificat part in MQTT explanations, with a .PEM file if i remember correctly but i donât know where to put it on iOS Owntracks app.
And i donât know where to put the âuser idâ generated in Location app.
But while i read some documentation on Owntrack website, i see a recommandation for HTTP mode on Android devices so maybe i should not use MQTT at all ?!
It worked fine for me too with http.
While I installed mqtt to play with Home Assistant, I just wanted to try this to get to work with mqtt too, and it works, by following the how-to mentioned earlier.
I did not use the certificate PEM option yet, while I donât get that eitherđ€Ș
So I canât help you with that.
If you want the settings without the certificate option, Iâm happy to share.
Well if the certificat is not necessary, itâs better !
Iâm curious to see your configuration yes.
Your connection is lots safer (more private) using a cert.
My configs:
[Owntracks phone app]:
[MQTT Broker]
[Locatie & Aanwezigheid]
-
Note, enable port-forwarding in your router config. In the example inside & outside ports 1883 are used
-
Note, STOP and START MQTT Broker when done with configuration
Ok iâm trying to make it work.
Iâm confuse, where should i put this users id ?
I donât understand, in MQTT, where it identify users ?
What is the peters9 in your screenshot ?!