Search found 4 matches
- Monday 10 October 2016 16:46
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 74746
Re: Find My iPhone implementation in LUA script
Hi! The error is now reduced to only: 2016-10-10 16:34:02.816 Error: EventSystem: in /home/pi/domoticz/scripts/lua/script_time_checkphones.lua: /home/pi/domoticz/scripts/lua/script_time_checkphones.lua:46: attempt to index field 'location' (a nil value) Is the name of your phone exactlly correct ...
- Friday 16 September 2016 16:15
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 74746
Re: Find My iPhone implementation in LUA script
yes,.... I reversed it........... thanks !!!
- Friday 16 September 2016 15:49
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 74746
Re: Find My iPhone implementation in LUA script
You say "long/latitude are correct". Do you mean of your house, or did you add print commands (e.g. print(lat .. ' ' .. lon')) to check if it reports your actual correct position? You're saying it does give the right address in the text devices? Is the distance between the brackets correct? What ...
- Thursday 15 September 2016 16:12
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 74746
Re: Find My iPhone implementation in LUA script
Hmmzz the scripts seems to work. In my log and position devices I get the location but..... 2016-09-15 16:05:04.880 LUA: iPhone xxxxxx: 6074.79 km from home 2016-09-15 16:05:08.934 LUA: iPhone xxxxxx: 6073.64 km from home ...i'm a long way from home.....that's strange because I'm at home right nog ...