NEWS
[Neuer Adapter] Life360
-
@peterpan das mit dem Kreis hat bei mir auch nicht sofort geklappt, kein Obejekt wurde angelegt, als ich dann online im Lief360 einen Kreis angelegt habe, dann hat es sich verändert und beide waren da. Jetzt schaut es gut aus, ev. kann ich es jetzt wieder reduzieren.
-
@migoller Guten Morgen, heute Nacht hat sich was getan...
2021-04-08 06:55:32.070 - warn: life360.0 (1940) No members found! 2021-04-08 06:55:32.607 - warn: life360.0 (1940) No people data received from Life360. Aborting 2021-04-08 06:58:47.526 - warn: life360.0 (1940) No places found! 2021-04-08 06:59:02.781 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.id" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.782 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.id" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.817 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.ownerId" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.818 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.ownerId" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.894 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.circleId" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.895 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.circleId" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.977 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.name" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:02.978 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.name" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.008 - warn: life360.0 (1940) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.90f13baf-5e18-4c48-9612-158dc63804ca.isPresent" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.018 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.latitude" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.019 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.latitude" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.042 - warn: life360.0 (1940) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.093 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.longitude" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.093 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.longitude" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.112 - warn: life360.0 (1940) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.membersPresent" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.118 - warn: life360.0 (1940) Object life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.gps-coordinates is invalid: obj.common.type has an invalid value (text) but has to be one of number, string, boolean, array, object, mixed, file, json 2021-04-08 06:59:03.119 - warn: life360.0 (1940) This object will not be created in future versions. Please report this to the developer. 2021-04-08 06:59:03.119 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.gps-coordinates" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.120 - warn: life360.0 (1940) Object life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.gps-coordinates is invalid: obj.common.type has an invalid value (text) but has to be one of number, string, boolean, array, object, mixed, file, json 2021-04-08 06:59:03.120 - warn: life360.0 (1940) This object will not be created in future versions. Please report this to the developer. 2021-04-08 06:59:03.121 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.gps-coordinates" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.177 - warn: life360.0 (1940) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.90f13baf-5e18-4c48-9612-158dc63804ca.isPresent" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.191 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.radius" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.192 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.radius" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.193 - warn: javascript.0 (711) getState "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" not found (3) 2021-04-08 06:59:03.195 - warn: javascript.0 (711) at Object. (script.js.common.Garage:57:9) 2021-04-08 06:59:03.195 - warn: javascript.0 (711) at Object.callback (/opt/iobroker/node_modules/iobroker.javascript/lib/sandbox.js:1070:38) 2021-04-08 06:59:03.195 - warn: javascript.0 (711) at Object.stateChange (/opt/iobroker/node_modules/iobroker.javascript/main.js:487:29) 2021-04-08 06:59:03.195 - warn: javascript.0 (711) at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:5555:41) 2021-04-08 06:59:03.196 - warn: javascript.0 (711) at processImmediate (internal/timers.js:461:21) 2021-04-08 06:59:03.196 - info: javascript.0 (711) script.js.common.Garage: Garage - xxx Handy @ Home 2021-04-08 06:59:03.204 - warn: life360.0 (1940) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.219 - info: javascript.0 (711) script.js.common.Garage: Garage - xxx Handy @ Home 2021-04-08 06:59:03.258 - warn: life360.0 (1940) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.urlMap" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.258 - warn: life360.0 (1940) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.urlMap" has no existing object, this might lead to an error in future versions 2021-04-08 06:59:03.281 - warn: life360.0 (1940) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.membersPresent" has no existing object, this might lead to an error in future versions
in azyklischen Abständen fast 30 x ab Mitternacht hat der Adapter Fehler und löst mir dadurch falsche Befehle aus (mein Blockly verwendet das Objekt isPresent).
Ich habe den Adapter nun auf debug gestellt.
life360.0 2021-04-08 07:10:52.657 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:10:52.656 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:10:52.632 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:10:52.620 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:10:52.612 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:10:52.607 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:10:51.052 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:10:37.864 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:10:37.863 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:10:37.836 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:10:37.811 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:10:37.800 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:10:37.792 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:10:36.051 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:10:22.919 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:10:22.919 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:10:22.901 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:10:22.889 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:10:22.882 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:10:22.877 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:10:21.052 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:10:09.473 debug (23334) system.adapter.admin.0: logging true life360.0 2021-04-08 07:10:07.705 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:10:07.703 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:10:07.688 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:10:07.671 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:10:07.662 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:10:07.654 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:10:06.051 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:09:53.559 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:09:53.558 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:09:53.545 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:09:53.518 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:09:53.497 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:09:53.472 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:09:51.854 info (23334) Connected to Life360 cloud services. life360.0 2021-04-08 07:09:51.845 debug (23334) Saved auth tokens. life360.0 2021-04-08 07:09:51.844 debug (23334) Logged in as user: xxxx, phone: xxxx . life360.0 2021-04-08 07:09:51.051 info (23334) Polling enabled every 15 seconds. life360.0 2021-04-08 07:09:51.035 debug (23334) Connecting to Life360 service ... life360.0 2021-04-08 07:09:51.034 debug (23334) Not authenticated against Life360. Will try to connect ... life360.0 2021-04-08 07:09:51.031 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:09:50.961 info (23334) starting. Version 0.2.12 in /opt/iobroker/node_modules/iobroker.life360, node: v12.22.0, js-controller: 3.2.16 life360.0 2021-04-08 07:09:50.523 debug (23334) statesDB connected life360.0 2021-04-08 07:09:50.522 debug (23334) States connected to redis: 127.0.0.1:9000 life360.0 2021-04-08 07:09:50.514 debug (23334) States create User PubSub Client life360.0 2021-04-08 07:09:50.513 debug (23334) States create System PubSub Client life360.0 2021-04-08 07:09:50.504 debug (23334) Redis States: Use Redis connection: 127.0.0.1:9000 life360.0 2021-04-08 07:09:50.502 debug (23334) objectDB connected life360.0 2021-04-08 07:09:50.492 debug (23334) Objects connected to redis: 127.0.0.1:9001 life360.0 2021-04-08 07:09:50.472 debug (23334) Objects client initialize lua scripts life360.0 2021-04-08 07:09:50.470 debug (23334) Objects create User PubSub Client life360.0 2021-04-08 07:09:50.468 debug (23334) Objects create System PubSub Client life360.0 2021-04-08 07:09:50.466 debug (23334) Objects client ready ... initialize now life360.0 2021-04-08 07:09:50.411 debug (23334) Redis Objects: Use Redis connection: 127.0.0.1:9001 life360.0 2021-04-08 07:09:45.854 info (1940) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
nach dem Restart (durch das umstellen auf debug) scheint es wieder normal zu sein.
lt. Life360 haben wir seit gestern nicht "zuHause" verlassen, dh. eine falsche Situation wird von Life360 nicht gekommen sein.und nach ein paar Minuten wieder das Selbe
life360.0 2021-04-08 07:15:07.650 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:15:07.649 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:15:07.584 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:15:07.564 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:15:07.556 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:15:07.549 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:15:06.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:15:03.915 debug (23334) system.adapter.admin.0: logging true life360.0 2021-04-08 07:15:00.253 debug (23334) system.adapter.admin.0: logging false life360.0 2021-04-08 07:14:52.580 warn (23334) No people data received from Life360. Aborting life360.0 2021-04-08 07:14:52.579 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:14:52.083 warn (23334) No members found! life360.0 2021-04-08 07:14:51.055 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:14:38.256 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.membersPresent" has no existing object, this might lead to an error in future version life360.0 2021-04-08 07:14:38.176 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.urlMap" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.174 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.urlMap" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.173 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" has no existing object, this might le life360.0 2021-04-08 07:14:38.102 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.radius" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.100 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.radius" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.092 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.90f13baf-5e18-4c48-9612-158dc63804ca.isPresent" has no existing object, this might le life360.0 2021-04-08 07:14:38.064 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.gps-coordinates" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.064 warn (23334) This object will not be created in future versions. Please report this to the developer. life360.0 2021-04-08 07:14:38.063 warn (23334) Object life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.gps-coordinates is invalid: obj.common.type has an invalid value (text) but has to be one of number, string, boolean, array, objec life360.0 2021-04-08 07:14:38.062 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.gps-coordinates" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.059 warn (23334) This object will not be created in future versions. Please report this to the developer. life360.0 2021-04-08 07:14:38.058 warn (23334) Object life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.gps-coordinates is invalid: obj.common.type has an invalid value (text) but has to be one of number, string, boolean, array, objec life360.0 2021-04-08 07:14:38.050 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.membersPresent" has no existing object, this might lead to an error in future version life360.0 2021-04-08 07:14:38.028 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.longitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:38.027 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.longitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.939 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" has no existing object, this might le life360.0 2021-04-08 07:14:37.863 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.latitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.860 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.latitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.846 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.90f13baf-5e18-4c48-9612-158dc63804ca.isPresent" has no existing object, this might le life360.0 2021-04-08 07:14:37.830 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.name" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.818 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.name" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.790 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.circleId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.786 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.circleId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.764 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.ownerId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.762 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.ownerId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.711 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:14:37.711 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:14:37.695 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.id" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.693 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.id" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 07:14:37.692 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:14:37.669 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:14:37.658 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:14:37.623 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:14:36.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:14:23.042 debug (23334) Removed Home from Life360 circle Familie. life360.0 2021-04-08 07:14:23.041 debug (23334) Removed Arbeit from Life360 circle Familie. life360.0 2021-04-08 07:14:22.853 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:14:22.852 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:14:22.836 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:14:22.782 debug (23334) Published 0 place(s) to ioBroker. life360.0 2021-04-08 07:14:22.781 debug (23334) Removed Home from Life360 places. life360.0 2021-04-08 07:14:22.780 debug (23334) Removed Arbeit from Life360 places. life360.0 2021-04-08 07:14:22.768 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:14:22.755 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:14:22.754 warn (23334) No places found! life360.0 2021-04-08 07:14:21.055 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:14:07.683 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:14:07.682 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:14:07.660 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:14:07.647 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:14:07.613 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:14:07.589 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:14:06.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:13:52.815 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:13:52.811 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:13:52.738 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:13:52.719 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:13:52.648 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:13:52.639 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:13:51.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:13:37.759 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:13:37.756 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:13:37.733 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:13:37.714 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:13:37.705 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:13:37.698 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:13:36.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:13:23.410 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:13:23.410 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:13:23.363 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:13:23.348 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:13:23.341 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:13:23.334 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:13:21.735 debug (23334) Saved auth tokens. life360.0 2021-04-08 07:13:21.734 debug (23334) Logged in as user: richard.nussdorfer@gmail.com, phone: 6509580846 . life360.0 2021-04-08 07:13:21.055 debug (23334) Connecting to Life360 service ... life360.0 2021-04-08 07:13:21.055 debug (23334) Not authenticated against Life360. Will try to connect ... life360.0 2021-04-08 07:13:21.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:13:11.853 debug (23334) Auth tokens deleted. life360.0 2021-04-08 07:13:07.874 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:13:07.873 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:13:07.859 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:13:07.836 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:13:07.824 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:13:07.814 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:13:06.055 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:12:52.768 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:12:52.767 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:12:52.751 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:12:52.719 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:12:52.708 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:12:52.698 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:12:51.055 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:12:37.670 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:12:37.669 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:12:37.658 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:12:37.647 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:12:37.641 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:12:37.612 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:12:36.055 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:12:22.731 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:12:22.730 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:12:22.663 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:12:22.642 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:12:22.631 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:12:22.621 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 07:12:21.054 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 07:12:07.677 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 07:12:07.676 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 07:12:07.667 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 07:12:07.652 debug (23334) Published 2 place(s) to ioBroker. life360.0 2021-04-08 07:12:07.644 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 07:12:07.593 debug (23334) Pushing cloud_data to callback function
was auffällt, verliert er sein Verbindung löscht er die Obejkte - das sollte er nicht machen!
wenn ich es richtig interpretiere dann gibt es einen Fehler bei den Places. Werden diese nicht gefunden (übergeben?) wird im ioBroker das Objekt gelöscht.
Wäre es möglich diese löschen mal nicht zu tun? -
Hi, ja die Meldungen habe ich hier auch.
-
@humidor , @ilovegym : Ich schließe mich Euch an. So eine vergleichbare Situation, dass Life360 per API mal und mal nicht Informationen geliefert hat, hatten wir schon einmal vor ein paar Wochen.
Allerdings sollte der Adapter dann nicht die Life360 Places löschen, wenn gar keine Daten von Life360 geliefert werden; das werde ich definitiv einbauen. Nutzt Ihr die Life360 Places oder "My Places" des Adapters? Bei mir ist das Problem wahrscheinlich nicht durchgeschlagen, da ich die Life360 Places nicht in meiner Automatisierung nutze und stattdessen auf "My Places" setze.
Es gibt ein Indiz, wann die Life360 Places im IOB angelegt worden sind. Könnt Ihr bitte mal prüfen, ob die letzte Änderung der Datenpunkte
life360.0.places.<GUID>.gps-coordinates
heute Nacht erfolgt ist? Das wäre ein Indikator, dass die Objekte gelöscht und neu angelegt worden sind.Die API als solche scheint seitens Lif360 noch so zu funktionieren, wie ich sie kenne.
Habt vielen Dank für Euer Feedback.
VG, MiGoller
-
@migoller Hi, ich nutze myplaces, da stimmt alles...
-
-
@migoller hi
wollt nochmal freundlich nachfrgen, ob du mal zeit hast, das abfrageinterval der instanz als dp abzubilden (zum steuern aus script)? wenn du eh gerade am adapter arbeitest
-
@liv-in-sky Hey. Ich befürchte, das kann ich miteinander kombinieren.
-
@migoller aktuell die Life-Places, keinen Kreis im Adapter definiert
sollte ich das umstellen?
wo sehe ich denn die Zeit von einem Verzeichnis? kann das nur bei einem Objekt sehen. -
@humidor Ich bin grad unterwegs, aber ich schicke Dir nachher einen Screenshot. In der Ansicht der Objekte gibt es die Ansicht der Werte. Da bitte ein GPS-Datenpunkt eines Life360 Places auswählen. Dort findest Du dann auch Spalten für die letzte Änderung und die letzte Aktualisierung.
-
@migoller life360/circles/places/home/
createdat steht 3.4, das wäre der Tag wo ich (glaube) alles neu gemacht habe
letzte Aktualisierung ist aktuell, er schafft es ja immer wieder und dann wieder nicht usw.
das Löschen entnehme ich dem Log.danke, dass du den Adapter machst!!
jetzt gerade wieder: da steht no places found, removed.
damit ändert sich der State vom Objekt "isPresent" und da schmeißts dann meine Automation.life360.0 2021-04-08 12:06:53.408 debug (23334) Removed Home from Life360 circle Familie. life360.0 2021-04-08 12:06:53.407 debug (23334) Removed Arbeit from Life360 circle Familie. life360.0 2021-04-08 12:06:53.304 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 12:06:53.303 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 12:06:53.285 debug (23334) Published 2 people to ioBroker. life360.0 2021-04-08 12:06:53.263 debug (23334) Published 0 place(s) to ioBroker. life360.0 2021-04-08 12:06:53.263 debug (23334) Removed Home from Life360 places. life360.0 2021-04-08 12:06:53.263 debug (23334) Removed Arbeit from Life360 places. life360.0 2021-04-08 12:06:53.259 debug (23334) Published 0 MyPlaces to ioBroker. life360.0 2021-04-08 12:06:53.255 debug (23334) Pushing cloud_data to callback function life360.0 2021-04-08 12:06:53.254 warn (23334) No places found! life360.0 2021-04-08 12:06:51.679 debug (23334) Fetching Life360 cloud data ... life360.0 2021-04-08 12:06:38.730 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.membersPresent" has no existing object, this might lead to an error in future version life360.0 2021-04-08 12:06:38.665 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" has no existing object, this might le life360.0 2021-04-08 12:06:38.644 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.urlMap" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.638 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.90f13baf-5e18-4c48-9612-158dc63804ca.isPresent" has no existing object, this might le life360.0 2021-04-08 12:06:38.633 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.urlMap" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.575 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.radius" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.573 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.membersPresent" has no existing object, this might lead to an error in future version life360.0 2021-04-08 12:06:38.568 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.radius" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.502 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.gps-coordinates" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.502 warn (23334) This object will not be created in future versions. Please report this to the developer. life360.0 2021-04-08 12:06:38.502 warn (23334) Object life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.gps-coordinates is invalid: obj.common.type has an invalid value (text) but has to be one of number, string, boolean, array, objec life360.0 2021-04-08 12:06:38.500 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.gps-coordinates" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.500 warn (23334) This object will not be created in future versions. Please report this to the developer. life360.0 2021-04-08 12:06:38.498 warn (23334) Object life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.gps-coordinates is invalid: obj.common.type has an invalid value (text) but has to be one of number, string, boolean, array, objec life360.0 2021-04-08 12:06:38.487 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.0752c6f7-6d19-47c3-a2b2-4a6fd92f11a1.isPresent" has no existing object, this might le life360.0 2021-04-08 12:06:38.476 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.longitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.465 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.longitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.457 warn (23334) State "life360.0.circles.14f1c5bd-3344-4634-a4ef-9e50713590e9.places.5b77c866-6142-421a-b781-828ea05b798c.90f13baf-5e18-4c48-9612-158dc63804ca.isPresent" has no existing object, this might le life360.0 2021-04-08 12:06:38.445 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.latitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.444 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.latitude" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.381 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.name" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.378 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.name" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.365 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.circleId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.356 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.circleId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.344 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.ownerId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.343 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.ownerId" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.291 debug (23334) Life360 cloud data processed. life360.0 2021-04-08 12:06:38.291 debug (23334) Published 1 circle(s) to ioBroker. life360.0 2021-04-08 12:06:38.289 warn (23334) State "life360.0.places.ab561360-7317-427a-8a54-cc8d9f2b41ea.id" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.281 warn (23334) State "life360.0.places.5b77c866-6142-421a-b781-828ea05b798c.id" has no existing object, this might lead to an error in future versions life360.0 2021-04-08 12:06:38.280 debug (23334) Published 2 people to ioBroker.
-
@humidor Hey.
No places found!
und nach ein paar Minuten liefert die API dann doch wieder Informationen zu den Orten. Egal, ich habe Anpassungen am Code vorgenommen, dass Life360 Places erst nach 30 Tagen gelöscht werden, nicht aber sofort. Und keine Angst: In einem späteren Release wird dieser Zeitraum konfigurierbar.Jetzt schauen wir erst einmal, dass die Places nicht dauernd gelöscht werden, wenn die API einen Schluckauf hat. Einverstanden? Die ersten Tests bei mir sehen schon ganz gut aus.
@liv-in-sky Das Abfrageintervall über einen Datenpunkt konfigurierbar zu gestalten, packe ich dann gleich mit an.
-
@humidor Hey. Bekommst Du noch
No places found!
Meldungen? Ich erhalte keine mehr. -
@migoller hatte wohl Schluckauf
aktuell funktioniert es, im Log stehen verm. nur unbedeutende Sachen, zyklisch:2021-04-09 00:15:37.716 - [34mdebug[39m: life360.0 (23334) Fetching Life360 cloud data ... 2021-04-09 00:15:37.716 - [34mdebug[39m: life360.0 (23334) Not authenticated against Life360. Will try to connect ... 2021-04-09 00:15:37.716 - [34mdebug[39m: life360.0 (23334) Connecting to Life360 service ...
das mit dem Updateintervall werde ich auch ändern, sobald du es im Adapter hast
gr. Update, wenn zu Hause, 15s wenn unterwegs (öffnet mir die Garage)
(mit dem Updateintervall von 15s hat mir heute die Garage nicht aufgemacht, die Aktualisierung hat damit nicht im 15s Intervall fkt., die letzte Woche schon)ist es nun besser myHome im Life360 oder Adapter zu machen und weniger zu syncen?
-
@humidor Versuche bitte mal die Version 0.2.14 über Guthub oder npm. Jetzt sollten die Life360 Places nicht mehr verschwinden und dann hoffentlich wieder erscheinen. In meinen Tests hat es funktioniert. Es greift aktuell ein - zukünftig konfigurierbarer - Mechanismus, der nicht mehr von der API gelieferte Objekte erst nach 30 Tagen entfernt.
Um auf Deine Frage einzugehen, ob es besser sei, Orte im Adapter oder in der Life360 App anzulegen... Um ehrlich zu sein, es hat beides so Vor- und Nachteile.
- Legst Du Orte in der App an, so musst Du diese auch nur in der App pflegen und nicht noch an einer weiteren Stelle. In meinem Fall war es aber so, dass die Mitglieder eines Kreises denselben Ort unterschiedlich benannt hatten. Life360 liefert damit denselben Ort mehrfach. Hat gedauert, bis ich das herausgefunden hatte, da es "plötzlich" aufgetreten ist. Dass jemand denselben Ort unter einem anderen Namen angelegt hatte, hatte ich erst beim genauen Hinschauen erkannt.
Meinen Anwendungsfall hatte das leider nur komplizierter gestaltet: Ich wollte doch nur wissen, wer aus einem Kreis alles an einem Ort ist. An einem Ort...
- Das war die Geburtsstunde der "MyPlaces" im Adapter. Orte, die ich für die Gebäudesteuerung verwende, überlasse ich nicht mehr der Life360 App; diese definiere ich im Adapter. Life360 kennt eh schon meinen Aufenthaltsort und den anderer; da muss Life360 nicht auch noch um "besondere" Orte wissen, die eine Funktion auslösen.
Ich hoffe, der Ansatz hilft Dir weiter.
VG, MiGoller
-
@migoller Super, werde ich machen.
die Places ziehe ich dann auch in den Adapter.aber ich kann es aus deiner Formulierung nicht klar rauslesen, die Objekte löschst du jetzt nach 30 Tage, es soll die Werte auch nicht "verändert" werden, wenn keine korrekte Kommunikation stattfindet (true/false).
-
passen diese Einstellungen für Places im Adapter?
und welche GPS Verfolgung ist eine "schnelle" ? -
@humidor Hey. Wenn die API keine Informationen liefert, werden auch keine vorhandenen Datenpunkte verändert... und jetzt auch nicht mehr gelöscht. Werden Datenpunkte allerdings 30 Tage nacheinander nicht von der API mit Informationen bedient, dann kommt der große Frühjahrsputz.
-
@migoller OK, denn das hatte ich ja isPresent true/false, das hast du somit optimiert, super
ich habe jetzt einen Place im Adapter angelegt, damit werde ich das Verhalten von Life360 nicht mehr sehen.
wie ist das noch mit dem GPS tracking, kannst du das bitte aufklären welche Einstellung das was ist? Danke!!
-
@humidor Die Einstellungen sehen ok aus. Ich persönlich nutze noch das Verarbeiten der Life360-Kreise, um Änderungen an den Kreisen mitzubekommen. Wenn Du das nicht brauchst, kannst Du es so belassen.