Hi,
great idea!
Greetings
Dennis
Hi,
great idea!
Greetings
Dennis
Hi,
I just get the error message āCould not get device coordinates. Retrying!ā every time. However I did get an confirmation email regarding the logon to icloud the first time. Can anyone help me?
Regards
Have you added the correct device UUID in the configuration? Is your Find My iPhone on? On your iPhone.
How do I find the correct device UUID?
I open the app āfind iphoneā at use the device name of my phone so yes Find my iPhone is on.
If you install GitHub - picklepete/pyicloud: A Python + iCloud wrapper to access iPhone and Calendar data. you will see how to find the UUID
Thank you and for others who have the same problem:
python cmdline.py --username icloud_id --password icloud_pass --llist
Now Iām not able to post to OH:
āPUT https://192.168.155.193:443/rest/items/itm_mob_iphone103/state HTTP/1.1ā 400 0
Could not post update to OpenHab
If I call the url in my browser the user name and password is correct and the response says Uninitialized.
Any ideas?
First thing Iād advise you to hide your IP.
Second, are you sure that thatās the correct port? OH usually runs on 8080
Try with http not httpS. 400 is bad request.
For me, in my network, if I try https://myip it fails, but if I go to http://myip itās fine.
192.168.0.0/16 is private addresses inaccessible from internet.
I get the same error if I try http on default port 8080. How should the item look like? Number, String, Contact?
In my case, itās a switch SwitchItem
And I know itās not accessible, but still, itās not a good idea
With a switch itās working fine. Thank you once again!
If I want to check several devices do I have to run several scripts?
Yeah. I didnāt get the time to add multi user support. Iām hoping in a couple of weeks.
Alex,
Iām trying to use your approach and Iām just totally lost on where to start. Iām usually not this clueless with installs.
Help!
Thanks in advance.
yancy
python setup.py install
.That did the trick. Thanks Alex.
Alex,
Thanks again for the help. I am now able to monitor my families presence. I am using separate scripts since they arenāt combined into one just yet. One additional item Iād like to add is the ability to see all of them from a webview map, using the Google MAP api as found here: https://github.com/openhab/openhab/wiki/GoogleMap. If I can pull the lat/lon for all my devices into an OH item, I could then display locations as well. Iām just learning python so am not sure how I can also post that data using your script.
Update: I think Iāve figured it out. Iām now able to get the Lat and Long out to items in OH. Iāll do some more work to complete the creation of a map and then post my configuration.
Thanks
Yancy
Iām using Ilocator for one week now ā¦ is it possible that my battery life is affected ?
So i disable Ilocator yesterday and I end my day with 32% battery and i played Mario run today !!
With Ilocator iām not able to finish my day ā¦
@Dominic_Bonneau so itās clear Try a larger interval, play around and find something that fits both your battery needs and provides a relevant status to OH.
Hi,
Iām trying to install the script as suggested, I receive the following:
Traceback (most recent call last):
File āsetup.pyā, line 1, in
from setuptools import setup, find_packages
ImportError: No module named setuptools