Create a day graphic from the past

53 views
Skip to first unread message

Joachim Puttkammer

unread,
Feb 1, 2020, 2:51:53 PM2/1/20
to weewx-user
Bonsoir,

I store the weather data in a MySQL database. Is it possible to use Weewx to display a certain day from the past, e.g. to create a daily graphic.

Joachim

Greg from Oz

unread,
Feb 1, 2020, 6:01:27 PM2/1/20
to weewx-user
Run wee_reports after converting the date to the day you want.
Then after it generates the information go you where the png files are and save the one you want. /var/www/html/weather for example.

$ date -d 2020/01/01 +%s 1577797200
$ sudo wee_reports /etc/weewx/weewx.conf 1577797200

Using configuration file /etc/weewx/weewx.conf
Generating for requested time 2020-01-01 00:00:00 AEDT (1577797200)

Reply all
Reply to author
Forward
0 new messages