Specific device polling
See original GitHub issueIf I do api.devices[0].location()
will that only request the location for that device or will it end up telling all of my devices to send their location back to iCloud? I currently have a script polling an iPhone every 30 seconds for testing, but I noticed that my Apple Watch battery has drained significantly more than a normal day.
Issue Analytics
- State:
- Created 6 years ago
- Comments:10
Top Results From Across the Web
Device polling — Tango Controls 9.3.4 documentation
It add a new object (command or attribute) to the list of object(s) to be polled. It is also with this command that...
Read more >What is device polling? - Quora
Effectively polling means a central controller asks each device in turn: “Do you have something for me?” Whereas Interrupt means each device just...
Read more >Polling (computer science) - Wikipedia
Polling, or polled operation, in computer science, refers to actively sampling the status of an external device by a client program as a...
Read more >Ubuntu Manpage: polling — device polling support
Device polling (polling for brevity) refers to a technique that lets the operating system periodically poll devices, instead of relying on the devices...
Read more >What is polling? | Definition from TechTarget
In electronic communication polling is the continuous checking of other programs or devices by one progam or device to see what state they...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, the way things work right now is that calling
location()
will result in a call toFindMyiPhoneServiceManager.refresh_client()
, which passesselectedDevice: all
in the request.I don’t know what format
selectedDevice
takes, but you could look at the network request in Chrome and figure that out, and then e.g. add adeviced = all
argument torefresh_client
.I have changed the selectedDevice param. However, iCloud still returns all devices information.
diff --git a/pyicloud/services/findmyiphone.py b/pyicloud/services/findmyiphone.py