Find My iPhone implementation in LUA script
Moderator: leecollings
-
- Posts: 6
- Joined: Friday 03 August 2018 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
I tried it with a script with just the curl and the output just gives a nil. 1 thing I noticed that I dont even get a error if I use wrong username or password.
If you can make a script whenever you have time please do so.
If you can make a script whenever you have time please do so.
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Find My iPhone implementation in LUA script
Apple changed something in their ssl. I had to add a option to disable the ssl check to get it working again in my php script.
-
- Posts: 147
- Joined: Wednesday 02 August 2017 18:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France
- Contact:
Re: Find My iPhone implementation in LUA script
I try tomorrow or in 1 week
Platforme: Rpbi3b
Domoticz: Last stable
Bridge: RFLINK last stable
Domoticz: Last stable
Bridge: RFLINK last stable
-
- Posts: 16
- Joined: Friday 04 March 2016 9:23
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
Hi Egregius,
Can you give me a clue how to disable the SSL-check in the PHP script?
And on me search for a solution I walked into this solution for java: https://community.openhab.org/t/icloud- ... blem/48314
Maybe it's an option to add the certificate instead of disabling the SSL-check? What is your opinion on this? And do you foresee this is possible for our application?
Thanks in advance for your help!
- Egregius
- Posts: 2589
- Joined: Thursday 09 April 2015 12:19
- Target OS: Linux
- Domoticz version: v2024.7
- Location: Beitem, BE
- Contact:
Re: Find My iPhone implementation in LUA script
This is the php script I use, the solution is mentioned in this issue https://github.com/albeebe/PHP-FindMyiPhone/issues/16
-
- Posts: 722
- Joined: Friday 02 October 2015 12:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Finland
- Contact:
Re: Find My iPhone implementation in LUA script
I changed to pyicloud (https://github.com/picklepete/pyicloud), a lot of additional functionalities implemented in this library...

-
- Posts: 6
- Joined: Friday 03 August 2018 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
I still do not have it working, can some help? 

-
- Posts: 43
- Joined: Tuesday 03 May 2016 10:07
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.5108
- Location: Barendrecht
- Contact:
Re: Find My iPhone implementation in LUA script
I just added -k to every curl statement in the lua, and it works again
Hardware: Raspberry Pi 2B | RFXCOM RFXtrx433E v1 | Synology DS213+ | KaKu Clones | Conrad RSL switches | KAKu Doorbell Clone | USB Webcam | ICY Thermostat | Resol DL2 | Imatic Relay Board | Eminent 6230 | Eminent 6220 | iMatic 16 ports Relay Board
-
- Posts: 6
- Joined: Friday 03 August 2018 16:28
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
That did the trick, thanks!MarceldeJongNL wrote: ↑Friday 10 August 2018 8:34 I just added -k to every curl statement in the lua, and it works again

-
- Posts: 11
- Joined: Wednesday 15 November 2017 17:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Aalsmeer
- Contact:
Re: Find My iPhone implementation in LUA script
Were in the line(s) will i add this -k 

RFXTRX433E, Aeon Z-Stick Gen 5, Harmony Hub, Nefit Easy, Homebridge, Somfy RTS, Fibaro
-
- Posts: 147
- Joined: Wednesday 02 August 2017 18:12
- Target OS: Raspberry Pi / ODroid
- Domoticz version: stable
- Location: France
- Contact:
Re: Find My iPhone implementation in LUA script
Code: Select all
stage1command = "curl -sk -X POST
stage2command = "curl -sk -X POST
Platforme: Rpbi3b
Domoticz: Last stable
Bridge: RFLINK last stable
Domoticz: Last stable
Bridge: RFLINK last stable
-
- Posts: 11
- Joined: Wednesday 15 November 2017 17:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Aalsmeer
- Contact:
Re: Find My iPhone implementation in LUA script
Thank You... 

RFXTRX433E, Aeon Z-Stick Gen 5, Harmony Hub, Nefit Easy, Homebridge, Somfy RTS, Fibaro
-
- Posts: 25
- Joined: Thursday 19 February 2015 11:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
Anyway in this thread
https://community.openhab.org/t/icloud- ... m/48314/28
they extract the key and signed the certificate with the apple root CA
So if we use that as trusted CA (maybe trick Curl into to that) the ssl should work again
https://community.openhab.org/t/icloud- ... m/48314/28
they extract the key and signed the certificate with the apple root CA
So if we use that as trusted CA (maybe trick Curl into to that) the ssl should work again
-
- Posts: 483
- Joined: Tuesday 12 August 2014 5:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version: V3_8394
- Location: Rumbeke,Belgium
- Contact:
Re: Find My iPhone implementation in LUA script
is this still working for you guys?
Mine is not updated anymore for a month
Mine is not updated anymore for a month
-
- Posts: 11
- Joined: Wednesday 15 November 2017 17:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Aalsmeer
- Contact:
Re: Find My iPhone implementation in LUA script
Mine also not working, any other script that will do the job?
RFXTRX433E, Aeon Z-Stick Gen 5, Harmony Hub, Nefit Easy, Homebridge, Somfy RTS, Fibaro
-
- Posts: 11
- Joined: Wednesday 29 August 2018 14:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
Mine works like a charm
-
- Posts: 11
- Joined: Wednesday 15 November 2017 17:22
- Target OS: Raspberry Pi / ODroid
- Domoticz version: Beta
- Location: Aalsmeer
- Contact:
Re: Find My iPhone implementation in LUA script
Do u mind sharing your script? (without your credentials ofcourse)

RFXTRX433E, Aeon Z-Stick Gen 5, Harmony Hub, Nefit Easy, Homebridge, Somfy RTS, Fibaro
-
- Posts: 200
- Joined: Wednesday 20 November 2013 20:36
- Target OS: Linux
- Domoticz version:
- Location: The Netherlands
- Contact:
Re: Find My iPhone implementation in LUA script
-
- Posts: 11
- Joined: Wednesday 29 August 2018 14:11
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
I only skipped the google maps position name because that is not working anymore
Still interested in the script, just let me know
Still interested in the script, just let me know
-
- Posts: 3
- Joined: Sunday 03 September 2017 11:37
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Find My iPhone implementation in LUA script
I’m also interested in your script! Thank you in advance for sharing!
Who is online
Users browsing this forum: No registered users and 0 guests