Page 1 of 1

Getting setting info to script

Posted: Saturday 03 May 2025 20:31
by madpatrick
Hi,

I like to read out the LAT and LAT from the settings menu in to a Dzvents script
Is this possible and how can i do this ?

Code: Select all

local lat = tostring(domoticz.settings.latitude)
local lon = tostring(domoticz.settings.longitude)
SOemthing like this, but that doesn't work

Re: Getting setting info to script

Posted: Saturday 03 May 2025 22:43
by jvdz
According the docs in the Wiki: domoticz.settings.location.latitude

Re: Getting setting info to script

Posted: Sunday 04 May 2025 9:32
by madpatrick
Thanks. I must have overlooked that one