gcobb321 / icloud3_v3

iCloud3 v3, Development Version - This Repo/Version is used for development and testing of new and updated features. It is not the official release of iCloud3 v3, .
MIT License
161 stars 13 forks source link

iCloud3 v3.1b1 is available as a zip file here. It fixes the Apple Account login issue. HACS will be updated in a few days. #346

Open gcobb321 opened 10 hours ago

gcobb321 commented 10 hours ago

iCloud3 v3.1b1 is now available

I have worked out the problems with logging into the Apple Account and tracking devices. Download the zip file below, unzip it into the icloud3 directory and restart HA. Good luck and lets hope it solves the problems we have all been experiencing this last week.

I'll update HACS if it works and there are not too many issues to deal with. I am looking forward to a non-computer day or two. Thanks for hanging in there and the words of encouragement.

Gary

icloud3 v3.1b1.zip

There are some pretty extensive changes in v3.1. I have relisted them below. What to expect when you start it up.

  1. The Event Log Lovelace card is updated so you will have to refresh your browser so it will display. This is on your HA system and all devices running the HA Mobile App.
  2. Many of the configuration screens have changed. The Significant ones are the Data Source screen (Apple Account and Mobile App). There are new screens for entering the Apple Account username and password and the Devices List screen has been changed to improve it's operations. The documentation has not been done but most things are pretty obvious.
  3. The Event Log startup screens dealing with device configuration and Apple Account configuration have been changed.
  4. Error recovery during startup has been changed to only retry setting up the devices with a problem.
  5. There are times you may get a 'Connection 503' error. Apple generates this error when the account has been logged into a bunch of times in a short interval, probably to try to prevent suspicious activity. This is detected and the login will automatically be done every 15-minutes until it is completed. You will probably be asked for the 6-digit code at that time

Known issues:

  1. When you request a new 6-digit code, the new code may or may or not be generated immediately. It might take 20-30 minutes before it appears. Enter it at that time. If a code does appear on a trusted device when you request it, the a message is displayed at the top of the configuration screen. It may say there is a connection error and to wait for 20-30 minutes. Enter the code anyway. It will probably be accepted.

Change Log - v3.1

  1. SUPPORT FOR THE NEW METHOD OF LOGGING INTO APPLE ACCOUNTS.
  2. MULTIPLE APPLE ACCOUNTS (New) - iCloud3 now supports tracking devices from more than one Apple Account. The accounts are setup on the 'Configuration > Data Sources' screen and devices can be tracked from any apple account and the d if the device is set up as an account owners deviceThe Primary account belongs to the person with the main Family Sharing list as it always has. Secondary accounts can also be configured and devices from those accounts can be tracked. The Apple Account for the specific iCloud3 device is selected on the Update Devices screen as it always has.
  3. FAMSHR - Everything called FamShr has been changed to iCloud.
  4. THE APPLE ACCOUNT (Improved) - Logging into the Apple Account is now started before the beginning the HA process that creates the device_tracker and sensor entities. Both processes now run concurrently, eliminating (or reducing) any delays waiting for the Apple Account device data to be returned. The result is iCloud3 starts up faster.
  5. APPLE ACCOUNT & MOBILE APP DEVICE ASSIGNMENT (Improved) - The results of matching the Apple Account iCloud devices and the Mobile App devices during startup are displayed in the Event Log. This has been simplified and is easier to read.
  6. CONFIGURATION SCREENS (Improved) -
    • Saving changes is faster.
    • The iCloud3 Devices screen indicates if there is a problem with the iCloud or Mobile App device selection.
    • Update Devices screen - Impoved selection of Apple Account and Mobile App devices.
  7. MISSING APPLE ACCOUNT DEVICES (Improved) - Sometimes, an iCloud device's information is not returned from iCloud when iCloud3 starts. The error recovery and data request retry routines have been rewritten to only retry setting up devices with the error. This greatly simplifies and reduces the steps needed to retrieve the data from iCloud.
  8. WAZE & WAZE HISTORY (Improved) - Improved the error checking, added retry on error conditions and updated the History database recalculation routines to better support concurrent operations.
  9. APPLE ACCOUNT DEVICE STARTUP ERRORS (Enhanced) - Improved the handling and reporting duplicate and missing Apple Account devices. 8 STARTING/RESTARTING ICLOUD3 -
    • Device Sensors (Fixed) - They were being reinitialized when Restarting iCloud3 when they shouldn't have been.
    • Mobile App entities (Fixed) - They are no longer being reinitialized when iCloud3 is restarted on a configuration change or Event Log restart request. This includes the device_tracker, battery, trigger and notify entities..
    • Improved messaging and fixed miscellaneous bugs
jlachance commented 6 hours ago

I can’t access to « ICLOUD3 DEVICES », it say’s « Unknown error occurred ». How can I access to it and configure my devices?

demonaxxx commented 3 hours ago

same error https://github.com/gcobb321/icloud3_v3/issues/341#issuecomment-2445809641