I should add that the template must also be listed in the corresponding skin.conf, in the [[ToDate]] section.
On Wed, Apr 28, 2021 at 6:31 AM Tom Keffer <tkef...@gmail.com> wrote: > Yes, the skin has to be enabled for any of the templates in the skin's > folder to be processed. So, if you put your "HWA" template in ./Standard, > then the report StandardReport must be enabled. > > Or, you can put HWA in your "./basic" folder, then enable your basic > report. > > Either way will work. > > On Wed, Apr 28, 2021 at 1:07 AM Ton vanN <tonv...@gmail.com> wrote: > >> *Brainwave?* >> Aiming at a first, basic realisation the folder >> /home/weewx/skins/Standard seeming the 'obvious' place, the template for >> generation of the HWA-file was put in that folder. >> Considering similarity with generation of other html-files the call to >> the HWA-template was put in skin.conf in same folder >> /home/weewx/skins/Standard >> >> Looking in /home/weewx at the below setting in weewx.conf, starting to >> doubt that such choice is correct. >> >> [[StandardReport]] >> # This is the old "Standard" skin. By default, it is not >> enabled. >> skin = Standard >> enable = false >> [[basic]] >> skin = basic >> HTML_ROOT = /var/weewx/reports >> [[[Extras]]] >> current = INST_SKIN_ROOT/basic/current.inc >> hilo = INST_SKIN_ROOT/basic/hilo.inc >> >> If enable=false, *it looks as if* 'Standard'will not be called and (as >> consequence no call to the HWA-template at it's present location). >> But if that assumption is correct, where should I alternatively put the >> template and call to the HWA-template to stay in line with 'normal >> practise'? >> *[Or simple enabling of 'Standard'?]* >> Op woensdag 28 april 2021 om 08:30:52 UTC+2 schreef Ton vanN: >> >>> As requested, attached is the repeating segment of the syslog with >>> debug=1 >>> >>> Op dinsdag 27 april 2021 om 13:21:12 UTC+2 schreef tke...@gmail.com: >>> >>>> Please try again, but this time set debug=1 first. >>>> >>>> Stop weewx >>>> Set debug=1 (in weewx.conf) >>>> Restart weewx >>>> Post the log from startup. >>>> >>>> -tk >>>> >>>> On Fri, Mar 26, 2021 at 5:41 AM Ton vanN <ton...@gmail.com> wrote: >>>> >>>>> Related syslog-segment from RPI_CLI obtained with PuttySSH >>>>> >>>>> Op vrijdag 26 maart 2021 om 10:00:19 UTC+1 schreef Ton vanN: >>>>> >>>>>> Novice to WeeWX. >>>>>> Have the main progam as simulator up and running (= see files >>>>>> updating in folder public_html ). >>>>>> Now trying to implement a template to generate an uploadfile for >>>>>> HetWeerActueel. >>>>>> [has been discussed earlier in this forum, but that discussion >>>>>> apparently not ending with working solution] >>>>>> >>>>>> Template [attached in zip-file] should generate a htm-file. >>>>>> For activation of the template I inserted the following text in >>>>>> /home/weewx/skins/Standard/skin.conf at the end of the section >>>>>> CheetahGenerator >>>>>> >>>>>> [[HWA]] >>>>>> # Report that generates an uploadfile for HetWeerActueel. >>>>>> [[[OWD]]] >>>>>> template = openweerdata_wx.htm.tmpl >>>>>> >>>>>> Would expect the generated htm-file to appear in folder public_html >>>>>> When running WeeWX no errors (which is OK), but also nowhere the >>>>>> expected htm-file: >>>>>> what needs to be done to activate file-generation? >>>>>> >>>>> -- >>>>> 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+...@googlegroups.com. >>>>> To view this discussion on the web visit >>>>> https://groups.google.com/d/msgid/weewx-user/d6591a4a-09d9-41f7-8092-5e0fcbc113ccn%40googlegroups.com >>>>> <https://groups.google.com/d/msgid/weewx-user/d6591a4a-09d9-41f7-8092-5e0fcbc113ccn%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/33bd4fee-48c9-42dd-9e1e-ce04ba727dddn%40googlegroups.com >> <https://groups.google.com/d/msgid/weewx-user/33bd4fee-48c9-42dd-9e1e-ce04ba727dddn%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/CAPq0zEBK-eSZv8SuxpvOtXtM4PQbMENDhFR0ciXYO3618rKN%3Dw%40mail.gmail.com.