@scotty1395
Thanks for the info. I have learned the emails are controlled by a rememberMe flag on a cookie and is passed to iCloud when doing a signon. That flag was ‘False’. I have changed it to ‘True’ and also set the extended_login flag to True but do not know what is being extended and for how long. Just seemed like it should be True
I’ll let it run tonight with famshr and post an update tomorrow. I have added a 2fa_verification: True/False parameter to go back to the old way but have not tested it yet.
@gcobb321 I too am getting repeated emails from Apple. I’m using fmf tracking method. Will your overnight fix also address this tracking method? As always thank you!
This release has a few new features and parameters and, hopefully, fixes the iCloud notification email problem when accessing the iCloud Location Services with the famshr tracking method.
See the Change Log here for a list of all of the changes
Download the v2.1.1rc2.zip file here, unzip it into the icloud3 directory and restart HA.
New parameters: 2sa_verification: False/True to use the older 2-step-authentication rather than the 2-fator-authentication introduced with v2.2.2.
New Service: device_tracker.icloud3_find_iphone_alert to send a sound to the phone to help locate it. This can be send from the Event Log > Actions > Send Find My Phone Alert
Deleted Service: device_tracker.icloud3_lost_phone to eliminate confustion with Apple’s native lost phone function.
@gcobb321 No errors on RC2a and no random emails being generated from Apple, however on iC3 Zone for Garbine, this is not being updated. Hope you can help with this.
Update: Managed to get Garbine online, I have to be honest, not exactly sure what exactly I did… but it’s now online!
To those of you that were getting the emails from Apple and installed rc2a… Let me know if they have stopped so I can pass along my changes to the guys that are in the process of updating the HA version of the iCloud integration and the official pyicloud.py interface program. They think it may have been occurring when the account was reauthenticated when a location request was made every hour or so.
The behavior I was seeing using famshr with 2.2.2rc2 was one or two emails a day. Updated to 2.2.2rc2a yesterday afternoon. So far, no email from Apple.
Got two emails this morning and four this afternoon, I can’t see a correlation to authentication though. The two latest emails were received in the last 2 hours (i.e. 2:04pm & 2:30pm in my TZ), so if you want to review the Event log let me know and I’ll email it to you.
I wonder if clearing the cookies and session token files, restarting HA and going through the verification process would stop the emails after the first one. I haven’t gotten any at like you guys have.
Delete the .storage/icloud/youraccountemail to delete the cookies.
Delete the .storage/icloud/session directory to delete the session tokens.
There might be an old setting from v2.2.2rc1 or rc2 in those files.
@gcobb321 I’m using fmf tracking. Deleted both cookies file & session token directory. Not sure if I’m supposed to receive the 6-digit Apple ID Verification Code sent from Apple when in fmf tracking mode but I didn’t receive one, nor have I received a notification from HA requesting to configure using the 6-digit code.
So far (and its early days yet… ) I received a single email from Apple. iC3 has started without incident and is functioning as expected. Its evening so I’ll update you in the morning either way.
@gcobb321 Yes also restarted HA immediately after.
So now the update… aside from the initial email from Apple when I restarted HA, I received another email at 4:50am what is interesting but you’ll be the judge is that… I also received the iC3 error @4:26am below.
I also received an additional email @ 7:41am, but there is no indication of neither an authentication nor another error in the Event log.
At no point have I received 6-digit from Apple nor have had a notification to re-authenticate.
I saved the Event log covering that time span if you’d like to review just let me know and I’ll email it to you.