[APP][Pro] Location and Presence (Owntracks)

Thanks for your answer.

On Apple, it’s called “regions,” and I’ve entered it, and it’s definitely listed as “home.” In Homey, it also shows those coordinates correctly. It just doesn’t show them for me in Homey. But now I’ve also noticed that when I look at friends in the OwnTracks app, the “region” line under my name is also empty, even though the coordinates are almost identical to my home address.

Not sure what you expect. You can’t see them in Homey, you can only see them in flowcards.

EDIT: Somehow it now was instlled after a while.

I don’t seem to bet this app installed on both my HP23 and SHS.

It says it is installing, but nothing appears on my Homey(‘s). A reboot didn’t help… :frowning:

Anyone got an idea what to do?

And is this app still maintained? Should still be available for HP23 and SHS according to the App Store.

Hello,

I’ve been trying to get this working for hours and I’ve read this forum cover to cover.

Below is my Connection settings in OwnTracks (Android).

And this is the error I am getting.

I haven’t seen anyone else experience this error before. I have reviewed the Homey ID and my token one hundred times to make sure I entered them correctly. Thoughts?

The URL seems correct, Michael; mine looks like this:
https://68xxxxxxxxxxxxx.connect.athom.com/api/app/nl.scanno.owntracks/events/54fxxxxxxxxxxxxxx

Did you create a waypoint @ Owntracks?

That one should appear in L & P:

What do the app logs say when you do a test read and test write?

Hi Peter,

Thanks for your reply.

Today I started off by uninstalling both Location and Presence from my Homey Pro (2023) and OwnTracks from my Android phone.

I then reinstalled Location and Presence on Homey Pro and added myself as a User. As expected I get a new token compared to what I was trying previously. I then reinstalled OwnTracks on my phone and then very carefully entered the URL (with the new token):

https://663xxxxxxxxxxxxxxxxxxxxx.connect.athom.com/api/app/nl.scanno.owntracks/events/83exxxxxxxxxxxxxxxxxxxxxxxxxxxxx

I then created a Waypoint in OwnTracks.

I get the exact same result as I explained in my previous post. The OwnTracks Status screen is showing: “HTTP code 400”. The Waypoint I created is not showing up in Geofences in the Location and Presence app.

I clicked on TestRead and TestWrite in Location and Presence as you asked, and when I click on Get Logs, this is what I see:

Those buttons don’t seem to do anything?

To me it seems like OwnTracks on my phone is unable to connect with my Homey Pro. Below is some of the log file that OwnTracks generated:

