I tried to https://[cloudid].connect.athom.com/api/app/nl.scanno.owntracks/events/?token=[tokenid from user]
for hours but it should be: https://[homey cloud-id].connect.athom.com/api/app/nl.scanno.owntracks/events/[user token]
As you can read in an older post above.
Hello Everyone !
This Is My first Day Here but I have already read a lot about setting Owntracks / geofences and all your posts have helped me a lot so thanks guys
I still have a few questions though as it is not working for me yetâŠ
I have a HP2023 v10.3.1 & iPhone 14 Pro iOS 17.3.1
Thank you so much for your support/help and please shoot if you need more info from me.
On my iPhone:
Owntracks app installed.
Settings page: url ok (?) with homey host ID and token ⊠but there is a connection status error: invalid certificate ???
Also I guess the big red dots are not normal for the regions that I have created (same name as in the HP App geofence tab)?!
Hello Everyone !
This Is My first Day Here but I have already read a lot about setting Owntracks / geofences and all your posts have helped me a lot so thanks guys
I still have a few questions though as it is not working for me yetâŠ
I have a HP2023 v10.3.1 & iPhone 14 Pro iOS 17.3.1
Thank you so much for your support/help and please shoot if you need more info from me.
On my iPhone:
Owntracks app installed.
Settings page: url ok (?) with homey host ID and token ⊠but there is a connection status error: invalid certificate ???
Also I guess the big red dots are not normal for the regions that I have created (same name as in the HP App geofence tab)?!
-2-
On HTTPS mode
When i use the following url (with personal cloud/user id of course replaced with « XXXXX âŠ. » in the error message) :
https://.connect.athom.com/api/app/nl.scanno.owntracks/events/?
I get this message :
-3-
On HTTP mode (i triedâŠinstead of https)
When i use the following url (with personal cloud/user id of course replaced with « XXXXX âŠ. » in the error message) :
http://.connect.athom.com/api/app/nl.scanno.owntracks/events/?
I get this message for 10 seconds :
Connecting
Then i get for 2 seconds (then back to « connecting ») :
Another question if I may :
i your previous Post you advised not to input any geofence (problem was that lat/long/rad = 0/0/0) in the related Tab in the L&P app on the Homey. I did that and then created a âregionâ in Owntracks (you have to define a fence somewhere donât youâŠ?) on my phone app.
==> when there is no geofence in the Tab on L&P, there is no geofence to choose from in the list of the âwhen triggerâŠâ Card when creating a Flow.
I must admit i am quite confusedâŠ
Last but not least :
i created this morning 2 regions (radius = 45m & 60m and the center = my home)
how come the number of notifications rose from 1 this morning to 261 as I write, given the fact that I stayed home all day ?
Almost there
I noticed you being naughty and donât use the correct homey cloud id . It does not start with hom and it does not end with 2.local for sure:
and the geofence will show up in the L & R app settings.:
I guess itâs all error msgs for now, and I like to advice to start with a little bigger radius, like 100m. GPS does not provide for a 100% fixed location, so it can trigger in/out geofence without you moving. No clue how far it can be off.
So, better start with a bigger radius, and make it narrower bit by bit until it reports you in/out/in/out etc.
Also check the âLocatorâ settings from the Advanced tab
For me itâs:
Inaccurate locations: ignore
Min. location displacement: 100m
Location interval: 90s
Location interval (move mode): 30s
Limit max locator frequency: yes
The intervals are a balance of update speed and phone battery life; shorter interval = shorter battery life.
Well, I hope you get it to work now, donât hesitate to ask if not
Thank you MASTER PEET, all up and runningâŠâŠ
Well⊠almost as my garage door just openned unexpectedly .
Fine tuning i guess.
There were 2 problĂšms :
-1- the one your expert eye saw : as it was for the input in the HOST Line of the CONNECTION dialog box (android »how to above ») i mismatched HOST ID for CLOUD ID.
Thanks Greg, Iâm glad it now works as it should.
Ahhh, didnât think about that. But youâre right hehe, I canât see unspottable whitespaces
It was very late Greg, couldnât find the words for it
Yeah, you can consider temporary sending notifications first, instead of the actual door opening/closing, until it works as expected.
Or, you can temporary add this confirmation card below to the flows involved; the flow gets paused, until you confirm the push message question within 30 minutes:
â you are right and thatâs what i did, i mean temporarily disable all L&P related flows and test them one after the other⊠I had already added for each one of them a push notification card in order to make sure the flow had triggered⊠but imagine the mess that happened in the middle of the night the first time OT/L&P connected and initiated 8 flowsâŠ
â good idea, the confirmation card, i will definitely try it, thanks Peet !
Talking about CardsâŠ
You surely have noticed by now, i am not a developer/ITengineerâŠ
Is there some reading/tutorial you recommend i should start with ? My goal is this (you may have more excellent pointers or solutions) :
â I have 2 cars and 2 garage doors. I would like the garage door of the car i am driving to open when i come back home.
. When i leave it is no big deal as I have 2 flows, one for each door, with a 30"-delay before locking the house door, shutting off garage light and closing the garage door.
. When i come back (=enter a specific geofence) i donât know how to proceed : 1) (best solution if it is possible) reverse last flow of user Greg ? 2) get a prompt asking for which door to open (could it be vocal by Siri for a vocal answer) ?
Thank you, i found and installed the app yesterday after digging in the community/tutorials ! I see this more like a workaround than a solutionâŠ
âŠand where is the fun ? :
More seriouslyâŠ. I already have a camera above my two garage doors but it wonât be able to see the license plates, because there is a gate to our property at approximately 20 m away.
Why not install a new camera on the gate you would ask me? Well, at the gate, there is a very very poor and unsteady Wi-Fi signal, even with a repeater plugged in the Garage . I used to have a iSmartgate running to open and close the gate but I had it removed because its functioning was too random. Thatâs why I wanted an OTA solution, but not Wi-Fi such as L&P/OwnTracks using GPS and 5G.
We are still not connected to fibre and we have only a small 6 MB aDSL connection.
By the way is my idea of using a âReverse last flowâ crazy or not implementable?
Oh wow, I got myself started with the KB at https://support.homey.app
And you have to get familiar âhow Homey thinksâ, especially with the possibillities of using logic.
About the âreversingâ a flow
Idk what you had in mind for âreversingâ, but yes, the âdepartâ flow is the opposite of the âarriveâ flow.
But, the problem is to distinguish the cars from eachother;
itâs imho not possible to use geofencing to determine which garage should be opened. I assume theyâre next to eachother?
When each driver always carries a phone with f.e. Bluetooth enabled, you can consider sticking a Shelly somewhere near the doors, which can determine if your phone is nearby.
I think itâs better to hide a Ble beacon somewhere under the hood, which can be detected by the Shelly
(please ask f.e. uncle Uwe @Undertaker for Shelly details, he knows his stuff).
BUT, it also needs a wifi connection to connect with Homey.
If somehow you could arrange for a network cable to near the garage, you could add a wifi access point there, an old wifi-router would do f.e.
Let me know what you think is possible.
I still like the licence plate trick hehe, but itâs not fool proof I now realize.
what i mean by reversing the last flow : Homey keeps track of all activity (entering, leaving, flows,âŠ,âŠ) so i was wondering if someone would know how to write some code (or any other solution ;-)) i could use in a flow to play the last item in the activity log but this time in the reverse order.
imagine :
â i start my flow âleaving with car 1â. My garage door 1 opens and 10 seconds later the gate opens too. Then i have 30 seconds to pass through the gate before the flowâs last 2 cards are played : close door 1 and gate (30" delay). . Log#1.
What i would love is this : when i come back and cross the region/geofence 30m before the gate it triggers a flow playing the last entry in the activity log (=Log#1) in the reverse order (open gate and door 1 and 30" later close gate and 10" later close door 1)
â it solves your question about distinguishing the cars or drivers
is it clearer ?
i like your idea with the Shelly/BleBeacon which indeed solves the car problem but i wonder how it will distinguish whether the BleBeacon is INwards or OUTwards
Hello !
Is there a solution to send the information to two different Homeys?
Unfortunately itâs not possible to configure multiple HTTP HOSTs in the mobile application.
Thatâs possible when you use MQTT instead of https. Not sure how easy/difficult it is to set up secured MQTT for using it on the internet.
Or, have the configured Homey send a webhook to the second Homey, with a flow, when users enters a geofence (and a similar flow for users leaving a geofence):
@ the other Homey, create two receiving flows for every user, one for entering a geofence, and one for leaving a fence: