Hi I recently got my parents into hassio too and I had to add your component as well!
Nows the odd thing though, when I try to specify only 3 members (residents at my parents house) and I leave my girlfriend and I out we still both show up as device trackers.
Hi I wish to use Life360 just for Home Not_home tracking (not publish my position when I am outside my home, except publishing that I am not home).
Is it possible?
I will explain whjat I am looking to do: currently I use MONITOR (a component that uses BLE for monitoring home presence).
The component works really well (its the best of its kind), although few times it misses the fact that a member exited home. And this miss can last few minutes to 1 hour, depending on various circumstances.
My goal is to use a GPS location component only for those times when MONITOR fails
You can set track to false for the two devices you donât want to track, but you shouldnât have to do that. Make sure you have logger set to debug, then search home-assistant.log for life360 related messages, such as:
Not long after HA starts you should see two messages, one that contains Configured members = ... and then Processed members = .... What do you see?
BTW, when using the Preformatted text button to format your YAML code, you need to make sure there is at least one blank line before the block of text, otherwise it wonât format correctly (as you can see from your post above.)
As @Jules_Bousema suggests, setting hide_if_away: true in known_devices.yaml will make your GPS coordinates less visible, but wonât hide them completely. E.g., they still go into the database, they still show up on the States page, etc. But it will cause the device_tracker entity from showing in the frontend, and on the map, when youâre not home. BTW, also note that if you go into a zone (other than home, that is), as far as I know, the state of the device_tracker will still change to the name of the zone. So, the states may not just be home and not_home. Still, I think this will probably do what you want.
I have this error on my log, and the component doesnât work, someone know the reason?
2019-03-26 20:31:18 WARNING (MainThread) [homeassistant.components.http] Configuring trusted_networks via the http component has been deprecated. Use the trusted networks auth provider instead. For instructions, see https://www.home-assistant.io/docs/authentication/providers/#trusted-networks 2019-03-26 20:31:21 WARNING (MainThread) [homeassistant.loader] You are using a custom component for life360.device_tracker which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you do experience issues with Home Assistant. 2019-03-26 20:31:30 ERROR (MainThread) [homeassistant.components.sensor.yr] Retrying in 16 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again] 2019-03-26 20:31:30 WARNING (SyncWorker_7) [custom_components.life360.device_tracker] Ignoring: ConnectionError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6fec6470>: Failed to establish a new connection: [Errno -3] Try again')) 2019-03-26 20:31:36 ERROR (SyncWorker_7) [custom_components.life360.device_tracker] get_circles: ConnectionError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x6fec6310>: Failed to establish a new connection: [Errno -3] Try again')) 2019-03-26 20:31:52 ERROR (SyncWorker_3) [custom_components.life360.device_tracker] Suppressing further errors until OK: get_circles: ConnectionError: HTTPSConnectionPool(host='api.life360.com', port=443): Max retries exceeded with url: /v3/circles.json (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x72ee25d0>: Failed to establish a new connection: [Errno -3] Try again')) 2019-03-26 20:47:36 ERROR (MainThread) [homeassistant.components.sensor.yr] Retrying in 19 minutes: Cannot connect to host aa015h6buqvih86i1.api.met.no:443 ssl:None [Try again]
So a different machine, but on the same network. Well then the problem is probably on the machine HA is running on, or the context (docker, etc.???) it is running in on that machine. But since multiple components are failing it would appear the issue isnât specific to life360.
Why don´t you define them in HA and trigger actions based on that. I have more than 2 zones in HA and it works fine. Don´t see the need to have them in Life360.
You can create a âtemporaryâ Circle. Unless itâs changed, that new Circle will get a free trial of their premium service, so you have however long that lasts (30 or 90 days, I donât remember) to create as many Places in it as you like. When the trial is over, you wonât be able to create any more Places, or change the ones youâve defined, but it wonât delete them either. At least thatâs what I found. You donât have to put anyone else in that Circle either. You can just use add_zones to get the HA life360 component to create HA zones from those Life360 Places.
But, if you actually want to use those Places within the Life360 app, then you really should pony up for the very reasonable premium fee. (I finally did! )
One advantage of HA zones is that you can make the zone smaller than the 250â minimum diameter of Life360âs places. So you arenât considered at work if you just drive by on a weekend.