Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Apple ID Verification Code Sent #260

Open
BamBamF16 opened this issue Apr 3, 2023 · 16 comments
Open

No Apple ID Verification Code Sent #260

BamBamF16 opened this issue Apr 3, 2023 · 16 comments

Comments

@BamBamF16
Copy link

Pretty much sums it up. Notification for 'configurator' pops up. Select 'Configure' Never get a code sent to any iDevice I possess

@gcobb321
Copy link
Owner

gcobb321 commented Apr 3, 2023

Event Log > Actions > Reset iCloud Interface

@BamBamF16
Copy link
Author

BamBamF16 commented Apr 3, 2023 via email

@gcobb321
Copy link
Owner

gcobb321 commented Apr 3, 2023

Is iCloud3 tracking devices? Do Authenticated messages appear in the Event Log? If so, ignore the notification. Dismiss it until you get a code from Apple.

When you do a Reset iCloud Interface, all it is doing is deleting the cookies and session files in _config/.storage/icloud_directory. The next locate would get a 450 or 500 response code from Apple. You can turn on rawdata logging and see the data from Apple using log_level:debug+rawdata or Event Log > Actions > Start Rawdata Logging.

i assume you are using v2.4.7

@BamBamF16
Copy link
Author

BamBamF16 commented Apr 3, 2023 via email

@gcobb321
Copy link
Owner

gcobb321 commented Apr 3, 2023

The original Interface program logs in with a password. That generates the email. Apple does a logout after about 1/2 hour of inactivity so you will get a bunch of emails. I have a Gmail filter to delete them.

I have reworked the process in v3, now in beta and soon to be released to authenticate using a token, which reduces the emails. The password login is then used when the token has expired.

Also, others have had issues running in aVM environment where inbound and outbound messages are not getting through or are being blocked.

@BamBamF16
Copy link
Author

BamBamF16 commented Apr 3, 2023 via email

@JR2012thman
Copy link

I get a prompt which I approve for ic3 to sign into my icloud account but its not a 6 digit code since I am using physical security keys. will this work with physical security keys, or will I have to remove them from icloud to get this to work? Will v3 address this with the token as mentioned above?

@gcobb321
Copy link
Owner

HA and iCloud3 do not support physical security keys. Initially, v3 will not support them.

@JR2012thman
Copy link

JR2012thman commented Apr 18, 2023 via email

@gcobb321
Copy link
Owner

It’s on the Features List but I need to get it out the beta, wrap up the docs and do a bunch of things around the house. I’ll Probably at it 3rd or 4th quarter depending on what comes up

@alistair-jb
Copy link

Event Log > Actions > Reset iCloud Interface

Newbie here. Trying to set up icloud3 for the first time. Where is this? I can't find an event log, I have System > Log but there's no Actions option there that I can find. I thought I would try the manual steps in the documentation but I don't have a .storage/ folder, and I've been googling (and asking ChatGPT) and this is supposed to be a folder created by Hass itself when installed, yet I don't have it.

So I'm thoroughly confused....

@gcobb321
Copy link
Owner

  1. See docs for iCloud3 v2.4.7 here for info about Event Log.
  2. You really don’t need access to the .storage folder but just Google “Home Assistant .storage folder”.
  3. Installation is easier using HACS

@alistair-jb
Copy link

  1. See docs for iCloud3 v2.4.7 here for info about Event Log.
  2. You really don’t need access to the .storage folder but just Google “Home Assistant .storage folder”.
  3. Installation is easier using HACS
  1. Ok well I hadn't gotten here yet because I'm still stuck on step 1.2, but anyway I went ahead and tried it, adding it using lovelace it just says config is not an object. Using the raw configuration method I get this error and can't save my config:

Unable to parse YAML: YAMLException: bad indentation of a mapping entry (106:3) 103 | path: ic3evlog 104 | icon: mdi:information-outline 105 | badges: [] 106 | cards: ---------^ 107 | - type: 'custom:icloud3-event ... 108 | icon: 'mdi:information-outline'

  1. Ok I figured out that file editor has a setting to hide the .storage folder so that's fixed.
  2. I did install using HACS. It appears everything after that still has to be done by manually editing code, unless I've missed something. Again I'm still stuck on step 1.2 getting the thing to authenticate, I'm not even sure if the integration is even running. I did receive the code on my apple device and typed it in, clicked confirm, and it just didn't do anything. The window stayed there. I eventually restarted HASS again to get it to re-authenticate but now I'm not even getting the notification.

@gcobb321
Copy link
Owner

gcobb321 commented Apr 24, 2023

The version you are trying to get running uses yaml statements to configure the devices you want to track and many other parameters. The next version, v3, is at the final stages of beta testing and will be available very soon. It does not use any yaml configuration statements. Everything is done using screens to select the available options. Since you are not familiar with how to configure HA yaml, and a newbie, I think the best thing to do is to wait until v3 is ready.

I will be releasing the last beta, beta 16, on Wednesday if final testing goes well tomorrow. It’s not available on HACS and the docs need some updating but that will make it much much easier to get it running. I let you know when to download it.

I post a notice on the icloud3_v3 repository here
The v3 docs are here

@alistair-jb
Copy link

Alright I'll go ahead and wait, thank you :)

@gcobb321
Copy link
Owner

Just uploaded beta 17

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants