[weewx-user] Re: Sun Shine Hours

2020-07-27 Thread Phil Owers
Thanks Gary That worked ok to a temp field but then I realised that I had added a new field to the weewx.sdb. I have 4 conf files working on the same rasp pi and the sun console has its own database. Just wondered how thats done. Thanks Phil On Saturday, July 25, 2020 at 5:39:58 PM UTC+1, Phil O

[weewx-user] Re: Sun Shine Hours

2020-07-25 Thread gjr80
Phil, No need to modify vantage.py, in fact modifying one of the core WeeWX files is seldom a good solution when others exist. You open yourself up to losing your changes over an upgrade or if you place your modified file in /home/weewx/bin/user (or /usr/share/weewx/user) so it is safe from up

[weewx-user] Re: Sun Shine Hours

2020-07-25 Thread Phil Owers
Hi Gary Thanks for your quick response. You have confirmed the best way is to populate a new field to get the graph Im looking for. Im happy with adding a new field to the database This new field would have the 0.01 * 36 but im not sure how to do that Is that done in the vantage.py file, and if so

[weewx-user] Re: Sun Shine Hours

2020-07-25 Thread gjr80
Hi, If I am understanding you correctly you have a field that is being populated in the WeeWX database. The field data is such that you display cumulative values or sums (ala rain) rather than point in time values (like temperature, pressure etc). You have been scaling that field on your web p