You will find Seasons is quite different to Standard. Seasons was parameterised in v4.6.0 and it now automatically picks up a wide variety of observations in thew view_extended schema. It won't pick up p_rain so you will need to make some changes, but these should be limited to skin.conf, in particular the [DisplayOptions] and [CheetahGenerator] stanza. If you follow the entries that include rain, and add in p_rain you should be pretty close.
Gary On Wednesday, 4 May 2022 at 20:29:17 UTC+10 [email protected] wrote: > Hi Gary, > > That seems to have worked - thank you very much! Now to find why the > Seasons skin isn't plotting a lot of its stuff... > > On Wed, 4 May 2022 at 19:03, gjr80 <[email protected]> wrote: > >> First thing to check is does your archive have a field p_rain? If you >> want plot the observation p_rain it needs to be saved to archive. Have >> you done that? wee_database --add-column >> <http://weewx.com/docs/utilities.htm#Action_--add-column> would do that >> for you. More detailed coverage on modifying the database schema can be >> found here >> <http://weewx.com/docs/customizing.htm#Modifying_an_existing_database> in >> the Customisation Guide. >> >> Gary >> >> On Wednesday, 4 May 2022 at 17:40:26 UTC+10 [email protected] wrote: >> >>> Hi all, >>> >>> I've obviously missed something here, but I thought adding a stanza of >>> the form >>> >>> [[[dayprain]]] >>> # Make sure the y-axis increment is at least 0.02 for the >>> rain plot >>> yscale = None, None, 0.02 >>> plot_type = bar >>> [[[[p_rain]]]] >>> aggregate_type = sum >>> aggregate_interval = hour >>> label = Piezo Rain (hourly total) >>> >>> After the similar entry for dayrain in skins/Standard/skin.conf and >>> adding the line >>> >>> <img src="dayprain.png" alt="Piezo rain" /> >>> >>> after the similar entry for dayrain in skins/Standard/index.html.tmpl >>> would be sufficient, but when I restart weewx and look at the result, I get >>> the missing image graphic where I would expect to see the plot. Can anyone >>> point me in the right direction? >>> >>> -- >>> >>> "I and the public know >>> what all schoolchildren learn >>> Those to whom evil is done >>> Do evil in return" W.H. Auden, "September 1, 1939" >>> >>> >>> -- >> 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/3fc40d71-ccb1-4a73-88cc-f9b932087e75n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/3fc40d71-ccb1-4a73-88cc-f9b932087e75n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > > > -- > > "I and the public know > what all schoolchildren learn > Those to whom evil is done > Do evil in return" W.H. Auden, "September 1, 1939" > > > -- 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/e846cb31-331d-40c5-a1d1-75a5be074f84n%40googlegroups.com.
