From 17f71edc1f9be3546d7c0e5f3e6f0a0167e7c5a2 Mon Sep 17 00:00:00 2001 From: Ghawken Date: Thu, 24 Oct 2024 18:40:59 +1100 Subject: [PATCH] 1.6.02 Remove Logging error messaging Update moving to Secure Remote Password for all logins. Using SRP library == 1.0.21 Move to API > 3.4 to manage requirements processing as have not included library (older versions will need to manually pip install srp==1.0.21) Non significant code change. Will need re-authenication with all 2FA codes once and then should keep going.. Any issues Delete plugin account (from Plugin Config) and try again. Remove some logging, fix for exception messaging when should be passed if not fmip exists 1.5.10 Fix for 2fa trigger 1.5.9 Fix for myDevices in triggering being empty. 1.5.8 Check for empty data before using 1.5.6 Argh - more deletion of endpoints from apple This is a quick 'monkey-fix' to get up and going after Apple deletes all the Friends endpoints. Working in my brief testing - will check more when able/time. Essentially this removes support for friend devices as end point is gone. (as before big fix change devices to Family sharing type) 1.5.5 Add address city, suburb, country, house number, road - state to Family devices to construct own address string. address = summary string, which is quite long 1.5.3 Use OSM to generate address data from lat/Long as no longer supplied by apple device Update WazeRouteCaculator 1.5.2 Update Waze Router Calculator Add labels to family devices 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. --- iFindFriendsMini.indigoPlugin/Contents/Info.plist | 2 +- .../Contents/Server Plugin/pyicloud/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/iFindFriendsMini.indigoPlugin/Contents/Info.plist b/iFindFriendsMini.indigoPlugin/Contents/Info.plist index 81a7bc1..470ef61 100755 --- a/iFindFriendsMini.indigoPlugin/Contents/Info.plist +++ b/iFindFriendsMini.indigoPlugin/Contents/Info.plist @@ -3,7 +3,7 @@ PluginVersion - 1.6.01 + 1.6.02 ServerApiVersion 3.4 CFBundleDisplayName diff --git a/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/base.py b/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/base.py index 2718b97..bbc5b4d 100644 --- a/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/base.py +++ b/iFindFriendsMini.indigoPlugin/Contents/Server Plugin/pyicloud/base.py @@ -947,7 +947,7 @@ def validate_2fa_code(self, code): if self.session_data.get("session_id"): headers["X-Apple-ID-Session-Id"] = self.session_data.get("session_id") - LOGGER.error(f"Headers for 2FA Code\n\n\n{headers}") + LOGGER.debug(f"Headers for 2FA Code\n\n\n{headers}") try: self.session.post(