Search found 6 matches
- Thursday 09 March 2017 14:01
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 81187
Re: Find My iPhone implementation in LUA script
Her is what i got Now, this should return a json string that contains a lot of information, most importantly your iPhone's coordinates (latitude & longitude) which you use later in the "address" function. It was the curl command from this function that you quoted above... Thank you for helping me ...
- Wednesday 08 March 2017 15:31
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 81187
Re: Find My iPhone implementation in LUA script
No error messages but does not get any values in dummy text device. Have tried print (result) after local result = act: read ("* a"). Nothing appears in the log file. someone ? Running domoticz on asustor. If you just run the curl command from command line does it give some error or retrieve the ...
- Monday 06 March 2017 17:33
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 81187
Re: Find My iPhone implementation in LUA script
No error messages but does not get any values in dummy text device. Have tried print (result) after local result = act: read ("* a"). Nothing appears in the log file. someone ?
Running domoticz on asustor.
Running domoticz on asustor.
- Monday 06 March 2017 13:26
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 81187
Re: Find My iPhone implementation in LUA script
Nautilus wrote:What do you think it could be?
There should be a dummy text sensor with name 'Position User' (where User is the real name of the user you've provided at the beginning of the script). It looks like there isn't one....
I forgot that I had deleted the dummytext

Thanks
- Monday 06 March 2017 11:32
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 81187
Re: Find My iPhone implementation in LUA script
Hi Thats the error i got. I didn't add or remove any lines from the script. Any suggestions? 2017-03-06 08:51:01.382 Error: EventSystem: in script_time_checkphones: [string "-- Script to check the location of multiple i..."]:40: attempt to concatenate global 'stage2server' (a nil value) The first ...
- Monday 06 March 2017 9:02
- Forum: LUA
- Topic: Find My iPhone implementation in LUA script
- Replies: 273
- Views: 81187
Re: Find My iPhone implementation in LUA script
Hi
Thats the error i got. I didn't add or remove any lines from the script. Any suggestions?
2017-03-06 08:51:01.382 Error: EventSystem: in script_time_checkphones: [string "-- Script to check the location of multiple i..."]:40: attempt to concatenate global 'stage2server' (a nil value)
Thats the error i got. I didn't add or remove any lines from the script. Any suggestions?
2017-03-06 08:51:01.382 Error: EventSystem: in script_time_checkphones: [string "-- Script to check the location of multiple i..."]:40: attempt to concatenate global 'stage2server' (a nil value)