Thank you Phil for your quick reply. It works now correctly.
Hi all,
Iâm installing life360 component into a home assistant (under raspbian) and it is not working. When I tried to configure everything, it looks like that I canât connect to Home Assistant. It says âUnable to connect to home assistantâ. Checking the log file, there is no error in it. Furthermore, I see that it doesnât create life360.conf neither the known_devices file.
Same configuration with hassio in a VM in Virtualbox and everything works like a charm. Same files for the life360 components and same configuration for configuration.yaml.
Any idea?
Are you trying to use the old custom component/integration, or the newer built-in integration? The new built-in integration does not create life360.conf.
I tried yours: https://github.com/pnbruckner/homeassistant-config
With Hassio works fine. With Home Assistant (installed over raspbian), it doesnât.
device_tracker:
- platform: life360
username: my_username
password: my_password
interval_seconds: 10
filename: life360.conf
show_as_state: places, driving, moving
max_update_wait:
minutes: 30
You should not use mine anymore. Iâm not supporting it since it has been integrated directly into HA as a standard integration. Please try the standard integration and let me know if you have any questions or run into any problems. FYI, since you started with my custom integration, see these transition instructions.
Iâm playing around with a new test setup of hassio and when looking at the docs for setting up the Life360 integration it took me a bit to figure out exactly what it was saying for how to enter the advanced configuration. Iâll gladly submit a change to the docs top help clarify if necessary but before I do I want to make sure Iâm not missing something.
So, to enter any advanced configuration options (anything more than username and password for the account) that must all be done manually in the configuration.yaml and canât be done thru the integration UI. Is that correct?
Yes, that is correct. And, sorry, I fail to see whatâs confusing about the documentation with regards to what is required to configure advanced options. But if you can word it better, by all means.
Sorry, no offense meant.
I was thinking that since the basic account config was able to be done in the UI I assumed (wrongly) that the rest of the config could be done there too. I pecked around a bit before I decided that the advanced stuff probably needed to be done manually in the config.
No offense taken.
I would have preferred to been able to do all the configuration via the UI, but at the time I wrote it, there was no infrastructure for doing so. Although I havenât yet looked into the details, I believe such an infrastructure is being implemented, so maybe some dayâŚ
Seriously, if you can find a better way to word the documentation to make it clearer, have at it.
Already submitted.
Can you provide a link? I looked in https://github.com/home-assistant/home-assistant.io/pulls and didnât see anything. Just curious.
I upgrade to 0.100.3
now life360 is getting errors
Configuration invalidCHECK CONFIG
Platform error device_tracker.life360 - cannot import name ârun_coroutine_threadsafeâ from âhomeassistant.util.async_â (/usr/src/homeassistant/homeassistant/util/async_.py)
This location (\HASSIO\config\custom_components\life360) i deleted everything and put init , device_tracker and manifest back into this directory.
I am still getting this error.
Iâm also seeing this error. Is it a bug?
I rolled back
and @Adam_Sheppard
Please see the first post in this topic. The custom integration is no longer supported. Please use the standard integration.
I use Life360 and really like it, however I have always wondered why the history bar shows different colors for the same state?
In below example âHemmaâ (Home) is both purple and orange
Are you using the custom integration or the standard integration? What version of HA are you using? Also, what is you life360 configuration (donât forget to redact the sensitive information)?
I am using standard integration and are running Hassio v 0.100.3
Since I use the standard integration I donât have anything in config.yaml for life360 other than proximity add-on
Below the history from today, home shows up both as light blue and orange
Sorry, I have no idea what âproximity add-onâ is.
Unfortunately for both pictures you provided it doesnât show what the âsecond homeâ value actually is. Is it also âHemmaâ, or is it âHomeâ?
Bottom line is this isnât decided by the life360
integration. It only provides GPS coordinates. The state of the device_tracker
entity is decided by the device_tracker
component level code and depends on how you have your zones defined.