Read data from domoticz

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
anthropo
New user
Posts: 8
Joined: 23 Oct 2019, 21:50

Read data from domoticz

#1 Post by anthropo » 28 May 2020, 21:21

Hello,

Sorry but i didn't find the way to read data from domoticz. I need to get two temperature sensors that have an idx.
It is reachable by http://mydomoticzip/json.htm?type=comma ... value=TEMP

Thank you

User avatar
Ath
Normal user
Posts: 3481
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Read data from domoticz

#2 Post by Ath » 28 May 2020, 21:27

Most advised way is to install a MQTT broker next to Domoticz (Mosquitto is often used on the 'default' Domoticz RPi configuration), and use the MQTT Import plugin to fetch the values from Domoticz.
/Ton (PayPal.me)

Ton_vN
Normal user
Posts: 303
Joined: 21 Oct 2016, 15:20
Location: Hengelo (Ov)/ NL
Contact:

Re: Read data from domoticz

#3 Post by Ton_vN » 28 May 2020, 23:14

For the solution, to which programming language are you looking?

In other words, what is the script & function you have in mind as destination for this temperature-data?

User avatar
Ath
Normal user
Posts: 3481
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Read data from domoticz

#4 Post by Ath » 29 May 2020, 07:29

Ton_vN wrote: 28 May 2020, 23:14 ...what is the script & function you have in mind as destination for this temperature-data?
Good question!

As this is posted in the ESPEasy forum, I'm assuming this is asked to get the temperatures, probably shown on some display connected to an ESP board. ;)
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot] and 32 guests