Re: TUT > Let Domoticz know when you are home. (Cell Wi-Fi)
Posted: Sunday 11 September 2016 15:32
Nice find, thanks for sharing this. Want to try this with my iPhone 6s.
Can you help me troubleshoot it on Domoticz latest beta on my Synology DS213+
Running this script with only the following adapted.
Now my Domoticz logs returns nothing and my dummy iPhone Stefan is not switching.
I've copied the json.lua with wget to /usr/local/share/lua/5.2/, chmodded it 777. Also tried putting longitude and latitude between 'xx.xxx'
Can you help me troubleshoot it on Domoticz latest beta on my Synology DS213+
Running this script with only the following adapted.
Code: Select all
-- Array of users to be checked
users = {
Person1 = {username = '[email protected]' ; password = 'xxxxxxxxxxx' ; devicename = 'iPhone Stefan'}
}
-- The latitude and longitude of your house (use Google Maps or similar to find this)
homelongitude = x.xxxxxx
homelatitude = xx.xxxxxx
I've copied the json.lua with wget to /usr/local/share/lua/5.2/, chmodded it 777. Also tried putting longitude and latitude between 'xx.xxx'