How to making a Custom graph with DZvents

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

Post Reply
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

How to making a Custom graph with DZvents

Post by HFman »

As many (dutch ?) domoticz user i like to optimize my heating system.

Now i caculate/measure in different sensors the temperature from the heating system (in, out and dT) and bassed on this i calculate the effeciency of the heating, and wrote a small script to plot the gasflow (ltr/min) every 5 minutes.

I really would like to have the gas flow, effeciency (results of the water in temperature) in 1 graph.

Is there a way to do this with DZvents ? ( I know domoticz doesn't support this out of the box, but may something smart with a json string.. ?)
Is there a way we can directly interact with the " High Chart" module ?
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: How to making a Custom graph with DZvents

Post by waaren »

HFman wrote: Friday 11 October 2019 21:49 I really would like to have the gas flow, effeciency (results of the water in temperature) in 1 graph.
Is there a way to do this with DZvents ?
I would not know of a way to do this in domoticz. Retrieving the information and do the calculations with it is not the problem but to get a graph with the combined datapoints plotted within domoticz a special device would be needed which is not available.
The closest you can get to this is to send the data to influx or another external database and have a kind of graphical interface to it.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
HFman
Posts: 82
Joined: Thursday 02 March 2017 20:28
Target OS: Linux
Domoticz version: V4.1174
Location: Netherlands
Contact:

Re: How to making a Custom graph with DZvents

Post by HFman »

Yes, the work aground (grafanna for example) is an option. But find this a little bith a pitty.
Also looking to the source code, it is nearlly inside domoticz.
Looking back this request is poping up since years.

Since Domoticz make use of hte High Cart module, can it be made in the custom tab ?
Never dive in to this, or could we (worst case) make a " grafana" webpage which we can put in the custom page ?
Raspberry PI 3 - Opentherm Gateway + ESP8826 - EvoHome - ESPEasy CO2 + Fancontrol - RF-Link - zigbee2mqqt -
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest