Python Plugin: Life 360 Presence Detection

Python and python framework
febalci
Posts: 225
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by febalci » Friday 12 January 2018 10:53

g00fy wrote:
Friday 12 January 2018 10:32
How can I debug this (setting debugging on doesn't give more information in the domoticz log). I would be very pleased to be able to make use of this plugin.
Dear Emile,
I believe this 'Fatal Signal 11' error is unfortunately more of something related to Domoticz side, not the plugin itself. Please check: http://www.domoticz.com/forum/viewtopic ... 11#p165132 and https://github.com/domoticz/domoticz/issues/1891 As far as i know no solution is found yet. As i see you are using stable 3.8153, and what platform is it? Raspberry Pi? I am using the plugin on 3.8153 on Synology and Windows without problems. You can try without the google Key, leave that option empty and try again. So that we can maybe understand if it is a google api or life360 api based problem.

If the plugin is no-go and you still want to use Life360 presence, you can always use https://www.domoticz.com/forum/viewtopi ... 60#p144142 bash script of this plugin. It is missing Battery and Location options.

g00fy
Posts: 8
Joined: Friday 08 September 2017 8:27
Target OS: Raspberry Pi
Domoticz version: 3.8153
Location: Dordrecht, The Netherlands
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by g00fy » Thursday 18 January 2018 17:42

Hey Febalci,

Thanks for your answer. Looking through some older posts I saw that this was more of a Domoticz problem indeed.
I was using the prebuild version for Raspberry Pi and found out that there are plenty of people with the same problem. Now I build the last development version myself and the plugin is running fine since yesterday evening.

So, thanks for making this very nice plugin and for leading me to the right answer why it was not working before.

User avatar
EdwinK
Posts: 1000
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by EdwinK » Saturday 20 January 2018 17:47

Since I now can install all kind of Python plugins, I decided to try this again. At first it looked like it was going to work, could enter my credentials, but it couldn't create any devices, so I had to delete it completely :( I guess there still is something not working right on my install :(
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Mace
Posts: 75
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by Mace » Saturday 20 January 2018 22:10

@Edwin, happens to me to. Did a brand new install of Domoticz and this script still manages to kill it. Too bad, but I already pitched in for the Life 360 program...

Hope someone can shine a light on this.

febalci
Posts: 225
Joined: Monday 03 July 2017 19:58
Target OS: NAS (Synology & others)
Domoticz version:
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by febalci » Saturday 20 January 2018 23:03

Make sure the first created circle is called 'Home' and you and your family is in this circle (circle[0]). If you open debug option you will most probably catch the problem.
And are you sure your credentials are correct? (Username needs email adress, not username)

User avatar
EdwinK
Posts: 1000
Joined: Sunday 22 January 2017 22:46
Target OS: Raspberry Pi
Domoticz version: BETA
Location: Rhoon
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by EdwinK » Sunday 21 January 2018 0:19

Yes... I am sure. When installed and after entering the details it gives something like 'problems retrieving devices' (can't remember the exact text'), and then Domoticz sort of crashes. All devices are gone and have to remove the plugin from the server is the only remedy to fix it.
Screen Shot 2018-01-20 at 23.31.14.png
Problems retrieving devices
Screen Shot 2018-01-20 at 23.31.14.png (24.31 KiB) Viewed 39 times

@mace strange it's doing this for both of us. Maybe it doesn't like our beautiful city :(
Running latest BETA on a Pi-3 | Toon Thermostat | RFxcom | Dashticz V2 |

Mace
Posts: 75
Joined: Monday 21 August 2017 19:52
Target OS: Windows
Domoticz version: 3.8153
Location: Rhoon
Contact:

Re: Python Plugin: Life 360 Presence Detection

Post by Mace » Sunday 21 January 2018 0:41

@febalci: Exactly the same behavior at my installation as my near neighbour has...

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest