On Sunday, January 30, 2022 at 12:16:08 PM UTC-8 techno curmudgeon wrote:
> Full disclosure: I don't know *&^$# about web pages. I have successfully
> avoided having to deal with the guts of them for my whole career. Until
> now.
>
>
Ummm, no, it's not quite that easy. There is a little work required.
You can now say that you learned about them 'today' days ago :-)
Anyway, glancing through files in the /etc/weewx/skins I took a chance and
> sed -i '/Inside/s/^/#/gI'
>
>
You have to actually look at the .tmpl (template) files in there for
"inTemp" which is the inside temperature. You'll have to edit all those
lines in all the .tmpl files. For the Standard skin there are only 4
files.
For example - you'll see sections like:
<tr>
<td class="stats_label">Inside Temperature</td>
<td class="stats_data">$current.inTemp</td>
</tr>
You comment them out in web pages by surrounding them with <!-- --> pairs
ala:
<!--
<tr>
<td class="stats_label">Inside Temperature</td>
<td class="stats_data">$current.inTemp</td>
</tr>
-->
You have to also comment out the creation of the images graphing the
inTemp. Look in skin.conf and you'll see sections like:
[[[dayinside]]]
[[[[inTemp]]]]
(and week and month and year as well)
In skin.conf you 'do' use a # character to comment them out. Just go with
it and don't overthink the why.
> stopped weewx
> rm -rf /var/www/html/weewx/*
> reboot
>
>
None of that is necessary. Just wait for your next archive interval
(likely 5 minutes) or run wee_reports to (re)generate the web pages
manually.
--
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/0ca25d70-21af-4d9f-a5bb-88380447cd33n%40googlegroups.com.