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 how please, or somewhere else Phil
On Saturday, July 25, 2020 at 5:39:58 PM UTC+1, Phil Owers wrote: > > Hi All > > Have been using the Instromet Stand Alone Sun Duration sensor which if > connected to a Davis Vantage Pro2 system needs to go to a spare rain socket > in the ISS. > Each 0.01 is equivalent to 36 seconds of sunshine and I have converted > that to hours and minutes on my web page. > The next stage was to produce a graph per hour using the rain field in the > database and to adjust that reading.either with another field in the > database or when the plot/graph was produced . > I did have a look in the vantage.py and came across loop_packet['rain'] = > delta. > So im asking is this the place to do this or am I totally in the wrong > place to achieve a field with with rain * 36 in. > Thanks in Advance > -- 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 weewx-user+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/weewx-user/cdd0c7e8-a905-4e7d-9cc9-c0216d0641f8o%40googlegroups.com.