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.

Reply via email to