Code Monkey home page Code Monkey logo

Comments (4)

maciekish avatar maciekish commented on September 3, 2024

After 5mins without refreshing i got:

Fatal error: Uncaught exception 'Exception' with message 'Unable to find location within '300' seconds ' in /home/a409/public_api/sosumi/class.sosumi.php:55 Stack trace: #0 /home/a409/public_api/sosumi/example.php(10): Sosumi->locate() #1 {main} thrown in /home/a409/public_api/sosumi/class.sosumi.php on line 55

Signing in to icloud.com works for finding devices. Does it matter if i have several devices?

from sosumi.

tylerhall avatar tylerhall commented on September 3, 2024

It's possible one of the devices on your account is offline, causing the script to timeout. Try running this and see if you get any better results...

$ssm = new Sosumi('username', 'password');
$ssm->locate();
print_r($ssm);

from sosumi.

maciekish avatar maciekish commented on September 3, 2024

It worked now, thanks.

How do i make sure i get the location of the device i want? As far as i can see i can only request the location by the index, which could possibly change? Any way to request by UDID or name?

from sosumi.

tylerhall avatar tylerhall commented on September 3, 2024

You can loop through the $devices array to find the specific device you're looking for.

On Aug 13, 2012, at 12:50 PM, Maciej Swic [email protected] wrote:

It worked now, thanks.

How do i make sure i get the location of the device i want? As far as i can see i can only request the location by the index, which could possibly change? Any way to request by UDID or name?


Reply to this email directly or view it on GitHub.

from sosumi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.