Just make sure you have the ssh addon installed otherwise you won’t be able to restart it when you stop it… so Phil’s advice to remove the custom integration, restart and then install the core component is probably the easiest way to go.
The issue is Hassio, not Rpi. I used a venv install on my Rpi (before moving to a beefier x86 system.)
Thanks @DavidFW1960, this is what I suspected, if i use “Stop” from the web interface then I cannot restart from the same web interface. SSH or unplug the Rpi would be the only way to restart it, correct ?
I am running Hassio on an Ubuntu server and I did not have to stop HA before I deleted the custom config. I made the needed config changes, changed the name of the config/custom_components/life360
folder to config/custom_components/life360bak
, and restarted HA. Everything came up fine on the first restart.
My config, if it helps or even matters
life360:
accounts:
username: !secret life360_username
password: !secret life360_password
prefix: ''
interval_seconds: 10
show_as_state:
- driving
- moving
driving_speed: 18
max_gps_accuracy: 200
max_update_wait:
minutes: 45
yep. that’s it… That’s assuming you’re running hassio of course…
Yes, correct, a different set of instructions -which you already gave up in this thread- for Hassio users.
You were absolutely right, darned, when you stare too much at it, you miss the obvious!
Thankyou very much @pnbruckner for the software, both before and now, this is very very nice, and for us an essential part of the HA experience!
Thanks. I wasn’t absolutely sure what would happen if you deleted <config>/custom_components/life360
while HA was running and using those files. At the very least I assumed it might need the cache files in the __pycache__
sub-folder. So maybe two restarts aren’t required, but with an abundance of caution, I’d rather be safe than sorry.
Success in transitioning from custom component to integration on my RPi/Hassio using instructions provided by @pnbruckner in this post : Life360 Device Tracker Platform
Thanks Phil !
Arrggghhh I dunno, I think I had just looked at or helped with too many posts where reading the docs would have solved the problem. But you are right, happy is better.