Search found 5 matches

by perese
Friday 09 December 2016 16:27
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 273
Views: 79553

Re: Find My iPhone implementation in LUA script

After a debugging and in same time do understand LUA and Domoticz event system and configuration I think I found a solution. I cannot say why that needed for me but after changing Line 54 from prev_distance_str = string.match(otherdevices['Position ' .. user], '%(.*%)') or '(1000 km)' to prev ...
by perese
Thursday 03 November 2016 10:49
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 273
Views: 79553

Re: Find My iPhone implementation in LUA script

After a debugging and in same time do understand LUA and Domoticz event system and configuration I think I found a solution. I cannot say why that needed for me but after changing Line 54 from prev_distance_str = string.match(otherdevices['Position ' .. user], '%(.*%)') or '(1000 km)' to prev ...
by perese
Monday 24 October 2016 16:34
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 273
Views: 79553

Re: Find My iPhone implementation in LUA script

After a debugging and in same time do understand LUA and Domoticz event system and configuration I think I found a solution. I cannot say why that needed for me but after changing Line 54 from prev_distance_str = string.match(otherdevices['Position ' .. user], '%(.*%)') or '(1000 km)' to prev ...
by perese
Friday 21 October 2016 13:59
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 273
Views: 79553

Re: Find My iPhone implementation in LUA script

lukev wrote:Peter, I can confirm the script can work on a Synology with domoticz installed. It does on mine ;-)
Thanks for the confirm. Since your seems to work, did you create the "text switch" as I described?
by perese
Friday 21 October 2016 11:55
Forum: LUA
Topic: Find My iPhone implementation in LUA script
Replies: 273
Views: 79553

Re: Find My iPhone implementation in LUA script

Hi, New to this forum, please bare with me. Trying to implement this script (not a fully script hacker, but understands and can follow scripts) but get a common error as above. Not sure if it because of Synology implementation of Domoticz or if I'm not understood the "text switch" creation ...