I have been trying out weatherradio which is a very nice weather station.
<strong>Thank you very much Wolfgang</strong>
I have a question regarding the cron scripts outlined in the documentation.
indi-3rdparty/indi-duino/doc/Readme-WeatherRadio.md
<code>
#
# cron jobs for arduino weather radio
#
#
4,9,14,19,24,29,34,39,44,49,54,59 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_update.py
4,9,14,19,24,29,34,39,44,49,54,59 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_update_sensordata.py
#
# Update JSON export files
#
*/5 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_lastupdate.py
*/5 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 6h
*/15 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 1d
0 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 7d
0 0 * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 30d
*/5 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 6h -o /usr/share/weatherradio/html/data/RTsensors_6h.json /usr/share/weatherradio/sensors.rrd
*/15 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 1d -o /usr/share/weatherradio/html/data/RTsensors_1d.json /usr/share/weatherradio/sensors.rrd
0 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 7d -o /usr/share/weatherradio/html/data/RTsensors_7d.json /usr/share/weatherradio/sensors.rrd
0 0 * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 30d -o /usr/share/weatherradio/html/data/RTsensors_30d.json /usr/share/weatherradio/sensors.rrd
</code>
It seems that the first set of calls to we_rrd_fetch.py -s [6h|1d|7d|30] are repeated in the second batch which declares the -o file and the sensors.rrd files.
These are already defined and included from wr_config.py
Can't the last block be deleted?
<code>
*/5 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 6h -o /usr/share/weatherradio/html/data/RTsensors_6h.json /usr/share/weatherradio/sensors.rrd
*/15 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 1d -o /usr/share/weatherradio/html/data/RTsensors_1d.json /usr/share/weatherradio/sensors.rrd
0 * * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 7d -o /usr/share/weatherradio/html/data/RTsensors_7d.json /usr/share/weatherradio/sensors.rrd
0 0 * * * <userid> /usr/share/weatherradio/bin/wr_rrd_fetch.py -s 30d -o /usr/share/weatherradio/html/data/RTsensors_30d.json /usr/share/weatherradio/sensors.rrd
</code>
Am I misunderstanding something, or is this a typo?
Adrian