Simple graphic export

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
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: <2025
Location: Hengelo(Ov)/NL
Contact:

Simple graphic export

Post by Toulon7559 »

If you click the Log at a widget, you get the graphic display, and there can opt for export of an actually displayed graph-segment by clicking the desired format in the Chart context menu in upper right corner in that graph.
Sometimes such graphic export is just enough: no Grafana required.

However, that export is oneshot.
Is there a capability to have periodic retrieval of such graphic file?
If not standard included somewhere in Domoticz, has somebody developed a related schript?
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
User avatar
waltervl
Posts: 6689
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2025.1
Location: NL
Contact:

Re: Simple graphic export

Post by waltervl »

I remember it was discussed before on the forum, searched for but could not find it.

I thought the conclusion was that it is not possible to script this yet as there was no command from server side to do this. The graph is created by the browser.
It is possible to export the history values by a http command to CSV. You could use that to create a graph in excel.
https://domoticz.com/forum/viewtopic.php?t=30825 or viewtopic.php?t=30725
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Toulon7559
Posts: 859
Joined: Sunday 23 February 2014 17:56
Target OS: Raspberry Pi / ODroid
Domoticz version: <2025
Location: Hengelo(Ov)/NL
Contact:

Re: Simple graphic export

Post by Toulon7559 »

Exporting as csv-file to excel and subsequentely generating a graph is ;-) ;-) exactly not my intention (trying to limit effort to get a simple graph in q quick&lazy way).
But perhaps your statement
The graph is created by the browser.
might be an entry, if it is possible to emulate the call by the browser by means of a script.

Requires some inventive thinking how to make that emulation, cleanly pointed to Chart context menu of a selected graphic window in Domoticz' widgets.
Set1 = RPI-Zero+RFXCom433+S0PCM+Shield for BMP180/DS18B20/RS485+DDS238-1ZNs
Set2 = RPI-3A++RFLinkGTW+ESP8266s+PWS_WS7000
Common = KAKUs+3*PVLogger+PWS_TFA_Nexus
plus series of 'satellites' for dedicated interfacing, monitoring & control.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest