DomoticzLife360
v2.3.1
New: Added locations.txt file to name your frequent locations instead of showing address
This is a Domoticz Plugin for Life 360
You get 4 device types: At Home Presence, Battery, Location and Driving Distance in Minutes
There are 2 assumptions: 1. This Plugin follows only all the members of the the first circle in your Life360 app. 2. In order to follow Presence, you have to name your location as 'Home' in your Life360 app.
Thanks to Harper Reed for Python implementation of Life 360 API: https://github.com/harperreed/life360-python
The icons are downloaded from "Free Vector Graphics by www.Vecteezy.com"
Installation:
Create a new Life360 "folder" under Domoticz plugins directory. Copy all the files here to the new Life360 folder. Restart Domoticz, under Hardware page, select "Life360 Presence" as a new hardware and fill in the required fields. "TomTom API key is not required, but if you want to get current address of a member and driving distance, you should get a TomTom API key and copy-paste here, otherwise leave it empty.
How to get a TomTom API Key:
Go to https://developer.tomtom.com/user/register page. Create a new User Account. Login to your account and from 'My Apps', press 'Add a new app' to add a new app and select at least 'Routing API' and 'Search API', you can select all APIs here if you want. Then from the 'Keys' page, copy the 'Consumer API Key' of your app to Life360 plugin setting page - 'TomTom API Key' field. Remember, you have 2.500 daily API calls limit fro free... When you are at 'Home', there are no API calls to TomTom.
