I’m also using pimatic-location
and it stopped working a few days ago with the same error @sonny is describing.
-
Pimatic phone icloud error
-
Like I said above I am going to fix this for pimatic-location, but I have other priorities at the moment.
It may be take some more days to get done. I’ll keep you posted"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
@mwittig said in Pimatic phone icloud error:
Like I said above I am going to fix this for pimatic-location, but I have other priorities at the moment.
It may be take some more days to get done. I’ll keep you postedThank you for your work, when you need someone to test, I’m here.
Until it works, I found out that using ping-presence works as a workaround, it isn’t as accurate because the iDevices switch wifi off when unused but it is ok as a workaround
-
I have the same problem with icloud host error - so I’m waiting for the fix.
-
Guys, as far as pimatic-location is concerned I have filed a pull request today which fixes the issue. A new release should follow soon.
"It always takes longer than you expect, even when you take into account Hofstadter's Law.", Hofstadter's Law
-
Thanks man! I will give it a try asap
-
i have tested it myself by copying your code and do a npm install in the folder pimatic-location.
the position ist updated succesfull but every minute i get a popup on my phone with a apple id code, witch i should typ in to my used device (pimatic).
any idea ?
Thank you very much for your work! -
@theslashy said in Pimatic phone icloud error:
@mwittig
I will happily use pimatic-location when it worksperhaps this will help:
https://support.apple.com/en-us/HT204915in the lower section "What if I use two-factor authentication on a device running older software?"
they suggest that you use the normal password an add a generated code to the password.
you can manually generate a code on any activated iDevicetry adding a 2 factor code to your password
-
Adding the code after the password gives a login error. Hmmm
-
I’m also going to move to the ‘find-my-iphone’ to replace the broken API calls used in the fmip package from pimatic-phone.
-
@bstrebel said in Pimatic phone icloud error:
I’m also going to move to the ‘find-my-iphone’ to replace the broken API calls used in the fmip package from pimatic-phone.
A preliminary hot fix (with some limitations) is available with pimatic-phone@0.5.0. See fmip@3.0.1 for details.
-
Seems to be working with phone plugin 5.0. but i get a message every 60 seconds with an generated code. If i type the code after the password, i get an icloud error
-
As of Rev. 0.6.2 pimatic-phone now uses a complete new session based iCloud client module. See GitHub README for details. The plugin is thoroughly tested with my Apple ID but please have a close look on your debug enabled pimatic daemon log and send me any error message and stack traces …
-
hey @bstrebel,
to get informations from my iphone, I have to log in via 2-factor authentification. Does your plugin work with 2fa?
-
I have experienced that, even with 2FA enabled, the verification code is not really required. 2FA is activated for my account but the plugin is able to establish a iCloud session and retrieves location updates for the device without any verification code. I just ignore the notification email and the 2FA pop up on the device. The notificatians are generated only once, wenn the session is established on pimatic startup. I think you should give it a try …
-
I have another question. Would it be possible to trigger the position of an device by a rule and not with a interval? This could save a lot of accupower on the phone. I’m thinking of situations like, when i’m at home and my phone is connected by wifi i don’t need the gps location service and use this service only when i’m not connected to my wifi.
regards daice
-
This post is deleted!
-
So, I have a Problem with the actual Version:
After the initial adding of two devices (one with 2-factor-auth, one without) both devices update their location.
I set the interval to 1200 seconds, but when they try to update i get this error:Device update of “iphone” failed, ICloudError: Unknown error [450]
I had one device activated today with a interval of 600, wich worked, but then i changed the interval to 1200 and now it doesnt update.
i will wait if it successfully updates once in the next hours and if not set it back to 600 and report back -
@theslashy , thanks for the report. I’ll try to reproduce the error. I remember, I got the 450 response during testing when deleting the cookie of an established session…
-
@bstrebel said in Pimatic phone icloud error:
@theslashy , thanks for the report. I’ll try to reproduce the error. I remember, I got the 450 response during testing when deleting the cookie of an established session…
Perhaps something related to this:
when I edit the Phone Device it doesnt show any location but in the debug info I see[pimatic-phone] debug: Update location for iPhone-5: GPS:xxxxxxxxxxxxxxxxx,xxxxxxxxxxxxxxxxxxxxxxx
(with the real coordinates)