pfisterdaniel / iobroker.apple-find-me Goto Github PK
View Code? Open in Web Editor NEWioBroker Adapter to get the current locations and other metrics of connected Apple devices.
License: Other
ioBroker Adapter to get the current locations and other metrics of connected Apple devices.
License: Other
Hi, ich probiere gerade das Adapter aus, da die anderen Find Me Adapter anscheinend nicht laufen.
Leider Crasht dieses, da es anscheinend eine ID nicht zuordnen kann.
Es gibt bei meinem Profil zwei iPhones mit dem Namen "Michael-iPhone" die nicht mehr in verwendung sind.
Anbei der Log aus IO-Broker:
apple-find-me.0 2021-04-24 14:25:26.937 warn Terminated (UNCAUGHT_EXCEPTION): Without reason apple-find-me.0 2021-04-24 14:25:26.936 info terminating apple-find-me.0 2021-04-24 14:25:26.875 error The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:25:26.874 error Error: The id "iPhone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3298:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:25 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:621:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:915:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:703:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:880:7) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/urllib/lib/urllib.js:924:7) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) apple-find-me.0 2021-04-24 14:25:26.869 error unhandled promise rejection: The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:25:26.868 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). apple-find-me.0 2021-04-24 14:25:26.754 info 4 Devices found apple-find-me.0 2021-04-24 14:25:25.640 info Refresh every 5 minutes apple-find-me.0 2021-04-24 14:25:25.639 info Starting Adapter Apple-Find-Me apple-find-me.0 2021-04-24 14:25:25.556 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.apple-find-me, node: v12.22.1, js-controller: 3.2.16 apple-find-me.0 2021-04-24 14:24:52.777 warn Terminated (UNCAUGHT_EXCEPTION): Without reason apple-find-me.0 2021-04-24 14:24:52.776 info terminating apple-find-me.0 2021-04-24 14:24:52.722 error The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:24:52.721 error Error: The id "iPhone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3298:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:25 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:621:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:915:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:703:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:880:7) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/urllib/lib/urllib.js:924:7) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) apple-find-me.0 2021-04-24 14:24:52.718 error unhandled promise rejection: The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:24:52.717 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). apple-find-me.0 2021-04-24 14:24:52.619 info 4 Devices found apple-find-me.0 2021-04-24 14:24:51.563 info Refresh every 5 minutes apple-find-me.0 2021-04-24 14:24:51.562 info Starting Adapter Apple-Find-Me apple-find-me.0 2021-04-24 14:24:51.493 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.apple-find-me, node: v12.22.1, js-controller: 3.2.16 apple-find-me.0 2021-04-24 14:24:18.582 warn Terminated (UNCAUGHT_EXCEPTION): Without reason apple-find-me.0 2021-04-24 14:24:18.581 info terminating apple-find-me.0 2021-04-24 14:24:18.533 error The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:24:18.533 error Error: The id "iPhone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3298:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:25 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:621:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:915:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:703:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:880:7) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/urllib/lib/urllib.js:924:7) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) apple-find-me.0 2021-04-24 14:24:18.529 error unhandled promise rejection: The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:24:18.529 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). apple-find-me.0 2021-04-24 14:24:18.429 info 4 Devices found apple-find-me.0 2021-04-24 14:24:17.536 info Refresh every 5 minutes apple-find-me.0 2021-04-24 14:24:17.534 info Starting Adapter Apple-Find-Me apple-find-me.0 2021-04-24 14:24:17.470 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.apple-find-me, node: v12.22.1, js-controller: 3.2.16 apple-find-me.0 2021-04-24 14:19:48.246 warn Terminated (UNCAUGHT_EXCEPTION): Without reason apple-find-me.0 2021-04-24 14:19:48.244 info terminating apple-find-me.0 2021-04-24 14:19:47.930 error The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:19:47.929 error Error: The id "iPhone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3298:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:25 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:621:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:915:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:703:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:880:7) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/urllib/lib/urllib.js:924:7) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) apple-find-me.0 2021-04-24 14:19:47.925 error unhandled promise rejection: The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:19:47.923 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). apple-find-me.0 2021-04-24 14:19:47.785 info 4 Devices found apple-find-me.0 2021-04-24 14:19:46.708 info Refresh every 5 minutes apple-find-me.0 2021-04-24 14:19:46.707 info Starting Adapter Apple-Find-Me apple-find-me.0 2021-04-24 14:19:46.628 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.apple-find-me, node: v12.22.1, js-controller: 3.2.16 apple-find-me.0 2021-04-24 14:19:13.818 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.CurrentLocation" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.766 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.RefreshTimeStamp" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.765 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.TimeStamp" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.764 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.Accuracy" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.763 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.PositionType" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.762 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.Altitude" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.762 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.Longitude" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.761 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.Location.Latitude" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.759 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.CurrentLocation" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.758 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.RefreshTimeStamp" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.757 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.TimeStamp" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.756 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.Accuracy" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.755 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.PositionType" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.754 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.Altitude" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.753 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.Longitude" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.752 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.Location.Latitude" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:19:13.744 warn Terminated (UNCAUGHT_EXCEPTION): Without reason apple-find-me.0 2021-04-24 14:19:13.742 info terminating apple-find-me.0 2021-04-24 14:19:13.675 error The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:19:13.674 error Error: The id "iPhone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3298:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:25 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:621:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:915:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:703:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:880:7) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/urllib/lib/urllib.js:924:7) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) apple-find-me.0 2021-04-24 14:19:13.670 error unhandled promise rejection: The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:19:13.669 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). apple-find-me.0 2021-04-24 14:19:13.547 info 4 Devices found apple-find-me.0 2021-04-24 14:19:12.490 info Refresh every 5 minutes apple-find-me.0 2021-04-24 14:19:12.489 info Starting Adapter Apple-Find-Me apple-find-me.0 2021-04-24 14:19:12.425 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.apple-find-me, node: v12.22.1, js-controller: 3.2.16 apple-find-me.0 2021-04-24 14:13:29.785 warn Terminated (NO_ADAPTER_CONFIG_FOUND): Without reason apple-find-me.0 2021-04-24 14:13:29.710 error adapter disabled apple-find-me.0 2021-04-24 14:12:57.415 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.415 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.415 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.414 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.413 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.413 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.407 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.406 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.404 warn redis get apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.DeviceID, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.403 warn redis get apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.ModelImage, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.403 warn redis get apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.BatteryState, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.402 warn redis get apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.BatteryLevel, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.401 warn redis get apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.ModelName, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.400 warn redis get apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.ModelType, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.399 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.399 warn get state error: Connection is closed. apple-find-me.0 2021-04-24 14:12:57.390 warn redis get apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.DeviceID, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.389 warn redis get apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.ModelImage, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.388 warn redis get apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.BatteryState, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.387 warn redis get apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.BatteryLevel, error - Connection is closed. apple-find-me.0 2021-04-24 14:12:57.288 warn State "apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.DeviceID" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.287 warn State "apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.ModelImage" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.285 warn State "apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.BatteryState" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.284 warn State "apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.BatteryLevel" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.283 warn State "apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.ModelName" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.281 warn State "apple-find-me.0.iPhone.98xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx21.ModelType" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.260 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.DeviceID" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.232 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.ModelImage" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.231 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.BatteryState" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.230 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.BatteryLevel" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.229 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.ModelName" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.228 warn State "apple-find-me.0.iPhone.FAxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx9E.ModelType" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.224 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.DeviceID" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.210 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.ModelImage" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.210 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.BatteryState" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.209 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.BatteryLevel" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.208 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.ModelName" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:57.207 warn State "apple-find-me.0.iPad.29xxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxBD.ModelType" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.867 warn Terminated (UNCAUGHT_EXCEPTION): Without reason apple-find-me.0 2021-04-24 14:12:56.866 info terminating apple-find-me.0 2021-04-24 14:12:56.847 warn State "apple-find-me.0.iPhone..DeviceID" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.846 warn State "apple-find-me.0.iPhone..ModelImage" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.845 warn State "apple-find-me.0.iPhone..BatteryState" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.844 warn State "apple-find-me.0.iPhone..BatteryLevel" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.843 warn State "apple-find-me.0.iPhone..ModelName" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.841 warn State "apple-find-me.0.iPhone..ModelType" has no existing object, this might lead to an error in future versions apple-find-me.0 2021-04-24 14:12:56.827 error The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:12:56.827 error Error: The id "iPhone." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:532:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3298:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:25 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:621:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:915:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:703:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:880:7) at IncomingMessage.<anonymous> (/opt/iobroker/node_modules/urllib/lib/urllib.js:924:7) at IncomingMessage.emit (events.js:326:22) at endReadableNT (_stream_readable.js:1241:12) apple-find-me.0 2021-04-24 14:12:56.823 error unhandled promise rejection: The id "iPhone." is invalid. Ids are not allowed to end in "." apple-find-me.0 2021-04-24 14:12:56.823 error Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). apple-find-me.0 2021-04-24 14:12:56.718 info 4 Devices found apple-find-me.0 2021-04-24 14:12:55.598 info Refresh every 5 minutes apple-find-me.0 2021-04-24 14:12:55.597 info Starting Adapter Apple-Find-Me apple-find-me.0 2021-04-24 14:12:55.498 info starting. Version 0.0.3 in /opt/iobroker/node_modules/iobroker.apple-find-me, node: v12.22.1, js-controller: 3.2.16
Hi Daniel,
ist die Standortangabe mit . oder , zu machen?
Viele Grüße und Danke für den tollen Adapter !
Thomas
Seit heute (ca. 18:00 Uhr, 5. Okt. 2022) werden keine Werte mehr aktualisiert.
Der Fehler tritt nicht nur in unserer Installation auf. Auch in einem weiteren System werden keine Werte mehr aktualisiert. Die letzten Zeitstempel liegen in beiden Systemen nur wenige Minuten auseinander.
In beiden System sind die Adapter offenbar abgestürzt. Ein Neustart (auch des gesamten Systems) änderte nichts an dem Fehler.
Wäre es möglich die letzte Position von einem AppleAirTag abzufragen?
Feedback from Apollon77:
Please fix tests .. they are red - i thinl you need to commit the package-lock.json also; also update testing lib, else will also fail: https://github.com/PfisterDaniel/ioBroker.apple-find-me/blob/master/package.json#L31
Hint: You can remove all that manual encrypt/decrypt code if you use the automatic handling which exists since js-controller 3 and admin 4.0.9+ ... see readme of this readme. But works also zthe way you did it for now
Please consider to change from node_schedule to an interval or better timeout (https://github.com/PfisterDaniel/ioBroker.apple-find-me/blob/master/main.js#L586). The reason is that when doing this the start time of the adapter defines the interval which spreads calls over time better then a hard schedule that runs on second 0 on the given minutes (by default every 5 minutes ... for all users of the adapter ... this can generate request peaks and can give issues (even if the servers are the ones from Apple :-) )
Please remember if objects were already created and do not usse "setObjectNotExists" every x mins ... this is just unneeded database load
ioBroker.apple-find-me/main.js
Lines 160 to 174 in 530cd05
please check the roles of your states for better options (e.g. value.battery or value.gps.latitude ...) https://github.com/ioBroker/ioBroker/blob/master/doc/STATE_ROLES.md ; also please store dates better as role date (see also state riole page for specs)
unload MUST stop the schedule!
ioBroker.apple-find-me/main.js
Line 47 in 530cd05
please remove
ioBroker.apple-find-me/main.js
Lines 62 to 70 in 530cd05
Hallo und vielen Dank für deinen Adapter.
Funktioniert super.
Ich habe bei jeder Aktualisierung (5min) folgende Fehlermeldung
`
apple-find-me.0 | 2022-05-13 07:05:10.530 | fehler | Fehler beim Abrufen der Adresse von Google-Maps |
---|
Wäre es möglich das Loglevel für diese Meldung als Warn bzw. Info und nicht Error auszugeben?
Grüße
I am an automatic service that looks for possible errors in ioBroker and creates an issue for it. The link below leads directly to the test:
I have also found warnings that may be fixed if possible.
Thanks,
your automatic adapter checker.
P.S.: There is a community in Github, which supports the maintenance and further development of adapters. There you will find many experienced developers who are always ready to assist anyone. New developers are always welcome there. For more informations visit: https://github.com/iobroker-community-adapters/info
Hi,
wir haben in der Familien für uns die Standortfreigabe sichtbar, aber diese werden nicht mit angezeigt.
Auf dem Handy, oder in der iCloud sind die Standorte sichtbar.
Was mache ich falsch ?
When I restart the instance of the plugin, the system executes the request twice in a row without waiting.
apple-find-me.0 | 2022-10-25 09:35:16.784 | error | Error on HTTP-Request. Please check your credentials. StatusCode: 401 Retry in 5 minutes. (2/3)
apple-find-me.0 | 2022-10-25 09:35:16.613 | error | Error on HTTP-Request. Please check your credentials. StatusCode: 401 Retry in 5 minutes. (1/3)
If I am right the issue is related to recursive access on the Refresh function. But this has to be tested. :)
async function main() {
//Clear ErrorCounter
ErrorCounter = 0;
Refresh(true, false);
}
if(init == true){
if(adapter.config.refresh != "none"){
adapter.log.debug("Initial Data Collector");
RefreshTimeout = setTimeout(function() { Refresh(false, false); }, adapter.config.refresh * 60000);
}
}else{
thx for this perfect Adapter... It works fine
Calculate the distance to the first Location - if configured - in Admin.
Save it in a seperate field in Location Tree.
Behaviour:
I have my Apple ID already for couple of years and switched from phones.
The previous ones (unconnected from iCloud) are still shown in object tree.
Expeccted behavior:
Inactive/removed devices should not be shown
Acceptable workaround:
Make it possible in Adapter configuration to select for which devices states should be created, and by that ignore/delete the unselected ones
Cheers,
Dutch
Hi.
erstmal danke, das du diesen Adapter gemacht hast. Nun wollte ich ihn mal testen, bekomme aber leider den Fehler
"
obwohl ich eigentlich alles richtig unter Credentials eingeben haben sollte. Die 2FA ist bei mir allerdings aktiv, was ich eigentlich auch nicht änder möchte. Liegt es vielleicht daran?
Hi,
als erstes ich danke dir. Es funktioniert einwandfrei.
Allerdings mit einer Instanz.
Die zweite (Andere AppleID) ist zwar grün, aber es werden keine objekte dazu erstellt.
Ich habe mehrere Adapter von Apple-find-me eingebunden.
Bei den Adaptern .1 und .2 werden die GPS Koordinaten nicht mehr aktualisiert.
Der Zeitstempel ist akutell.
Leider sehe ich nur iPhone, iPad und Watch und unter Apple Accessory's nur die AirPods Pro.
Bitte füge die AirTags mit hinzu.
As this adpater seems to have stopped working (i.e. https://github.com/PfisterDaniel/ioBroker.apple-find-me) and solution is available or announce, this adapter will be removed from ioBroker repositories - at least for now.
If the problem ist fixed, please respong / create a PR at ioBroker.repositories to readd it unsing fast lane.
Hallo,
danke für deine Arbeit. Ist es möglich anstatt des iCloud-Passwords auch ein "app-specific password" zu verwenden/zu supporten?
Hallo!
iPhone und iPad sehe ich, jedoch keine Apple AirTags.
Wäre es möglich, AirTags auch zu unterstützen?
Gruss,
Peter
Wie Aktualisiert sich der Adapter?
Habe zwei iPad 2, diese werden mir nicht in dem Adapter angezeigt.
In meiner Cloud sind sie registriert .????
Mit freundlichen Grüßen
Seit einigen Tagen erhalte ich folgenden Fehler im Log:
error: apple-find-me.2 (4628) Error on HTTP-Request. Please check your credentials. StatusCode: 401 Retry in 5 minutes. (1/3)
Hallo,
ich möchte deinen Adapter für die Anwesenheitskontrolle nutzen. Der 5minütige Refresh ist zwar beim Verlassen der "Home Zone" nützlich und auch ok, aber bei der Wiederkehr eher hinderlich. Um die Anwesenheit schneller zu erkennen, wäre hier ein kürzerer Zeitraum notwendig.
Hallo, die Datenbank des adapters stürzt ab! wegen einem Zeichen im Gerätenamen.
apple-find-me.0 | 2022-02-02 07:29:16.889 | error | The id "iPad." is invalid. Ids are not allowed to end in "." |
---|---|---|---|
apple-find-me.0 | 2022-02-02 07:29:16.888 | error | Error: The id "iPad." is invalid. Ids are not allowed to end in "." at validateId (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:537:23) at Adapter.setObjectNotExists (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3387:17) at /opt/iobroker/node_modules/iobroker.apple-find-me/main.js:147:29 at done (/opt/iobroker/node_modules/urllib/lib/urllib.js:589:5) at /opt/iobroker/node_modules/urllib/lib/urllib.js:948:9 at decodeContent (/opt/iobroker/node_modules/urllib/lib/urllib.js:733:14) at handleResponseCloseAndEnd (/opt/iobroker/node_modules/urllib/lib/urllib.js:913:7) at IncomingMessage. (/opt/iobroker/node_modules/urllib/lib/urllib.js:957:7) at IncomingMessage.emit (events.js:412:35) at endReadableNT (internal/streams/readable.js:1334:12) |
apple-find-me.0 | 2022-02-02 07:29:16.884 | error | unhandled promise rejection: The id "iPad." is invalid. Ids are not allowed to end in "." |
apple-find-me.0 | 2022-02-02 07:29:16.883 | error | Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). |
Hallo und danke für diesen Adapter!
Wäre es möglich die Wiedergabe von einem Ton zu implementieren?
In iCloud nennt sich die Funktion "Ton abspielen" um das Gerät zu finden.
Danke!
Dear Adapter developer,
with js-controller 4.0 object definitions are now also checked that min/max in only provided for number/mixed objects and that the type of the default value matches to the object type.
If something is not correct this is logged as 'warning' or 'info' log.
Please also make sure to update to the lastest @iobroker/testing dependency 2.5.4 or to accept the PR from Apollon77 for legacy testing!
Please spent some time to verify your adapter by ideally starting with a fresh instance and do some actions and verify the log. If you see a warn or info log there from these checks please adjust the adapter and fix the relevant cases.
For questions please refer to ioBroker/ioBroker.js-controller#1749
Please close the issue after you checked it.
Thank you very much for your support to get the best experience for the growing numbers of ioBroker users!
Seit einigen Wochen geht Apple find me nicht mehr.
Error on HTTP-Request. Please check your credentials. StatusCode: 401 Retry in 5 minutes. (1/3)
Meine Credentials sind garantiert richtig (1. ging's bislang auch und 2. x-mal verifiziert)
Auch mit einem speziellen Apple App Passwort hab ich hier keine Chance.
Gehe mal davon aus, dass Apple seinen Login geändert hat :(
Version: stable=0.0.14 (193 days old) => latest=0.0.15 (71 days old)
Installs: stable=677 (80.79%), latest=156 (18.62%), total=838
Click to edit
Issues for publish:
Hallo, ich habe den Adapter über die URL installiert, da lieft auch alles ohne Probleme durch. nun taucht der Adapter aber nicht unter den Instanzen auf...
ABER es wurden objekte angelegt, wenn auch nur das "admin" folder..
auch ein restart von ioBroker hat nicht geholfen... ist das normal?
LG, goeste
Hallo Daniel,
um die Standorte der Handys von meiner Frau und mir zu orten, habe ich den apple-find-me- Adapter zweimal installiert und jeweils unsere Heimadresse als Standort hinterlegt. Während bei mir in den Objekten unter "CurrentLocation" korrekt "home" erkannt wird, steht bei meiner Frau "unknown". Die Koordinaten und selbst die Adresse werden bei meiner Frau korrekt ausgegeben. Warum aber könnte "CurrentLocation" nicht korrekt erkannt werden? Könnte der Umkreis in der Suche zu gering sein? Dieser lässt sich ja im Adapter nicht frei wählen.
Vielen Dank vorab und viele Grüße
Markus
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.