i find the right folder

it works,
Moderator: leecollings
Code: Select all
2019-07-17 08:35:30.332 (Life360) Life360 URLError Reason: [SSL] internal error (_ssl.c:720)
2019-07-17 08:35:30.332 (Life360) No Token Received; Please Check Life360 Username and Password
2019-07-17 08:35:30.332 (Life360) Error Authenticating Life360 or Connection Problem...
2019-07-17 08:35:30.332 (Life360) Please Use Correct Credentials and Restart The Plugin!
Code: Select all
2019-11-04 17:00:09.031 Error: Bluetooth hardware (14) thread seems to have ended unexpectedly
2019-11-04 17:00:09.032 Error: Life 360 hardware (17) thread seems to have ended unexpectedly
2019-11-04 17:00:23.035 Error: Bluetooth hardware (14) thread seems to have ended unexpectedly
2019-11-04 17:00:23.035 Error: Life 360 hardware (17) thread seems to have ended unexpectedly
2019-11-04 17:00:37.039 Error: Bluetooth hardware (14) thread seems to have ended unexpectedly
2019-11-04 17:00:37.041 Error: Life 360 hardware (17) thread seems to have ended unexpectedly
2019-11-04 17:00:51.044 Error: Life 360 hardware (17) thread seems to have ended unexpectedly
Annemarie and Bert are both in the same circle2019-11-18 15:37:24.147 (Bert-Life360) Checking Life360 Circle...
2019-11-18 15:37:26.076 (Bert-Life360) OSM Nominatim API URLError Reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
2019-11-18 15:37:28.105 (Bert-Life360) OSM Nominatim API URLError Reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
2019-11-18 15:37:53.148 (Annemarie-Life360) Checking Life360 Circle...
2019-11-18 15:37:55.125 (Annemarie-Life360) OSM Nominatim API URLError Reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
2019-11-18 15:37:57.152 (Annemarie-Life360) OSM Nominatim API URLError Reason: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:645)
And from a later time:2019-11-27 21:27:46.344 (Life360) Checking Life360 Circle...
Fatal Python error: Segmentation fault
Current thread 0x74dae220 (most recent call first):
File "/usr/lib/python3.7/ssl.py", line 1117 in do_handshake
File "/usr/lib/python3.7/ssl.py", line 853 in _create
File "/usr/lib/python3.7/ssl.py", line 412 in wrap_socket
File "/usr/lib/python3.7/http/client.py", line 1392 in connect
File "/usr/lib/python3.7/http/client.py", line 956 in send
File "/usr/lib/python3.7/http/client.py", line 1016 in _send_output
File "/usr/lib/python3.7/http/client.py", line 1224 in endheaders
File "/usr/lib/python3.7/http/client.py", line 1275 in _send_request
File "/usr/lib/python3.7/http/client.py", line 1229 in request
File "/usr/lib/python3.7/urllib/request.py", line 1317 in do_open
File "/usr/lib/python3.7/urllib/request.py", line 1360 in https_open
File "/usr/lib/python3.7/urllib/request.py", line 503 in _call_chain
File "/usr/lib/python3.7/urllib/request.py", line 543 in _open
File "/usr/lib/python3.7/urllib/request.py", line 525 in open
File "/usr/lib/python3.7/urllib/request.py", line 222 in urlopen
File "/home/pi/domoticz/plugins/Life360/life360.py", line 32 in make_request
File "/home/pi/domoticz/plugins/Life360/life360.py", line 51 in authenticate
File "/home/pi/domoticz/plugins/Life360/plugin.py", line 167 in onHeartbeat
File "/home/pi/domoticz/plugins/Life360/plugin.py", line 294 in onHeartbeat
2019-11-27 21:27:46.692 Error: Domoticz(pid:1869, tid:1872('PluginMgr')) received fatal signal 11 (Segmentation fault)
2019-11-27 21:27:46.692 Error: siginfo address=0x74d, address=(nil)
Can someone please help me to make it wotk since the plugin gives me exactly the information I like to have for my domoticz project.2019-11-28 11:53:18.904 (Life360) Checking Life360 Circle...
free(): invalid next size (fast)
Fatal Python error: Aborted
Current thread 0x74d32220 (most recent call first):
File "/usr/lib/python3.7/socket.py", line 660 in close
File "/usr/lib/python3.7/http/client.py", line 401 in _close_conn
File "/usr/lib/python3.7/http/client.py", line 465 in read
File "/home/pi/domoticz/plugins/Life360/life360.py", line 40 in make_request
File "/home/pi/domoticz/plugins/Life360/life360.py", line 73 in get_circle
File "/home/pi/domoticz/plugins/Life360/plugin.py", line 170 in onHeartbeat
File "/home/pi/domoticz/plugins/Life360/plugin.py", line 294 in onHeartbeat
2019-11-28 11:53:19.884 Error: Domoticz(pid:3227, tid:3230('PluginMgr')) received fatal signal 6 (Aborted)
2019-11-28 11:53:19.884 Error: siginfo address=0xc9b, address=(nil)
corrupted size vs. prev_size
2019-11-28 11:53:23.760 Error: Domoticz(pid:3227, tid:3230('PluginMgr')) received fatal signal 6 (Aborted) while backtracing
2019-11-28 11:53:23.760 Error: siginfo address=0xc9b, address=0xffffffff
2019-11-28 11:53:23.762 Error: #0 ./domoticz() [0x2d8464]
2019-11-28 11:53:23.762 Error: #1 ./domoticz : signal_handler(int, siginfo_t*, void*) + 0x260 [0x2d8edc]
2019-11-28 11:53:23.762 Error: #2 /lib/arm-linux-gnueabihf/libc.so.6 : __default_rt_sa_restorer + 0 [0x76bba130]
2019-11-28 11:53:23.762 Error: Domoticz(pid:3227, tid:3230('PluginMgr')) received fatal signal 6 (Aborted)
2019-11-28 11:53:23.762 Error: siginfo address=0xc9b, address=0xffffffff
2019-11-28 11:54:28.213 Error: Life360 hardware (4) thread seems to have ended unexpectedly
2019-11-28 11:59:50.336 Error: Life360 hardware (4) thread seems to have ended unexpectedly
2019-11-28 12:04:51.757 Error: mainworker seems to have ended or hung unexpectedly (last update 301.000000 seconds ago)
2019-11-28 12:04:51.757 Error: Domoticz(3227) is exiting due to watchdog triggered...
Code: Select all
(Life360) 'onHeartbeat' failed 'timeout'.
2020-02-28 09:25:59.668 Error: (Life360) ----> Line 294 in '/config/plugins/Life360/plugin.py', function onHeartbeat
2020-02-28 09:25:59.668 Error: (Life360) ----> Line 200 in '/config/plugins/Life360/plugin.py', function onHeartbeat
2020-02-28 09:25:59.668 Error: (Life360) ----> Line 50 in '/config/plugins/Life360/tomtomapi.py', function getdistance
2020-02-28 09:25:59.668 Error: (Life360) ----> Line 27 in '/config/plugins/Life360/tomtomapi.py', function make_request
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 222 in '/usr/lib/python3.7/urllib/request.py', function urlopen
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 525 in '/usr/lib/python3.7/urllib/request.py', function open
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 543 in '/usr/lib/python3.7/urllib/request.py', function _open
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 503 in '/usr/lib/python3.7/urllib/request.py', function _call_chain
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 1360 in '/usr/lib/python3.7/urllib/request.py', function https_open
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 1323 in '/usr/lib/python3.7/urllib/request.py', function do_open
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 1361 in '/usr/lib/python3.7/http/client.py', function getresponse
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 306 in '/usr/lib/python3.7/http/client.py', function begin
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 267 in '/usr/lib/python3.7/http/client.py', function _read_status
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 592 in '/usr/lib/python3.7/socket.py', function readinto
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 1071 in '/usr/lib/python3.7/ssl.py', function recv_into
2020-02-28 09:25:59.669 Error: (Life360) ----> Line 939 in '/usr/lib/python3.7/ssl.py', function read
Code: Select all
2022-05-12 22:05:21.011 (Life360) Acquiring lock for 'Life360'
2022-05-12 22:05:21.011 (Life360) Releasing lock for 'Life360'
2022-05-12 22:05:21.011 Life360: Pushing 'onHeartbeatCallback' on to queue
2022-05-12 22:05:21.062 Life360: (Life360) Processing 'onHeartbeatCallback' message
2022-05-12 22:05:21.062 (Life360) Acquiring lock for 'onHeartbeatCallback'
2022-05-12 22:05:21.062 Life360: Calling message handler 'onHeartbeat' on 'module' type object.
2022-05-12 22:05:21.062 Life360: onHeartBeat called:2/12
2022-05-12 22:05:21.062 (Life360) Releasing lock for 'onHeartbeatCallback'
2022-05-12 22:05:21.062 (Life360) Acquiring lock for 'Life360'
Code: Select all
2022-05-12 22:09:11.027 (Life360) Releasing lock for 'Life360'
2022-05-12 22:09:11.027 Life360: Pushing 'onHeartbeatCallback' on to queue
2022-05-12 22:09:11.078 Life360: (Life360) Processing 'onHeartbeatCallback' message
2022-05-12 22:09:11.078 (Life360) Acquiring lock for 'onHeartbeatCallback'
2022-05-12 22:09:11.078 Life360: Calling message handler 'onHeartbeat' on 'module' type object.
2022-05-12 22:09:11.078 Life360: onHeartBeat called:12/12
2022-05-12 22:09:11.079 Life360: Checking Life360 Circle...
2022-05-12 22:09:11.684 Life360: Token Received: MzAxZ..........ZDAx
2022-05-12 22:09:12.228 Life360: Family Circle:{'id': '61........9d', 'name': 'Family', 'color': '7f26c2', 'type': 'basic', 'createdAt': '1474451151', 'memberCount': '4', 'unreadMessages': '0', 'unreadNotifications': '0', 'features': {'ownerId': None, 'skuId': None, 'premium': '0', 'locationUpdatesLeft': 0, 'priceMonth': '0', 'priceYear': '0', 'skuTier': None}, 'members': [{'features': {'device': '1', 'smartphone': '1', 'nonSmartphoneLocating': '0', 'geofencing': '1', 'shareLocation': '1', 'shareOffTimestamp': None, 'disconnected': '0', 'pendingInvite': '0', 'mapDisplay': '1'}, 'issues': {'disconnected': '0', 'type': None, 'status': None, 'title': None, 'dialog': None, 'action': None, 'troubleshooting': '0'}, 'location': {'latitude': '52.11,.......', 'longitude': '4.2......', 'accuracy': '50', 'startTimestamp': 1652383306, 'endTimestamp': '1652385417', 'since': 1652383306, 'timestamp': '1652385417', 'name': 'Home', 'placeType': None, 'source': 'l', 'sourceId': '8a..........91', 'address1': 'Home', 'address2': '', 'shortAddress': '', 'inTransit': '0', 'tripId': None, 'driveSDKStatus': None, 'battery': '72', 'charge': '0', 'wifiState': '1', 'speed': -1, 'isDriving': '0', 'userActivity': None}, 'communications': [{'channel': 'Voice', 'value': '+316....36', 'type': 'Home'}, {'channel': 'Email', 'value': '[email protected]', 'type': None}], 'medical': None, 'relation': None, 'createdAt': '1474451151', 'activity': None, 'id': '62.........d7', 'firstName': 'Rene', 'lastName': 'Groothuis', 'isAdmin': '1', 'avatar': None, 'pinNumber': None, 'loginEmail': '[email protected]', 'loginPhone': '+316.......6'}, {'features': {'device': '1', 'smartphone': '1', 'nonSmartphoneLocating': '0', 'geofencing': '1', 'shareLocation': '1', 'shareOffTimestamp': None, 'disconnected': '0', 'pendingInvite': '0', 'mapDisplay': '1'}, 'issues': {'disconnected': '0', 'type': None, 'status': None, 'title': None, 'dialog': None, 'action': None, 'troubleshooting': '0'}, 'location': {'latitude': '.....502', 'longitude': '4.2.....8', 'accuracy': '50', 'startTimestamp': 1652383021, 'endTimestamp': '1652385481', 'since': 1652383021, 'timestamp': '1652385481', 'name': 'Home', 'placeType': None, 'source': 'l', 'sourceId': '8a..........91', 'address1': 'Home', 'address2': '', 'shortAddress': '', 'inTransit': '0', 'tripId': None, 'driveSDKStatus': None, 'battery': '87', 'charge': '0', 'wifiState': '1', 'speed': -1, 'isDriving': '0', 'userActivity': None}, 'communications': [{'channel': 'Voice', 'value': '+316.......8', 'type': 'Home'}, {'channel': 'Email', 'value': '[email protected]', 'type': None}], 'medical': None, 'relation': None, 'createdAt': '1551726961', 'activity': None, 'id': 'a77......4', 'firstName': 'Dorien', 'lastName': '', 'isAdmin': '0', 'avatar': 'https://www.life360.com/img/user_images/a77........d6403539.jpg?fd=2', 'pinNumber': None, 'loginEmail': '[email protected]', 'loginPhone': '+31.....58'}, {'features': {'device': '1', 'smartphone': '1', 'nonSmartphoneLocating': '0', 'geofencing': '1', 'shareLocation': '1', 'shareOffTimestamp': None, 'disconnected': '0', 'pendingInvite': '0', 'mapDisplay': '1'}, 'issues': {'disconnected': '0', 'type': None, 'status': None, 'title': None, 'dialog': None, 'action': None, 'troubleshooting': '0'}, 'location': {'latitude': '38.3...1', 'longitude': '-0.4....8', 'accuracy': '50', 'startTimestamp': 1652380576, 'endTimestamp': '1652385480', 'since': 1652380576, 'timestamp': '1652385480', 'name': None, 'placeType': None, 'source': None, 'sourceId': None, 'address1': None, 'address2': '', 'shortAddress': '', 'inTransit': '0', 'tripId': None, 'driveSDKStatus': None, 'battery': '51', 'charge': '0', 'wifiState': '1', 'speed': -1, 'isDriving': '0', 'userActivity': None}, 'communications': [{'channel': 'Voice', 'value': '+31622107867', 'type': 'Home'}, {'channel': 'Email', 'value': '[email protected]', 'type': None}], 'medical': None, 'relation': None, 'createdAt': '1474455989', 'activity': None, 'id': '46.........55', 'firstName': 'Laura', 'lastName': 'G', 'isAdmin': '0', 'avatar': 'https://www.life360.com/img/user_images/464a1246-d1de-4a87...............c73b.jpg?fd=2', 'pinNumber': None, 'loginEmail': '[email protected]', 'loginPhone': '+316.......7'}, {'features': {'device': '1', 'smartphone': '1', 'nonSmartphoneLocating': '0', 'geofencing': '1', 'shareLocation': '1', 'shareOffTimestamp': None, 'disconnected': '0', 'pendingInvite': '0', 'mapDisplay': '1'}, 'issues': {'disconnected': '0', 'type': None, 'status': None, 'title': None, 'dialog': None, 'action': None, 'troubleshooting': '0'}, 'location': {'latitude': '52.03......', 'longitude': '4.3......7', 'accuracy': '50', 'startTimestamp': 1652372702, 'endTimestamp': '1652385479', 'since': 1652372702, 'timestamp': '1652385479', 'name': 'Manon', 'placeType': None, 'source': 'u', 'sourceId': '10b.......f5', 'address1': 'Manon', 'address2': '', 'shortAddress': '', 'inTransit': '0', 'tripId': None, 'driveSDKStatus': None, 'battery': '30.000001907348633', 'charge': '0', 'wifiState': '1', 'speed': 0, 'isDriving': '0', 'userActivity': None}, 'communications': [{'channel': 'Voice', 'value': '+3163.......5', 'type': 'Home'}, {'channel': 'Email', 'value': '[email protected]', 'type': None}], 'medical': None, 'relation': None, 'createdAt': '1474465619', 'activity': None, 'id': '3d............25', 'firstName': 'Noor G', 'lastName': '', 'isAdmin': '0', 'avatar': 'https://www.life360.com/img/user_images/3d30c1..........4978023b.jpg?fd=2', 'pinNumber': None, 'loginEmail': '[email protected]', 'loginPhone': '+316........5'}]}
2022-05-12 22:09:12.228 Life360: 0/4
2022-05-12 22:09:12.228 Life360: Foundidx=0,Rene
2022-05-12 22:09:12.228 Life360: Updated Device:1,Rene
2022-05-12 22:09:12.228 Life360: Updated Device:2,Rene
2022-05-12 22:09:12.228 Life360: Updated Device:3,Rene
2022-05-12 22:09:12.228 Life360: Updated Device:4,Rene
2022-05-12 22:09:13.230 Life360: 1/4
2022-05-12 22:09:13.231 Life360: Foundidx=3,Dorien
2022-05-12 22:09:13.231 Life360: Updated Device:13,Dorien
2022-05-12 22:09:13.231 Life360: Updated Device:14,Dorien
2022-05-12 22:09:13.231 Life360: Updated Device:15,Dorien
2022-05-12 22:09:13.232 Life360: Updated Device:16,Dorien
..........
..........
When I run the plugin in debug mode and I'm checking the Life360 API response I get feedback for 4 family members but the last one is way shorter compared to the first three:2023-04-02 11:20:26.299 Error: Life360: 'onHeartbeat' failed 'ValueError':''Noor' is not in list'.
2023-04-02 11:20:26.299 Error: Life360: Exception traceback:
2023-04-02 11:20:26.300 Error: Life360: ----> Line 294 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:26.300 Error: Life360: ----> Line 182 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:36.298 Error: Life360: 'onHeartbeat' failed 'ValueError':''Noor' is not in list'.
2023-04-02 11:20:36.298 Error: Life360: Exception traceback:
2023-04-02 11:20:36.298 Error: Life360: ----> Line 294 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:36.298 Error: Life360: ----> Line 182 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:46.249 Error: Life360: 'onHeartbeat' failed 'ValueError':''Noor' is not in list'.
2023-04-02 11:20:46.249 Error: Life360: Exception traceback:
2023-04-02 11:20:46.249 Error: Life360: ----> Line 294 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:46.249 Error: Life360: ----> Line 182 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:56.588 Error: Life360: 'onHeartbeat' failed 'ValueError':''Noor' is not in list'.
2023-04-02 11:20:56.588 Error: Life360: Exception traceback:
2023-04-02 11:20:56.588 Error: Life360: ----> Line 294 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
2023-04-02 11:20:56.588 Error: Life360: ----> Line 182 in '/home/pi/domoticz/plugins/life360/plugin.py', function onHeartbeat
Any idea why this is the case? Could this have something to do with access rights? Or disabling the location sharing? In the Life360 App on my phone I can see the location of the last family member, so the location is being shared in my view. Why do I get a limited response?'id': '464a1246-d1de-4a87-9a21-2373c6509055', 'firstName': 'Laura', 'lastName': 'G', 'isAdmin': '0', 'avatar': 'https://www.life360.com/img/user_images ... b.jpg?fd=2', 'pinNumber': None, 'loginEmail': '[email protected]', 'loginPhone': '+316xxxxxxx'}, {'features': {'device': '1', 'smartphone': '1', 'nonSmartphoneLocating': '0', 'geofencing': '1', 'shareLocation': '1', 'shareOffTimestamp': None, 'disconnected': '0', 'pendingInvite': '0', 'mapDisplay': '1'}, 'issues': {'disconnected': '0', 'type': None, 'status': None, 'title': None, 'dialog': None, 'action': None, 'troubleshooting': '0'}, 'location': {'latitude': '52.0xxxxx', 'longitude': '5.xxxxxx', 'accuracy': '50', 'startTimestamp': 1680393198, 'endTimestamp': '1680427165', 'since': 1680393198, 'timestamp': '1680427165', 'name': None, 'placeType': None, 'source': None, 'sourceId': None, 'address1': None, 'address2': '', 'shortAddress': '', 'inTransit': '0', 'tripId': None, 'driveSDKStatus': None, 'battery': '85', 'charge': '0', 'wifiState': '1', 'speed': -1, 'isDriving': '0', 'userActivity': None, 'algorithm': None}, 'communications': [{'channel': 'Voice', 'value': '+316xxxxx', 'type': 'Home'}, {'channel': 'Email', 'value': '[email protected]', 'type': None}], 'medical': None, 'relation': None, 'createdAt': '1474465619', 'activity': None,
'id': '3d30c1dc-513c-4581-b549-898b5e190c25', 'firstName': 'Noor', 'lastName': 'G', 'isAdmin': '0', 'avatar': 'https://www.life360.com/img/user_images ... b.jpg?fd=2', 'pinNumber': None, 'loginEmail': '[email protected]', 'loginPhone': '+316xxxxxxx'}]}.
Hi
Code: Select all
2023-09-13 14:08:54.068 L 360 P: Checking Life360 Circle...
2023-09-13 14:08:54.525 L 360 P: Life360 HTTPError code: 403
2023-09-13 14:08:54.527 L 360 P: No Token Received; Please Check Life360 Username and Password
2023-09-13 14:08:54.527 L 360 P: Error Authenticating Life360 or Connection Problem...
2023-09-13 14:08:54.527 L 360 P: Please Use Correct Credentials and Restart The Plugin!!!
Code: Select all
class BasePlugin:
def __init__(self):
self.authorization_token = "Y2F0aGFwYWNyQVBoZUtVc3RlOGV2ZXZldnVjSGFmZVRydVl1ZnJhYzpkOEM5ZVlVdkE2dUZ1YnJ1SmVnZXRyZVZ1dFJ=="
self.deviceFirstName = []
self.membercount = 0
self.id = ''
self.pollPeriod = 0
self.pollCount = 0
self.tomtomapikey = ''
self.myHomelat = 0
self.myHomelon = 0
self.circleFirstName = ''
self.circleBattery = 0
self.circleLatitude = 0
self.circleLongitude = 0
self.circlLocationName = ''
self.selectedMap = ''
self.locationNames = []
return
Users browsing this forum: No registered users and 1 guest