Blog

There are many articles and stories written from experiences and conveyed from various articles.

ใช้ Owntracks บน Smart phone ส่งข้อมูล ตำแหน่ง GPS มาแสดงผลบน Home Assistance

OwnTracks เป็นแอปพลิเคชันโอเพ่นซอร์สฟรีสำหรับ iOS และ Android ที่ให้คุณติดตามตำแหน่งของคุณและส่งโดยตรงไปยัง Home Assistant สามารถตั้งค่า OwnTracks ผ่าน Settings > Devices & Services.

ตามค่าเริ่มต้น การผสานรวมจะรับฟังข้อความขาเข้าจาก OwnTracks ผ่าน HTTP หาก Home Assistant ได้รับการกำหนดค่าให้ใช้ MQTT แทน ระบบจะฟังข้อความ MQTT เมื่อมีการส่งตำแหน่งผ่าน HTTP Home Assistant จะส่งคืนตำแหน่งที่ทราบล่าสุดของบุคคลทั้งหมด ตำแหน่งของพวกเขาจะแสดงในแอพ OwnTracks

Configuration

  1. To set up OwnTracks in Home Assistant, go to Settings > Devices & Services.
  2. Add the OwnTracks integration.
    • This will give you the Webhook URL as well as the Encryption key to use during mobile device configuration (below).

Configuring the app - Android

  1. Install the OwnTracks application for Android.

    • If you need a version of OwnTracks without Google Play Services, the “OSS” flavour is available here.
  2. In the app, open the sidebar and select Preferences, then Connection.

  3. Change the following settings:

    • Mode: HTTP
    • Host: <URL given to you when setting up the integration>
    • Identification:
      • Username: <Username>: You can make one up for OwnTracks.
      • Password: Can be left blank.
      • Device ID: <Device name>: Something that helps you remember which of your devices is used for OwnTracks.
      • Tracker ID: <xx> Two character tracker ID. (can be left blank)
  4. Your tracker device will be known in Home Assistant as <Username>_<Device name>. If you entered a Tracker ID, the tid attribute will be set to that ID.

Configuring the app - iOS

  1. Install the OwnTracks application for iOS.

  2. In the OwnTracks app, tap the (i) in the top left and select Settings.

  3. Change the following settings:

    • Mode: HTTP
    • URL: <URL given to you when setting up the integration>
    • Turn on authentication
    • User ID: <Your name>. You can make one up for OwnTracks.

 

 

Source: OwnTracks

14/3051 M14 Bangbuathong, Bangbuathong, Nonthaburi,Thailand 11110

Phone: +669 4004 5061
Line ID: elec2rak

Upcoming articles

  • เปิด Time-line การไล่ล่าตัวคนร้าย ก่อเหตุยิงพนักงานร้าน Cococraft สาขาพิมลราช
  • Articles View Hits 38580
  • Web Links 10

We have 99 guests and no members online