Getting data from Pellet boiler

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
haden
Posts: 7
Joined: Sunday 28 February 2016 17:11
Target OS: Windows
Domoticz version:
Contact:

Getting data from Pellet boiler

Post by haden »

Hi

I would like to get data from my pellet boiler into Domoticz for logging. It has a web interface and I'm able to get data from it, using powershell or node-red, but how do i transfer a multi property/value JSON into Domoticz?

First i need to request a token based on my user ID.
Then i use this token to get the data, which return a JSON like like this:

Code: Select all

{
    "boilerdata":  [
                       {
                           "id":  "smoketemp",
                           "value":  38.9,
                           "unit":  "°C",
                           "name":  "lng_boil_3"
                       },
                       {
                           "id":  "return",
                           "value":  "21.7",
                           "unit":  "°C",
                           "name":  "lng_boil_17"
                       },
                       {
                           "id":  "power",
                           "value":  "0",
                           "unit":  "%",
                           "name":  "lng_boil_4"
                       },
                       {
                           "id":  "dropshaft",
                           "value":  19.3,
                           "unit":  "°C",
                           "name":  "lng_boil_7"
                       }
                   ],
    "hopperdata":  [
                       {
                           "id":  "hopperdistance",
                           "value":  "40",
                           "unit":  "cm",
                           "name":  "lng_hopper_14"
                       },
                       {
                           "id":  "consume-last24h",
                           "value":  "16.9",
                           "unit":  "kg",
                           "name":  "lng_hopper_3"
                       }
                   ]
}
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest