Page 1 of 1
Graph temperature trend *C/h
Posted: Fri 26 Oct 2012 3:26 pm
by Areecki
Hello
Is it possible to draw the temperature trend for an hour?
Or import indications Trend window to a txt file?

Re: Graph temperature trend *C/h
Posted: Fri 26 Oct 2012 3:38 pm
by steve
The only way I can think of that you could do it would be to use the fact that the temperature trend value is in realtime.txt and also in the web tag <#temptrend>, so you could capture it at regular intervals from one of those.
Re: Graph temperature trend *C/h
Posted: Fri 26 Oct 2012 3:47 pm
by Areecki
I have to do it manually or with a script?
Re: Graph temperature trend *C/h
Posted: Fri 26 Oct 2012 4:02 pm
by steve
Ideally, you would do it with a script. For example, Kevin (TNET weather) wrote a PHP script which takes the realtime.txt file and appends it to a file to create a realtime.log.
Re: Graph temperature trend *C/h
Posted: Sat 27 Oct 2012 4:46 pm
by Areecki
Where can I find the script? He would like to at eg 1 min copied the trend and save the file, then mógłym create a chart in another program
Re: Graph temperature trend *C/h
Posted: Sat 27 Oct 2012 5:07 pm
by steve
There's a link to Kevin's stuff on the downloads page; the first entry under 'User contributions'.
Re: Graph temperature trend *C/h
Posted: Sun 28 Oct 2012 1:13 pm
by Areecki
OK I have a script that saves the date, hour and temperature trend to a txt file on the server. Can you put this information on the website as a graph in the graphs tab like the other data that is displayed?
http://areecki.ihq.pl/pogoda/realtime-db.txt
I would like to have an additional chart here, eg instead of the temperature inside:
http://areecki.ihq.pl/pogoda/trends.htm
Re: Graph temperature trend *C/h
Posted: Sun 28 Oct 2012 1:23 pm
by steve
You'll need something to draw the graph, like
highcharts, for example. Then you can put the graph anywhere you want.
Re: Graph temperature trend *C/h
Posted: Sun 28 Oct 2012 1:30 pm
by Areecki
But I would like to use charts Cumulus.
For example, to change the internal temperature chart temperature trend chart
Re: Graph temperature trend *C/h
Posted: Sun 28 Oct 2012 1:36 pm
by steve
There isn't a chart for this in Cumulus, so you will have to create your own. You can then put it in the Cumulus web page instead of the inside temperature chart. I'm sorry if you don't know how to do that, but you can't really expect me to put absolutely everything into Cumulus that everyone wants.
Re: Graph temperature trend *C/h
Posted: Sun 28 Oct 2012 1:55 pm
by Areecki
I understand. I will try to put another application that will draw me a chart and placing it on the page. In the future, you would think the temperature trend graph. Cheers and thank you.