I had a problem with my pi 4 and need to reboot it
Unfortunately I had a error with the sd card, and it would not boot
my last back up was 18 months ago ☹
so I am trying to bring the card or installation up to date with all the
tweeks I have made
all is not completely lost as I had a daily cron job running that would
back my weewx directory up to an external flash drive
I am trying to get the last rain extension to run
I have copied the lastrain.py to my /home/weewx/bin/user
Added this to my skin.conf
search_list_extensions = user.lastrain.lastRainTags,
user.stats.MyStats, user.time_since.TimeSince, user.colorize_3.Colorize
Upated the index.html.tmpl with
<tr>
<td class="label">$obs.label.last_rain</td>
<td
class="data">$time_at('rain>0')<br/>$time_since('rain>0').long_form ago</td>
</tr>
And this is the output
last_rain 19/10/24 05:10:00
$time_since('rain>0').long_form ago
The other strange thing is the color formatting as gone its all black text.
The normal formatting for the cells on the index page is green for the
label cell and red for the data value
Why is the time since not returning a value
Thanks for any advice
--
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/752c958d-69f7-4be6-908f-dbf80ca14104n%40googlegroups.com.