> 2026-03-06 14:22:07.798 W \[DefaultDispatcher-worker-5\] HttpMessageProcessorEndpoint: org.owntracks.android.support.interfaces.ConfigurationIncompleteException: java.lang.IllegalArgumentException: Expected URL scheme ‘http’ or ‘https’ but no scheme was found for
> at org.owntracks.android.net.http.HttpConfiguration.validate(SourceFile:25)
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.getEndpointConfiguration(SourceFile:5)
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.setClientAndConfiguration(SourceFile:11)
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.activate(SourceFile:20)
> at org.owntracks.android.services.MessageProcessor$loadOutgoingMessageProcessor$3.invokeSuspend(SourceFile:33)
> at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
> at kotlinx.coroutines.DispatchedTask.run(SourceFile:109)
> at androidx.work.Worker$2.run(SourceFile:21)
> at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
> at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:93)
> Caused by: java.lang.IllegalArgumentException: Expected URL scheme ‘http’ or ‘https’ but no scheme was found for
> at okhttp3.HttpUrl$Builder.parse$okhttp(SourceFile:875)
> at org.owntracks.android.net.http.HttpConfiguration.validate(SourceFile:15)
> … 9 more
>
> 2026-03-06 14:22:38.330 I \[main\] MessageProcessor: Clearing outgoing message queue length=0
> 2026-03-06 14:22:38.331 I \[main\] MemoryContactsRepo: Clearing all contacts. Waiting for lock
> 2026-03-06 14:22:54.267 I \[main\] PreferencesStore: Setting default preference value for locatorPriority to null
> 2026-03-06 14:22:56.308 E \[DefaultDispatcher-worker-5\] HttpMessageProcessorEndpoint: HTTP request failed. Status: 400
> 2026-03-06 14:22:56.311 W \[DefaultDispatcher-worker-5\] MessageProcessor: Error sending message \[MessageLocation id=c9cc4f0e ts=2026-03-06T03:22:01Z,lat=xx.xxxxxxx,long=xx.xxxxxxx,created_at=2026-03-06T03:22:54.301Z,trigger=DEFAULT\]. Re-queueing
> org.owntracks.android.net.MessageProcessorEndpoint$OutgoingMessageSendingException: java.lang.Exception: HTTP request failed. Status: 400
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.sendMessage-gIAlu-s(SourceFile:369)
> at org.owntracks.android.services.MessageProcessor.sendAvailableMessages(SourceFile:639)
> at org.owntracks.android.services.MessageProcessor.access$sendAvailableMessages(SourceFile:1)
> at org.owntracks.android.services.MessageProcessor$sendAvailableMessages$1.invokeSuspend(Unknown Source:11)
> at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
> at kotlinx.coroutines.DispatchedTask.run(SourceFile:109)
> at androidx.work.Worker$2.run(SourceFile:21)
> at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
> at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:93)
> Caused by: java.lang.Exception: HTTP request failed. Status: 400
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.sendMessage-gIAlu-s(SourceFile:289)
> … 8 more
>
> 2026-03-06 14:22:56.312 E \[DefaultDispatcher-worker-4\] MessageProcessor$onMessageDeliveryFailed: Message delivery failed. queueLength: 3, message=\[MessageLocation id=c9cc4f0e ts=2026-03-06T03:22:01Z,lat=xx.xxxxxxx,long=xx.xxxxxxx,created_at=2026-03-06T03:22:54.301Z,trigger=DEFAULT\]
> 2026-03-06 14:22:56.316 I \[DefaultDispatcher-worker-5\] MessageProcessor$resendDelayWait: Waiting for 1s before retrying send
> 2026-03-06 14:22:58.066 E \[DefaultDispatcher-worker-4\] HttpMessageProcessorEndpoint: HTTP request failed. Status: 400
> 2026-03-06 14:22:58.071 E \[DefaultDispatcher-worker-6\] MessageProcessor$onMessageDeliveryFailed: Message delivery failed. queueLength: 2, message=\[MessageLocation id=c9cc4f0e ts=2026-03-06T03:22:01Z,lat=xx.xxxxxxx,long=xx.xxxxxxx,created_at=2026-03-06T03:22:54.301Z,trigger=DEFAULT\]
> 2026-03-06 14:22:58.073 W \[DefaultDispatcher-worker-4\] MessageProcessor: Error sending message \[MessageLocation id=c9cc4f0e ts=2026-03-06T03:22:01Z,lat=xx.xxxxxxx,long=xx.xxxxxxx,created_at=2026-03-06T03:22:54.301Z,trigger=DEFAULT\]. Re-queueing
> org.owntracks.android.net.MessageProcessorEndpoint$OutgoingMessageSendingException: java.lang.Exception: HTTP request failed. Status: 400
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.sendMessage-gIAlu-s(SourceFile:369)
> at org.owntracks.android.services.MessageProcessor.sendAvailableMessages(SourceFile:639)
> at org.owntracks.android.services.MessageProcessor.access$sendAvailableMessages(SourceFile:1)
> at org.owntracks.android.services.MessageProcessor$sendAvailableMessages$1.invokeSuspend(Unknown Source:11)
> at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(SourceFile:9)
> at kotlinx.coroutines.DispatchedTask.run(SourceFile:109)
> at androidx.work.Worker$2.run(SourceFile:21)
> at kotlinx.coroutines.scheduling.TaskImpl.run(SourceFile:3)
> at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(SourceFile:93)
> Caused by: java.lang.Exception: HTTP request failed. Status: 400
> at org.owntracks.android.net.http.HttpMessageProcessorEndpoint.sendMessage-gIAlu-s(SourceFile:289)
> … 8 more

Not a Software Engineer, so I’m not sure if this explains what the problem is?

Michael

It seems like you’ve enabled MQTT somewhere.
Owntracks cannot connect in a proper way to Homey & L & P app.

Can you show the full settings screen please? (Anonimise personal data);
This one I mean:

Hi Peter,

I had to break it up into three screenshots, but this is the entire dialogue:

I just tried installing OwnTracks on my wife’s Andoird phone (different model to mine) and used the same configuration URL. Same result. HTTP Error 400 :frowning:

Because all but the name is missing

I suspect you missed the step of adding a waypoint @ Owntracks;
Also because you didn’t respond to this question yet:

(“Tussenpunten” = Waypoints)
(“Thuis” = Home)

As you could see in an earlier post, my waypoint “Thuis” shows next to my name:

Hi Peter,

I did mention in update 366 that I had created a Waypoint in OwnTracks. This is what I currently have in OwnTracks.

Because of the HTTP error, I don’t believe this waypoint is being shared with L&P, hence why nothing is showing up in the L&P Configure page.

Below is a snippet from the latest log file from OwnTracks. You can see that it is attempting to transmit my phone’s current location to L&P, including reporting that I am “inregions” in the waypoint “Home” that I created. It really seems like the message being sent to my HP is not being accepted and it is responding with code 400 and “Bad Request”. No idea why that is happening…

Ah you’re right, I forgot about that one.

The only thing I can think of, of what’s the issue now:
it appears to be not possible to connect (correctly) to Homey from internet through your modem/router by https protocol.

Do you use any webhooks?
If yes, do they work as expected?
If no, can you test this with your phone?
https://webhook.homey.app/your_homey_id/event_name

When you open this URL, it should return OK:

Yep, that works.

Good news, but I’m out of ideas for now.

You should remove the CloudID from your screenshot. You did mask it, but it’s still visible since the box is transparent .

2 Likes

Michael, this just popped up from my memory, which is most probably the culprit when you use apple ios devices:

I hope that’s what bugging you.

I believe because I have not set a Username or Password that authentication is disabled. There is no explicit switch to enable/disable authentication.

But do you use apple or android?

Both phones I have tried it on are Android.

I see, I use android myself as well.
For now I’m really out of options.