Here is the complete index.html.tmpl file: ## Copyright 2009-2018 Tom Keffer, Matthew Wall ## Distributed under terms of GPLv3. See LICENSE.txt for your rights. #errorCatcher Echo ## ## Specifying an encoding of UTF-8 is usually safe: #encoding UTF-8 ## <!DOCTYPE html> <html lang="en"> <head> ## This choice should match the #encoding directive above <meta charset="UTF-8"> <title>$station.location</title> <link rel="icon" type="image/png" href="favicon.ico" /> <link rel="stylesheet" type="text/css" href="seasons.css"/> <script src="seasons.js"></script> </head>
<body onload="setup();"> #include "titlebar.inc" <div id="contents"> <div id="widget_group"> #include "current.inc" #include "sunmoon.inc" #include "hilo.inc" #include "sensors.inc" #include "about.inc" #include "radar.inc" #include "satellite.inc" #include "map.inc" </div> <div id="plot_group"> <div id="history_widget" class="widget"> <div id="plot_title" class="widget_title">History: <a class="button_selected" id="button_history_day" onclick="choose_history('day')">Day</a> <a class="button" id="button_history_week" onclick="choose_history('week')">Week</a> <a class="button" id="button_history_month" onclick="choose_history('month')">Month</a> <a class="button" id="button_history_year" onclick="choose_history('year')">Year</a> </div> <div id="history_day" class="plot_container"> <img src="daybarometer.png" alt="$obs.label.barometer"/> <img src="daytempdew.png" alt="$obs.label.outTemp" /> <img src="daytempfeel.png" alt="$obs.label.feel" /> <img src="dayhum.png" alt="$obs.label.outHumidity" /> ## <img src="daywind.png" alt="$obs.label.windSpeed" /> ## <img src="daywinddir.png" alt="$obs.label.windDir" /> ## <img src="daywindvec.png" alt="$obs.label.windvec" /> <img src="dayrain.png" alt="$obs.label.rain" /> #if $day.UV.has_data <img src="dayuv.png" alt="$obs.label.UV" /> #end if #if $day.radiation.has_data <img src="dayradiation.png" alt="$obs.label.radiation" /> #end if #if $day.inTemp.has_data <img src="daytempin.png" alt="$obs.label.inTemp" /> #end if #if $day.extraTemp1.has_data or $day.extraTemp2.has_data or $day.extraTemp3.has_data <img src="daytemp.png" alt="$obs.label.extraTemp1" /> #end if #if $day.rxCheckPercent.has_data <img src="dayrx.png" alt="$obs.label.rxCheckPercent"/> #end if </div> <div id="history_week" class="plot_container" style="display:none"> <img src="weekbarometer.png" alt="$obs.label.barometer"/> <img src="weektempdew.png" alt="$obs.label.outTemp" /> <img src="weektempfeel.png" alt="$obs.label.feel" /> <img src="weekhum.png" alt="$obs.label.outHumidity" /> <img src="weekwind.png" alt="$obs.label.windSpeed" /> <img src="weekwinddir.png" alt="$obs.label.windDir" /> <img src="weekwindvec.png" alt="$obs.label.windvec" /> <img src="weekrain.png" alt="$obs.label.rain" /> #if $week.UV.has_data <img src="weekuv.png" alt="$obs.label.UV" /> #end if #if $week.radiation.has_data <img src="weekradiation.png" alt="$obs.label.radiation" /> #end if #if $week.inTemp.has_data <img src="weektempin.png" alt="$obs.label.inTemp" /> #end if #if $week.extraTemp1.has_data or $week.extraTemp2.has_data or $week.extraTemp3.has_data <img src="weektemp.png" alt="$obs.label.extraTemp1" /> #end if #if $week.rxCheckPercent.has_data <img src="weekrx.png" alt="$obs.label.rxCheckPercent"/> #end if </div> <div id="history_month" class="plot_container" style="display:none"> <img src="monthbarometer.png" alt="$obs.label.barometer"/> <img src="monthtempdew.png" alt="$obs.label.outTemp" /> <img src="monthtempfeel.png" alt="$obs.label.feel" /> <img src="monthhum.png" alt="$obs.label.outHumidity" /> <img src="monthwind.png" alt="$obs.label.windSpeed" /> <img src="monthwinddir.png" alt="$obs.label.windDir" /> <img src="monthwindvec.png" alt="$obs.label.windvec" /> <img src="monthrain.png" alt="$obs.label.rain" /> #if $month.UV.has_data <img src="monthuv.png" alt="$obs.label.UV" /> #end if #if $month.radiation.has_data <img src="monthradiation.png" alt="$obs.label.radiation" /> #end if #if $month.inTemp.has_data <img src="monthtempin.png" alt="$obs.label.inTemp" /> #end if #if $month.extraTemp1.has_data or $month.extraTemp2.has_data or $month.extraTemp3.has_data <img src="monthtemp.png" alt="$obs.label.extraTemp1" /> #end if #if $month.rxCheckPercent.has_data <img src="monthrx.png" alt="$obs.label.rxCheckPercent"/> #end if </div> <div id="history_year" class="plot_container" style="display:none"> <img src="yearbarometer.png" alt="$obs.label.barometer"/> <img src="yeartempdew.png" alt="$obs.label.outTemp" /> <img src="yeartempfeel.png" alt="$obs.label.feel" /> <img src="yearhum.png" alt="$obs.label.outHumidity" /> <img src="yearwind.png" alt="$obs.label.windSpeed" /> <img src="yearwinddir.png" alt="$obs.label.windDir" /> <img src="yearwindvec.png" alt="$obs.label.windvec" /> <img src="yearrain.png" alt="$obs.label.rain" /> #if $year.UV.has_data <img src="yearuv.png" alt="$obs.label.UV" /> #end if #if $year.radiation.has_data <img src="yearradiation.png" alt="$obs.label.radiation" /> #end if #if $year.inTemp.has_data <img src="yeartempin.png" alt="$obs.label.inTemp" /> #end if #if $year.extraTemp1.has_data or $year.extraTemp2.has_data or $year.extraTemp3.has_data <img src="yeartemp.png" alt="$obs.label.extraTemp1" /> #end if #if $year.rxCheckPercent.has_data <img src="yearrx.png" alt="$obs.label.rxCheckPercent"/> #end if </div> </div> </div> </div> <p class="footnote"> This station is controlled by <a href="http://weewx.com/">WeeWX</a>, an experimental weather software system written in Python. </p> #include "analytics.inc" </body> </html> On Saturday, April 25, 2020 at 11:00:18 PM UTC-4, John Kline wrote: > > And we still have the outstanding request for the whole index.html.tmp > file. > > On Apr 25, 2020, at 7:58 PM, John Kline <jo...@johnkline.com <javascript:>> > wrote: > > > Are you sure you don’t have more of those single # around. Like for the > week, month and year? > > Also, please verify each time you try something that index.html is still > not being written by checking the date with ls -l. (And, of course, wait > for an archive cycle.) > > Lastly, for sure there must be errors in the log for this. > > On Apr 25, 2020, at 7:47 PM, michael form <mike...@gmail.com <javascript:>> > wrote: > > > Well, I mentioned that I am a Linux novice. I usually design embedded > hardware systems. :) > > I changed it to ## and still no difference. > > Here is the first part of /etc/weewx/skins/Seasons/index/html/tmpl dealing > with daily images: I did not include the weekly and monthly info below. > > ## Copyright 2009-2018 Tom Keffer, Matthew Wall > ## Distributed under terms of GPLv3. See LICENSE.txt for your rights. > #errorCatcher Echo > ## > ## Specifying an encoding of UTF-8 is usually safe: > #encoding UTF-8 > ## > <!DOCTYPE html> > <html lang="en"> > <head> > ## This choice should match the #encoding directive above > <meta charset="UTF-8"> > <title>$station.location</title> > <link rel="icon" type="image/png" href="favicon.ico" /> > <link rel="stylesheet" type="text/css" href="seasons.css"/> > <script src="seasons.js"></script> > </head> > > <body onload="setup();"> > #include "titlebar.inc" > > <div id="contents"> > <div id="widget_group"> > #include "current.inc" > #include "sunmoon.inc" > #include "hilo.inc" > #include "sensors.inc" > #include "about.inc" > #include "radar.inc" > #include "satellite.inc" > #include "map.inc" > </div> > > <div id="plot_group"> > <div id="history_widget" class="widget"> > <div id="plot_title" class="widget_title">History: > <a class="button_selected" id="button_history_day" > onclick="choose_history('day')">Day</a> > <a class="button" id="button_history_week" > onclick="choose_history('week')">Week</a> > <a class="button" id="button_history_month" > onclick="choose_history('month')">Month</a> > <a class="button" id="button_history_year" > onclick="choose_history('year')">Year</a> > </div> > <div id="history_day" class="plot_container"> > <img src="daybarometer.png" alt="$obs.label.barometer"/> > <img src="daytempdew.png" alt="$obs.label.outTemp" /> > <img src="daytempfeel.png" alt="$obs.label.feel" /> > <img src="dayhum.png" alt="$obs.label.outHumidity" /> > ## <img src="daywind.png" alt="$obs.label.windSpeed" /> > ## <img src="daywinddir.png" alt="$obs.label.windDir" /> > ## <img src="daywindvec.png" alt="$obs.label.windvec" /> > <img src="dayrain.png" alt="$obs.label.rain" /> > #if $day.UV.has_data > <img src="dayuv.png" alt="$obs.label.UV" /> > #end if > #if $day.radiation.has_data > <img src="dayradiation.png" alt="$obs.label.radiation" /> > #end if > #if $day.inTemp.has_data > <img src="daytempin.png" alt="$obs.label.inTemp" /> > #end if > #if $day.extraTemp1.has_data or $day.extraTemp2.has_data or > $day.extraTemp3.has_data > <img src="daytemp.png" alt="$obs.label.extraTemp1" /> > #end if > #if $day.rxCheckPercent.has_data > <img src="dayrx.png" alt="$obs.label.rxCheckPercent"/> > #end if > > On Saturday, April 25, 2020 at 10:26:28 PM UTC-4, John Kline wrote: >> >> # is cheetah >> ## is a comment >> >> On Apr 25, 2020, at 7:25 PM, John Kline <jo...@johnkline.com> wrote: >> >> >> Oh, change the # >> To ## >> >> On Apr 25, 2020, at 7:23 PM, michael form <mike...@gmail.com> wrote: >> >> >> OK. >> >> ls -l /var/www/html/index.html >> >> 10710 Apr 18 19:44 >> >> which remains the same as time passes. So indeed, it looks like you are >> correct in that the page is not updated even though the plots change with >> variations >> in sensor outputs (i.e. the temperature changes). >> >> In /etc/weewx/skins/Seasons/index.html.tmpl I commented out the following >> with "#". >> >> # <img src="daywind.png" alt="$obs.label.windSpeed" /> >> # <img src="daywinddir.png" alt="$obs.label.windDir" /> >> # <img src="daywindvec.png" alt="$obs.label.windvec" /> >> >> Where have I gone astray? What needs to be done to have the page >> regenerated to display properly? >> >> On Saturday, April 25, 2020 at 9:34:39 PM UTC-4, John Kline wrote: >>> >>> >>> >>> On Apr 25, 2020, at 6:30 PM, michael form <mike...@gmail.com> wrote: >>> >>> >>> Yes. I have cleared the browser cache. >>> >>> Where do I find " public_html/index.html" on a Debian install? >>> >>> I forget, but probably /var/weewx/public_html/index.html >>> If that doesn’t work, someone else will know (or I’ll look at the >>> install code). >>> >>> >>> Thanks. >>> >>> On Saturday, April 25, 2020 at 8:18:19 PM UTC-4, gjr80 wrote: >>>> >>>> I take it you have cleared your browser cache.... >>>> >>>> Gary >>>> >>>> On Sunday, 26 April 2020 09:59:38 UTC+10, David Barto wrote: >>>>> >>>>> On Apr 25, 2020, at 4:54 PM, John Kline <jo...@johnkline.com> wrote: >>>>> >>>>> I’m looking for a date index.html. Just because the graphs are being >>>>> updated doesn’t mean the page is being regenerated. >>>>> >>>>> Your symptoms would indicate that the page is failing to be >>>>> regenerated. The old page would still show the latest graphs. >>>>> >>>>> Humor me with the ls output. >>>>> >>>>> >>>>> Magrathea:weewx-installed katherinebarto$ ls -l public_html/index.html >>>>> -rw-r--r-- 1 root wheel 27784 Apr 25 16:58 public_html/index.html >>>>> Magrathea:weewx-installed katherinebarto$ date >>>>> Sat Apr 25 16:58:58 PDT 2020 >>>>> >>>>> >>>>> On Apr 25, 2020, at 4:52 PM, David Barto <ba...@kdbarto.org> wrote: >>>>> >>>>> >>>>> >>>>> On Apr 25, 2020, at 2:55 PM, John Kline <jo...@johnkline.com> wrote: >>>>> >>>>> It could be that you broke something when editing index.html.tmpl. If >>>>> you did, you would see errors in the log and public_html/index.html would >>>>> never be regenerated. >>>>> >>>>> What the date on public_html/index.html? >>>>> >>>>> Do something like: >>>>> ls -l /home/weewx/public_html/index.html >>>>> >>>>> >>>>> My main page is getting updated just fine, that doesn’t seem to be an >>>>> issue. >>>>> >>>>> David >>>>> >>>>> On Apr 25, 2020, at 2:12 PM, michael form <mike...@gmail.com> wrote: >>>>> >>>>> >>>>> Here it is: >>>>> >>>>> >>>>> [[SeasonsReport]] >>>>> # The SeasonsReport uses the 'Seasons' skin, which contains the >>>>> # images, templates and plots for the report. >>>>> skin = Seasons >>>>> enable = true >>>>> >>>>> >>>>> On Saturday, April 25, 2020 at 2:25:51 PM UTC-4, John Kline wrote: >>>>>> >>>>>> I see that you have said you already changed index.html.tmpl. What >>>>>> does your entry for the SeasonsReport look like in weewx.conf? >>>>>> >>>>>> On Apr 25, 2020, at 11:12 AM, michael form <mike...@gmail.com> wrote: >>>>>> >>>>>> >>>>>> I will admit that I am a novice when it comes to Linux, but I have >>>>>> searched and followed directions in posts regarding the removal of plots >>>>>> from the web page that weewx displays. Weewx is running nicely on a >>>>>> Raspberry Pi 3 but when I look at the generated web page it includes >>>>>> things >>>>>> like WIND SPEED and WIND DIRECTION that I do not need or want in my >>>>>> application. >>>>>> >>>>>> In SKINS.CONF I have commented out [[[daywind]]] and its entry, >>>>>> [[[daywinddir]]] and its entries and [[[daywindvec]]] and its entries. >>>>>> In /etc/weewx/skins/Seasons/index.html.tmp1 I have commented out the >>>>>> following lines: img src="daywindirection.png, , and img >>>>>> src="daywindvec.png,. >>>>>> >>>>>> However, after doing this, plots of Wind Speed, Wind Direction and >>>>>> Wind Vector still are showing up on the generated web page. Any >>>>>> suggestions >>>>>> on what I am doing wrong and how best to remove plots that I do not need? >>>>>> >>>>>> Thank you. >>>>>> >>>>>> -- >>>>>> 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...@googlegroups.com. >>>>>> To view this discussion on the web visit >>>>>> https://groups.google.com/d/msgid/weewx-user/c44be4b6-db70-47db-885a-77b9fd1b354a%40googlegroups.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/c44be4b6-db70-47db-885a-77b9fd1b354a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> >>>>>> >>>>> -- >>>>> 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...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/d1826114-ce60-4b41-8f50-5260c55fdf6b%40googlegroups.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/d1826114-ce60-4b41-8f50-5260c55fdf6b%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> >>>>> -- >>>>> 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...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/AF15FD19-615A-4636-9FC2-53CAEDEAC060%40johnkline.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/AF15FD19-615A-4636-9FC2-53CAEDEAC060%40johnkline.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> >>>>> >>>>> -- >>>>> 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...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/AC2618FA-E965-4A32-92D0-830031B806C2%40kdbarto.org >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/AC2618FA-E965-4A32-92D0-830031B806C2%40kdbarto.org?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> >>>>> -- >>>>> 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...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/2444FBF2-633E-462B-9CA6-A394C9A7122C%40johnkline.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/2444FBF2-633E-462B-9CA6-A394C9A7122C%40johnkline.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> >>>>> >>>>> -- >>> 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...@googlegroups.com. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/8e3aab4d-1c81-4143-bdf0-6fcc160cf0a7%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/8e3aab4d-1c81-4143-bdf0-6fcc160cf0a7%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> >>> -- >> 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...@googlegroups.com. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/weewx-user/41498fea-a7c6-4bfb-9a1d-05fd7b3d3b9d%40googlegroups.com >> >> <https://groups.google.com/d/msgid/weewx-user/41498fea-a7c6-4bfb-9a1d-05fd7b3d3b9d%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> -- > 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...@googlegroups.com <javascript:>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/weewx-user/2e965451-2e9d-42e2-b394-29fce4bb876f%40googlegroups.com > > <https://groups.google.com/d/msgid/weewx-user/2e965451-2e9d-42e2-b394-29fce4bb876f%40googlegroups.com?utm_medium=email&utm_source=footer> > . > > -- 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/1b917b6e-5606-43c8-a9db-ef454eed8684%40googlegroups.com.