『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 4354|回复: 5

[技术探讨] 大家的iPhone官方定位有成功的吗

[复制链接]

106

主题

549

帖子

2745

积分

金牌会员

Rank: 6Rank: 6

积分
2745
金钱
2196
HASS币
20
发表于 2020-2-28 22:26:37 | 显示全部楼层 |阅读模式
我看官网描述的iPhone定位设置挺简单的,只需要安装好HA APP,并且配置好apple的定位服务但是我的定位状态一直是未知,HA像是没收到终端APP发来的GPS数据,有谁配置成功的吗,还有其他需要配置的地方吗


Location[color=var(--ifm-link-color)]#Overview
Location updates are sent from your device to Home Assistant in a number of situations:
  • When you enter or exit a [color=var(--ifm-link-color)]zone defined in Home Assistant. For Android ensure the zone based tracking toggle is enabled in App Configuration.
  • When an iBeacon is detected or lost (see [color=var(--ifm-link-color)]below).

                                   
    登录/注册后可看大图
  • When the app is opened and it was not already open in the background.
  • Via an automated background fetch.
  • When an update is requested via [color=var(--ifm-link-color)]special notification
  • When a [color=var(--ifm-link-color)]URL Handler link is opened.

                                   
    登录/注册后可看大图
  • When the app is called via a [color=var(--ifm-link-color)]X-Callback-URL.

                                   
    登录/注册后可看大图
  • When your devices detects a [color=var(--ifm-link-color)]significant location change.
  • Manually when the app is refreshed (swipe down when at the top of a page) or from the shortcut menu opened from 3D touching the app icon.

                                   
    登录/注册后可看大图
  • When an update is requested by [color=var(--ifm-link-color)]sending an intent.

                                   
    登录/注册后可看大图

You can check the cause of the most recent location update by checking the value of sensor.last_update_trigger

                               
登录/注册后可看大图
Depending on your set up, location data is sent directly from your phone to your Home Assistant instances or via the Home Assistant Cloud Service. This will depend on the URLs specified in the Connection section of the App Configuration menu. Location data is not sent via any other servers or organisations. Of course, if you decide not grant the Home Assistant Companion App location permission or if you subsequently remove the location permissions (

                               
登录/注册后可看大图
Settings>Privacy>Location Services or

                               
登录/注册后可看大图
Settings>Privacy>Permissions), no location data will be sent from your device to Home Assistant. It is important to note that none of the [color=var(--ifm-link-color)]sensors will work if location is disabled. An alternative is to disable the device_tracker.<device_name> entity from the [color=var(--ifm-link-color)]entity registry.
[color=var(--ifm-link-color)]#Getting started
Once you have installed and opened the Home Assistant Companion App for the first time, a new device_tracker. entity will be created. By default the entity will have a name of the form device_tracker.<device_ID> where <device_ID> is the device name you have set (

                               
登录/注册后可看大图
Settings>General>About or

                               
登录/注册后可看大图
Settings>About Phone). You can check the entity name within Home Assistant by visiting the Integration section of the Configuration page from the sidebar (swipe right if you're using the

                               
登录/注册后可看大图
Companion App) then clicking or tapping on the Mobile App integration for your device and scrolling through the list of entities. You can edit the entity's name attribute as you desire if needed.


回复

使用道具 举报

21

主题

271

帖子

3351

积分

论坛元老

Rank: 8Rank: 8

积分
3351
金钱
3075
HASS币
30
发表于 2020-2-28 22:36:14 | 显示全部楼层
可以的,第一次连接时,在登录进入界面之前有选择是否允许通知与定位。如果没有可以重置APP。
回复

使用道具 举报

106

主题

549

帖子

2745

积分

金牌会员

Rank: 6Rank: 6

积分
2745
金钱
2196
HASS币
20
 楼主| 发表于 2020-2-28 23:02:04 | 显示全部楼层
MX10085 发表于 2020-2-28 22:36
可以的,第一次连接时,在登录进入界面之前有选择是否允许通知与定位。如果没有可以重置APP。 ...

感谢回复,重置APP后果然可以定位了!
回复

使用道具 举报

38

主题

2043

帖子

7644

积分

元老级技术达人

积分
7644
金钱
5586
HASS币
110
发表于 2020-2-28 23:21:17 | 显示全部楼层
还可以通过icloud 就是费电
回复

使用道具 举报

106

主题

549

帖子

2745

积分

金牌会员

Rank: 6Rank: 6

积分
2745
金钱
2196
HASS币
20
 楼主| 发表于 2020-2-28 23:35:58 | 显示全部楼层
ghostist 发表于 2020-2-28 23:21
还可以通过icloud 就是费电

我现在能通过HA APP和owntracks来定位,准备对比一下哪个更省电,哪个更准确
回复

使用道具 举报

11

主题

324

帖子

1332

积分

金牌会员

Rank: 6Rank: 6

积分
1332
金钱
1008
HASS币
0
发表于 2020-8-21 18:32:54 | 显示全部楼层
comeon_000 发表于 2020-2-28 23:35
我现在能通过HA APP和owntracks来定位,准备对比一下哪个更省电,哪个更准确 ...

owntracks 定位准吗
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-4-19 23:39 , Processed in 0.053125 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表