From 9b6fa7d6ec36f412be1f0b5ca83d3add33a0c8c3 Mon Sep 17 00:00:00 2001 From: Ghawken Date: Sun, 30 Apr 2023 12:14:41 +1000 Subject: [PATCH] 1.5.1 Apple has big server changes which this is a response to. Remove support for 'Friends'. Bugger. What does this mean? It means we can no longer access Friend data in any fashion. We can access Family and Own Device data (every family device, and every personal device) What does this mean? Well I suspect most usage is within Families, so I would go into current iFriendDevice and edit it to iFriend Family device. Save and restart Plugin - hopefully everything now continues non-2FA accounts have largely been depreciated given back end issues. --- .../Contents/Info.plist | 2 +- .../Contents/Server Plugin/Devices.xml | 2 +- .../Contents/Server Plugin/PluginConfig.xml | 14 +- .../Contents/Server Plugin/plugin.py | 173 +++++++++++------- .../Server Plugin/pyicloud/__init__.py | 2 +- .../Contents/Server Plugin/pyicloud/base.py | 170 ++++++++++++++++- .../pyicloud/services/findmyfriends.py | 2 + 7 files changed, 289 insertions(+), 76 deletions(-) diff --git a/iFindFriendsMini.indigoPlugin/Contents/Info.plist b/iFindFriendsMini.indigoPlugin/Contents/Info.plist index 20952aa..fc3bb0f 100755 --- a/iFindFriendsMini.indigoPlugin/Contents/Info.plist +++ b/iFindFriendsMini.indigoPlugin/Contents/Info.plist @@ -3,7 +3,7 @@ PluginVersion - 1.3.11 + 1.5.1 ServerApiVersion 3.0 CFBundleDisplayName diff --git a/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/Devices.xml b/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/Devices.xml index 8dc280b..0d6c7dc 100755 --- a/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/Devices.xml +++ b/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/Devices.xml @@ -290,7 +290,7 @@ - FindFriends My Own Device + FindFriends Family Device Debug Geofence Exit/Entry Separate Logfile created - + Level of Debug information to show in Indigo @@ -268,6 +268,18 @@ + + + + Level of Debug information saved to File + + + + + + + + " % str(self) + return "<%s>" % str(self) \ No newline at end of file diff --git a/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/services/findmyfriends.py b/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/services/findmyfriends.py index 061e287..90975f2 100644 --- a/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/services/findmyfriends.py +++ b/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/services/findmyfriends.py @@ -1,6 +1,8 @@ from __future__ import absolute_import + + class FindFriendsService(object): """ The 'Find my Friends' iCloud service