Im new to owntracks. After install 0.83.1 version and read a lot of articles about owntracks and home assistant im unable to use it with home assistant.
I have configured my device and with Home Assistant app it is working. Now i want track my position with owntracks.
Can anyone help me about confgure it using HTTP method on iOS? I don’t understand what URL and configuration i need put on the app.
2 - OwnTracks make home assistant create it own device id inside “know_devices.yaml”:
username_abc123617770449f963598830c012345
3 - My config:
Mode: HTTP
Authentication: OK
User ID: the same user ID that i login
Password: empty
Secret: empty
URL: http://[my-domain]/api/webhook/[my-very-long-id]
The URL webhook ID is inside “.storage/core.config_entries”, inside json part like this:
I just thought I should mention that if that is you actual secret that you posted here, it is likely a good idea to remove the owntracks entry in your storage/core.config_entries file and set up again.
Secrets should remain secret!
I do not know how to customize the device_tracker ID that is created by owntracks. It’s truly ugly.
Regarding this new implementation, is there any way I can see other family members in Owntracks app as before? When I used MQTT I had all of them listed as friends, and now everyone seems to be “in a differente parallel universe”
Thank you. in known_devices.yaml does not create any new device at all.
In my owntracks app show idle.
Also same to @Eduardo I would like to be able to see my family member in the app, currently show only me.
I believe that when you are running in MQTT mode you can see others, but when you are in HTTP mode, you only see yourself. I’ve only used HTTP mode and I only ever see myself in the owntracks app. They are all reporting back to HA though, so it is simple to display a map there that shows everyone. Here is a lovelace card example:
title: Home
views:
- title: People
icon: mdi:account-multiple
cards:
- type: map
entities:
- device_tracker.gail_owntracksID
- device_tracker.gervais_owntracksID
There are no new device found probably because I already use icloud?
my username for ha is sun / i also put in owntracks UserID as sun. From your latest post there should be new entity_id call device_tracker.sun show but nothing show.
However, I did the same as what you mention regarding the map in order to see my family on map. But the device_tracker name is from icloud.
One last question. Finally something show in the entity_id like what you said. Also in known_devices.yaml
Can I rename this from known_devices.yaml as now when I try to rename this all devices that already has renamed earlier doesn’t know by HA at all. Every devices in my known_devices.yaml show offline
The device name itself actually comes with mac address which hard to remember and use.
sun_1b2a4605f9af47d699b2a00415298764: <== can I rename it to something else like sun_owntracks
hide_if_away: false
icon:
mac: !secret suniphone_mac
name: Sun Owntracks
picture: /local/Me.jpg
track: true:
desktop_pc: <=== I renamed it long ago.
hide_if_away: false
icon: mdi:desktop-classic
mac: !secret desktop_pc_mac
name: Desktop PC
picture:
track: true
vendor:
You can rename the other ones like desktop_pc because the mac is the unique identifier.
I don’t think it can be renamed. My guess is that we are stuck with that ugly name as it is what is being reported by owntracks and there is no other way to identify the device. I think if you rename it, you will get a new entry the next time that OwnTracks reports the location of the device with the old ugly name.
Renaming it shouldn’t make all your other devices go offline. Perhaps you made an editing error which broke the yaml?
Thank you very much. With 0.83.2 and 0.83.3 version I got mass new devices found. OMG all the new devices are old devices that have been renamed long long ago. o.O’
sorry to bump this, but hope you can help me… all of a sudden my owntracks isn’t connecting anymore, while it did so very nicely, using mqtt mode.
the thing is, I have 2 Pi’s with 2 HA instances, one of which holds the Mqtt broker and is accessed from the outside world by port forwarding 8883 to my local ip address 8883.
trying http, I can’t add that port in the web hook which simple says mydomain.duckdns.org.
how would I proceed, please have a look? Thought it might be a Owntracsk update issue, so also posted on their Github, but ni succes yet:
----edit----
solved! please see:
just for reference to point to the solution in my settings:
Mqtt mode with 2 HA instances: correct port forwarding in the router solves this.