Page 1 of 1

Getting lat and and lon from domdoticz setting

Posted: Thursday 04 May 2017 12:39
by Lebo2d9
Hi i want to use the lat and lon from my domoticz setting in a script
I know how to get the setting
curl 127.0.0.1:8080/json.htm?type=settings
But what is the syntax to get only the lat and the lon?

Someone can help me with this?

Re: Getting lat and and lon from domdoticz setting

Posted: Thursday 04 May 2017 14:00
by manjh
Lebo2d9 wrote:Hi i want to use the lat and lon from my domoticz setting in a script
I know how to get the setting
curl 127.0.0.1:8080/json.htm?type=settings
But what is the syntax to get only the lat and the lon?

Someone can help me with this?
Result of this would be an array, lick out the latidute and longitude with the values.