Location and device tracking in Home Assistant

แชร์
ฝัง
  • เผยแพร่เมื่อ 9 ก.ค. 2024
  • With recent spotlight on private/user data being sold by some well known location tracking services and potential future problem of another brand of trackers, the question is - what options do you have for device, person, car or pet tracking you have.
    Home Assistant as open source and privacy oriented local first Smart home solution gives you plenty of option. And it's your choice if you want to keep all of your data locally, if you are prepared to use Home Assistant Companion App or if you are willing to share your location with some of the cloud service providers.
    Please check out these videos:
    Automate Your Life - Your Data Sold? video:
    ⏵ • Throw Away Your Tile T...
    SlackerLabs - Swap Life360 for OwnTracks video:
    ⏵ • Swap Life360 For OwnTr...
    00:00 - Intro
    00:25 - Thanks for all of the support
    00:54 - Location tracking and privacy
    01:47 - Home Assistant Companion Capp
    03:12 - Google Maps
    04:30 - tado
    05:26 - Geof ency
    05:39 - OwnTracks / NextTracks
    06:05 - Traccar & Tractive
    06:24 - Other options
    07:25 - Internal only options
    09:44 - Final thoughts
    Home Assistant Companion App
    ⏵ companion.home-assistant.io/
    Google Maps integration:
    ⏵ www.home-assistant.io/integra...
    Tado integration:
    ⏵ www.home-assistant.io/integra...
    Geofency:
    ⏵ www.home-assistant.io/integra...
    OwnTracks/NextTacks:
    ⏵ www.home-assistant.io/integra...
    Don't forget to give me a thumb up if you liked this video, subscribe if you still haven't and I'll see you next time!
    Have fun!
    BeardedTinker
    ____________________________________________________________
    🧡 If you would like to support me and this channel, you can JOIN and become channel member on TH-cam! 🙏
    th-cam.com/users/BeardedTinker...
    ____________________________________________________________
    📣Follow me on other platforms📣
    ✅Twitter: @BeardedTinker
    ✅Discord: / discord
    ____________________________________________________________
    (*) if any, should indicate links that are affiliated links. They don't cost you anything extra but provide small income to get this channel going, and finance future projects I make.
    #HomeAssistant #trackers #privacy
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 66

  • @BeardedTinker
    @BeardedTinker  2 ปีที่แล้ว +1

    +Kat R, +Thomas Burgi and +Nenad Maksić - your comment are gone. Looks like once again bug with YT comments. Would love to read but, just can see notification and not the comment!

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      No comment - really no comment - +Kat R, thank you for your time and effort of re-posting - but it's gone again. This is so frustrating and people could think I delete comments while in my whole life I haven't deleted single one - good or bad. I apologise for this.

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      To add on this - I've opened support ticket with YT and hopefully something will be done.
      4 comments on this video alone have vanished.

  • @davidheron1505
    @davidheron1505 2 ปีที่แล้ว +2

    Thanks, B.T. A very useful background to all the options and a potential way forward. Good to see the link up with Slacker Labs. Merry Christmas.

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      Glad you enjoyed it! Thank you for the comment and Merry Christmas!!!!

  • @andrejsersen59
    @andrejsersen59 2 ปีที่แล้ว +1

    Great video! Very useful and articulated! All the best in 2022 and kepp up the good work!

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      Andrej, Thank you very much and also all the best in New Year!

  • @SlackerLabs
    @SlackerLabs 2 ปีที่แล้ว +4

    I see a future video of a DIY zigbee presence device for the dog collar.... Awesome overview!

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +2

      That would be fun one to do!!! 😉 Thank you - and this one was inspired by you!!!

  • @Jeroen_a
    @Jeroen_a 2 ปีที่แล้ว +2

    @07:25 - I use the Unifi integration. Just remember that you can speed up the process of the device connecting to the Wifi just by waking your phone when you arrive near your door. I always press the power button on my phone so it wakes and automatically searches for the Wifi. You can do without this but it can just takes a little longer as your phone might be in power save and only searches for wifi every so often.

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      Thanks for the tip. I'm using UniFi integration to check if devices are live or not (battery powered devices). And since range is good, phones get picked up usually in time, but I'm not using that for presence detection, at least for now.

  • @carltonwbrooks
    @carltonwbrooks 2 ปีที่แล้ว +1

    Well stated!

  • @RubbervdHeide
    @RubbervdHeide ปีที่แล้ว +1

    Thanks for the video. One question tough.
    You are talking about the HA companion app and using the device trackers of it. I installed the app on my iPhone and the Samsung of my wife but I can't seem to get information of my wife's location. Therefore I can't switch the heating on/off. I checked all preferences and it should work. Also excluding it from the data saver mode from samsung didn't work unfortunally.

    • @BeardedTinker
      @BeardedTinker  ปีที่แล้ว +1

      Yes, HA companion app is great if properly configured - both in App and on Phone.
      I have on 3 Android phones and one iPhone. With Android I don't have any problem. App needs to be enabled to run in background, have access to location all the time, use high-precision setting for location, and of course have Internet connection enabled.

  • @hichamel926
    @hichamel926 2 ปีที่แล้ว +1

    Thanks for the video, for kids who does not have phone yet, which device are you using?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      My kids all have already phone, so using that. I was looking at some of the options to embed in school bag previously, but decided against it.
      That's the biggest issue... The only other option is something like Tile or similar device where they piggy-back on other people phones (if they have the app).

  • @Mooria
    @Mooria หลายเดือนก่อน +1

    Can I setup so when lets say my smarttag2 is at my Door, my home alarm will turn off?

    • @BeardedTinker
      @BeardedTinker  หลายเดือนก่อน

      Yes, of course. I don't do it with alarm, but with my heating, but it's more or less same thing.

    • @Mooria
      @Mooria หลายเดือนก่อน

      How do I add my smarttag2 to home assistance?

  • @aalabasy2004
    @aalabasy2004 9 หลายเดือนก่อน +1

    Thank you for this great video, and all the videos you share with us. Can you please show us how to install google map on home assistant, I know you left a link for integration google map on home assistant, but I'm new here and it's easier for me with video tutorial and steps. Thank you a lot

  • @marylintomar7090
    @marylintomar7090 2 ปีที่แล้ว +1

    Thanks for video! I'm using now similar app. Umobix phone tracker, very very good for my child)

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      That's great! Looks good and with resonable privacy policy!

  • @photelegy
    @photelegy 2 ปีที่แล้ว +2

    Is there a way to pull the location from the companion app?
    So that I can have a button to update the location (which would send a command to the specific (or all) companion apps to get the location at this moment)?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      Will have to test it but I don't think there is. App should constantly update on the location it it's running in the background. And if not, Home Assistant also can't request any data.

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      BTW check this here - documentation on how to do it
      companion.home-assistant.io/docs/notifications/notification-commands?_highlight=location#request-location-updates

    • @photelegy
      @photelegy 2 ปีที่แล้ว +2

      @@BeardedTinker That's something to try. Thank you!

  • @ronm6585
    @ronm6585 2 ปีที่แล้ว +1

    Thanks B.T. I would like to see a video on the MQTT Device Tracker.

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      Noted! Coming soon! Have to think of good case for this one.

  • @t1gr0um
    @t1gr0um 2 ปีที่แล้ว +1

    Thank you for your interesting video. Have you thought of having a Traccar server running locally and then have everyone using a Traccar client?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      That's good idea. I haven't bothered to look into that, but it should be excellent solution.
      Again, HA companion app should be easier to setup, but this can be a "fail safe" for when it fails to update.
      Should only need to test it with iPhone, to see if it also stops working after some time.

  • @maciejmizgalski6112
    @maciejmizgalski6112 2 ปีที่แล้ว +1

    Thanks for great video - what should i do if i have small children without phones yet or i just want to know where my car is?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      Thanks for the comment! I haven't ignored this, just needed some time to think on best way to do it. For Car, you can use TracCar - it's service that integrates in Home Assistant (there is even a AdOn server I think for it in HA if you are more into privacy) and it works with ton of trackers - from expensive ones to cheap(er) Chinese. www.traccar.org/devices/
      And as for the kids now this is fun part. Really couldn't find anything simple.
      Most things there are are smart watches that have SIM card with GPS tracking, such as kidssmartgpswatch.com/products/gps-kid-tracker-smart-wristwatch But integration here can also be problem...
      You can also try using Tile, but for it to get position, someone in vicinity of the kid has to have app installed, so it depends on how many people around you use Tile. For my area we have around 100-120 people active with it so, it can, but doesn't have to be accurate.

    • @maciejmizgalski6112
      @maciejmizgalski6112 2 ปีที่แล้ว +1

      @@BeardedTinker Thanks again :) I will test some solutions that you propose (maybe without that one for kids ;)

  • @Felipe-ij2lu
    @Felipe-ij2lu 2 ปีที่แล้ว +1

    For the HA app as a device tracker, for the zones to update, you need to expose your HA server to the internet, which is not ideal, otherwise the location won’t update as there is not a valid connection between the app and the HA server while you are away from home. That is my case at least as I don’t want to expose my HA server directly to the internet .

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      But you don't have to? For that specific case, where you don't want to open up ports or have access from Internet, you can get Nabu Casa.

    • @Felipe-ij2lu
      @Felipe-ij2lu 2 ปีที่แล้ว +1

      I have donated to HA in the past, I am not into subscription model yet ..

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      @@Felipe-ij2lu than there is VPN... But you'll have to open port for that 😂
      Also, there is Cloudflare that you can use to hide your public IP

    • @Felipe-ij2lu
      @Felipe-ij2lu 2 ปีที่แล้ว +1

      @@BeardedTinker I have vpn. The issue is that you have to turn it on and off every time you leave the house, so not practical. Only solution for now is a HomeKit automation with input Boolean. But just for home/not home usages, not for zones and location

    • @aslaninc
      @aslaninc 10 หลายเดือนก่อน

      If you have integration from your router, you can create an automation to turn Remote Access (for Nebu Casa) on or off based on whether your phone is on the network or off.

  • @torbjornulrichs8570
    @torbjornulrichs8570 2 ปีที่แล้ว +1

    Iphones are a problem, I have trackers on family via the HA app, but I can not trust that they are "on" the app. Trying to track them a number of ways through wifi, both nmap_tracker and Unify wifi integration, the issue here is that when the person is not actively using wifi, Iphone turns off wifi. Android don't have this problem. I don't care where they are, just if they are home or not, I have a lot of automatons depending on it. For example, my robot vacuum cleaner is supposed to start when the last person leaves the house, but my wife and my kind might leave the house 15 in an hour according to Iphone wifi. Any tips?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      Sorry to say, but no. I'm still fighting with that one and only device. Probably will add additional tracker device to keychain or something similar.

    • @torbjornulrichs8570
      @torbjornulrichs8570 2 ปีที่แล้ว

      @@BeardedTinker Please let me know if you solved it :-) I have quite some more ideas for automation based on people being home or not.

  • @058Jacko
    @058Jacko 2 ปีที่แล้ว +1

    Have you ever used the tracking data in Grafana?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      No, I haven't but have seen example on the net...There are also few threads in Home Assistant community forum on that one - for example this one: community.home-assistant.io/t/grafana-location-map-split-lat-lon-string-from-geocoded-location/194823

  • @mortenhenriksen8078
    @mortenhenriksen8078 2 ปีที่แล้ว +1

    Can you please make a video where you setup google_maps. Integration from start to end. You are the best i know in TH-cam to make useful video's 😊

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      Not sure on that one. Its really a pain, BUT there is also currently a bug where new users that haven't set this up previously can't add it.
      Until this is fixed (Google changed something) it's impossible to export cookie.

    • @mortenhenriksen8078
      @mortenhenriksen8078 2 ปีที่แล้ว +1

      @@BeardedTinker thank you for the answer🙏

  • @l0g1cle
    @l0g1cle 9 หลายเดือนก่อน +1

    May I know how did you combine both DL and UL in 1 graph like this? 07:02

    • @BeardedTinker
      @BeardedTinker  9 หลายเดือนก่อน +1

      That's HACS mini-graph-card and you can have multiple entities on one graph.

    • @l0g1cle
      @l0g1cle 9 หลายเดือนก่อน

      @@BeardedTinkerthanks and yeah just found out last night after my comment although still struggling learning about using it.

  • @souk-tv
    @souk-tv 9 หลายเดือนก่อน +1

    Doesn't home assistant have it's own offline map and tracking, I or does that rely on Google?

    • @BeardedTinker
      @BeardedTinker  9 หลายเดือนก่อน +1

      It's using Open Street maps for maps, but it's not locally installed.

    • @souk-tv
      @souk-tv 9 หลายเดือนก่อน +1

      @@BeardedTinker nice one

  • @Jcarlier50
    @Jcarlier50 2 ปีที่แล้ว +3

    why don't you give an example (coding) in Ha?

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว

      For what part exactly? Each tracker could be separate video - if you have suggestion on what to record, I'll do it. ;)

    • @daviddavidorganico
      @daviddavidorganico ปีที่แล้ว

      @@BeardedTinker Thaks for the video. I want to ask for a video about HA configuration on internal trackers. I'm a beginner in HA. I'll be very glad if you do that.

  • @karloleksic2646
    @karloleksic2646 2 ปีที่แล้ว +1

    oo pa jel ste to Vi iz hrvatske? i ja sam 😁super video i kanal

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      Pozdrav Karlo - da, da - iz ZG sam :) Hvala puno!!!!

  • @pwhilby
    @pwhilby 11 หลายเดือนก่อน +1

    I don't like that the dog doesn't have a phone 😒

    • @BeardedTinker
      @BeardedTinker  11 หลายเดือนก่อน

      He was loosing it constantly... :D

    • @pwhilby
      @pwhilby 11 หลายเดือนก่อน +1

      @@BeardedTinker 😂

  • @zsearthas
    @zsearthas 2 ปีที่แล้ว

    nothing usefull

    • @BeardedTinker
      @BeardedTinker  2 ปีที่แล้ว +1

      That's awesome! Than you probably are using something better that you can share with us - and that's the point of community!