Comments (4)
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.
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.
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.
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)
- This should work on free accounts right? HOT 5
- Error parsing json string HOT 1
- Script not working since WWDC2011? HOT 6
- 503 Service Unavailable? HOT 4
- Does this still work after iCloud launch? HOT 3
- Stopped working for me today HOT 1
- appVersion needs incrementing from 1.3 to 1.4 HOT 1
- locate() seems to hang indefinately HOT 5
- The batteryLevel and batteryStatus HOT 1
- Fail in connection
- Correct position with second try only HOT 3
- Example.php doesn't seem to work anymore HOT 3
- Entering/leaving area HOT 6
- deviceStatus 203 HOT 6
- Example in header out of date?
- Apple's latest security restrictions result in emails each time this is used. HOT 4
- device serial number HOT 4
- Script not working
- Remove from device HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sosumi.