Getting lat and and lon from domdoticz setting

Topics (not sure which fora)
when not sure where to post, post here and mods will move it to right forum.

Moderators: leecollings, remb0

Post Reply
Lebo2d9
Posts: 139
Joined: Tuesday 06 September 2016 20:39
Target OS: Raspberry Pi / ODroid
Domoticz version: L stab
Location: Belgium
Contact:

Getting lat and and lon from domdoticz setting

Post 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?
Domoicz on RPI3 (wifi) directly connected 3x ds18b20 for CV temp, Evohome (9 zone), 1 remote 220V switch based on ESP-12. RFXtrx433E, 16x AMST-606, 5 Somfy RTS motors
Domoticz on RPI3(wifi) as slave for terraruim control
More to come
manjh
Posts: 859
Joined: Saturday 27 February 2016 12:49
Target OS: Raspberry Pi / ODroid
Domoticz version: 2020.2
Location: NL
Contact:

Re: Getting lat and and lon from domdoticz setting

Post 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.
Hans
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest