Ok, I am a little confused here, but I am guessing it is just a typo in 
your last post. The RTGD extension currently produces a version 13 
gauge-data.txt. Your gauge-data.txt at 
http://www.romaeurmeteo.it/weewx/ss/gauge-data.txt is version 13. The 
current SteelSeries Weather Gauges gauges.js is version 2.7.3 and for WeeWX 
is requires a minimum version 14 gauge-data.txt. So I would expect the 
current SteelSeries Weather Gauges would indeed not work with the current 
RTGD extension. When I look at your gauges.js 
(http://www.romaeurmeteo.it/weewx/ss/scripts/gauges.js) you have changed it 
to require version 12 (the typo? - your post says 13). The changes from 
version 12 to 13 to 14 are such that they have no real impact whether you 
are using a gauges.js that supports version 12, 13 or 14 - there may be 
some javascript errors in the web console but hte gauges will still work.

It looks like the SteelSeries Weather Gauges author has made some minor 
changes to the gauge-data.txt template file (gauge-data.txt.tmpl) to 
include min/max inside temperatures and that has caused the bump to version 
14. I missed that change and have not updated the RTGD extension to version 
14. I also maintain a separate repo 
<https://github.com/gjr80/weewx-steelseries> with the SteelSeries Weather 
Gauges packaged as a WeeWX extension which is still at verion 13, if folks 
have installed the SteelSeries Weather Gauges from that repo they would 
have version 13 templates and 2.6.3 scripts which support the version 13 
gauge-data.txt - bottom line is it would work fine.

I will update RTGD to version 14 and also update the weewx-steelseries 
extension to version 14/2.7.3. For you it shoudl be a simple change of 
rtgd.py and returning gauges.js back to its orignal (version 14) state.

As for the FTP upload of gauge-data.txt. disabling the gauge-data.txt.tmpl 
template in ss/skin.conf merely stops WeeWX from generating gauge-data.txt 
from the template every archive interval. The FTP still occurs every 
archive interval and the FTP uploads everything below HTML_ROOT (nominally 
public_html). So if the RTGD extension saves gauge-data.txt somewhere under 
HTML_ROOT then it will be uploaded every archive interval by the FTP 
uploader. It will not cause any problems unless the FTP uploader and the 
HTTP POST code try to write the file at the same time on your web server. 
To fix it you have two choices, change the location that the RTGD extension 
saves gauge-data.txt (using the [RealtimeGaugeData] rtgd_path config 
option) or change your FTP upload settings - I suspect that the former will 
be easier :)

Gary

-- 
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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to