Welcome to the Cumulus Support forum.

Latest Cumulus MX V4 release 4.1.1 (build 4025) - 19 June 2024

Latest Cumulus MX V3 release 3.28.6 (build 3283) - 21 March 2024

Legacy Cumulus 1 release 1.9.4 (build 1099) - 28 November 2014
(a patch is available for 1.9.4 build 1099 that extends the date range of drop-down menus to 2030)

Download the Software (Cumulus MX / Cumulus 1 and other related items) from the Wiki

FTP a chart?

Weather station hardware not applicable to any other subforum.
Post Reply
Defenderdogs
Posts: 20
Joined: Mon 19 Apr 2021 6:32 am
Weather Station: Davis Vantage Pro2 Plus
Operating System: RPi3 Buster

FTP a chart?

Post by Defenderdogs »

Is it possible to send a chart to an external server (not a website) via FTP? I am trying to display a chart of historical soil moisture on a touchscreen that is part of a home automation system (Crestron). It's purely for information but is part of the automation of a sprinker system where the current soil moisture value is used to determine whether a zone should be irrigated or not. I use the local API to retrieve the current values, but it would be great were I able to place a chart on the touchpanel too. I can't see an obvious way to do this after souring the Settings.

I can probably use an external service (eg Plotly) to take the time series values and create the chart, but 'route 1' would be to use the chart from cumulusmx.

Thoughts most welcome!
User avatar
mcrossley
Posts: 13024
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP a chart?

Post by mcrossley »

Cumulus MX does not create the charts as images, they are drawn as required in your client browser from a data file. The software used (currently!) is HighCharts.
water01
Posts: 3379
Joined: Sat 13 Aug 2011 9:33 am
Weather Station: Ecowitt HP2551
Operating System: Windows 10 64bit
Location: Burnham-on-Sea
Contact:

Re: FTP a chart?

Post by water01 »

Far be it from to question the oracle but is that quite true Mark.

All of the charts I have created in Highcharts and the Select a Chart and the others in CumulusMX have a small box in the top right hand corner of the chart.

If you click on that it allows you to save the chart as a .png, .jpg, .pdf or .svg file. There are also print chart options which if you pointed it to right print driver should allow you save it in all sorts of options. You can then send the file via the extra files option to the server or setup your own FTP session and automate it.

Just a suggestion.
David
Image
User avatar
mcrossley
Posts: 13024
Joined: Thu 07 Jan 2010 9:44 pm
Weather Station: Davis VP2/WLL
Operating System: Bullseye Lite rPi
Location: Wilmslow, Cheshire, UK
Contact:

Re: FTP a chart?

Post by mcrossley »

It's an idea David, but CMX isn't generating that chart image, you as a human are doing it. So not something you could automate easily - unless you invoke a screen clicker, or use the HighCharts export module (either sending the data to HighCharts for rendering, or setting up your own export server). https://www.highcharts.com/docs/export- ... e-overview
Post Reply