Hi,
By default the Realtime gauge-data extension will save gauge-data.txt in
the WeeWX public_html directory. The exact location of the public_html
directory depends on your WeeWX install; setup.py installs use
/home/weewx/public_html and package install use /var/www/html/weewx. You
can change the location the generated gauge-data.txt file is saved to by
setting the rtgd_path config option under [RealtimeGaugeData] in weewx.conf.
To do so edit weewx.conf, locate the [RealtimeGaugeData] stanza and
change/add the rtgd_path config option as required. Save weewx.conf and
restart WeeWX for the change to take effect. Your [RealtimeGaugeData] would
look something like this:
[RealtimeGaugeData]
....
rtgd_path = /save/to/this/directory
Be aware that for setup.py installs some folks save everything to
/home/weewx/public_html and then create a symlink to this directory from
/var/www/html or elsewhere. It really is horses for courses but taking a
consistent approach will probably lead to less confusion.
Gary
On Saturday, 14 December 2019 01:30:45 UTC+10, NightTripper wrote:
>
> I installed all the support programs first always using the apt-get cmd.
> Such as programs like "sudo apt install apache2" weewx was installed the
> same way. I'm running the Saratoga website using the weewxwd-1.0.3.tar.gz
> wd plugin with the Base-USA template.. For some reason gauge-data.txt is
> being created in /home/weewx/public-html folder? Everything else is being
> created in /var/www/html as it should be.
>
> I would really like gauge-data to be created in the proper folder.
>
> Thank You
> Night
>
--
You received this message because you are subscribed to the Google Groups
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/weewx-user/13083b94-1742-4526-a6fb-fcf17114a3a3%40googlegroups.com.