While it is possible to specify which templates to run in weewx.conf, that information is usually put in skin.conf. Follow the pattern set by the Seasons or another report by looking at their skin.conf file. Substitute as necessary.
In particular, pay attention to how the generator is specified. You've got it wrong. Once you've got that working, if you really want to, you can move that information to weewx.conf, but it will require changing the level of nesting. It's easier to get it working in skin.conf first. -tk On Tue, Nov 25, 2025 at 2:28 PM [email protected] <[email protected]> wrote: > i have in [StdReport] [[Last24hReport]] > enable = true > skin = JSON > format = JSON > HTML_ROOT = /var/www/html/weewx/json > generator = weewx.cheetahgenerator.CheetahGenerator > [[[last24h]]] > template = last24h.json.tmpl > > [[JSONReport]] > enable = true > skin = JSON > format = JSON > HTML_ROOT = /var/www/html/weewx/json > generator = weewx.cheetahgenerator.CheetahGenerator > # Archivos a generar > [[[current]]] > template = current.json.tmpl > [[[day]]] > template = day.json.tmpl > [[[week]]] > template = week.json.tmpl > [[[month]]] > template = month.json.tmpl > [[[year]]] > template = year.json.tmpl > [[[stats]]] > template = stats.json.tmpl but nothing is generated. Before > only generate current.json but i added [last24hReport] and did changes and > now nothing is generated. My log is nov 25 23:25:36 raspberrypi > weewxd[793326]: DEBUG weewx.restx: StationRegistry: wait interval (1800 < > 86400) has not passed for record 2025-11-25 23:25:00 CET (1764109500) > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running reports for latest time in the database. > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running report 'Last24hReport' > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Found configuration file /etc/weewx/skins/JSON/skin.conf for report > 'Last24hReport' > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running generators for report 'Last24hReport' in directory > '/etc/weewx/skins/JSON' > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.cheetahgenerator: > Using search list ['weewx.cheetahgenerator.Almanac', > 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Di > splayOptions', 'weewx.cheetahgenerator.Extras', > 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', > 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo > ', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', > 'weewx.cheetahgenerator.UnitInfo'] > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.manager: Daily > summary version is 4.0 > nov 25 23:25:36 raspberrypi weewxd[793326]: INFO weewx.cheetahgenerator: > Generated 0 files for report Last24hReport in 0.01 seconds > nov 25 23:25:36 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running report 'JSONReport' > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Found configuration file /etc/weewx/skins/JSON/skin.conf for report > 'JSONReport' > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running generators for report 'JSONReport' in directory > '/etc/weewx/skins/JSON' > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.cheetahgenerator: > Using search list ['weewx.cheetahgenerator.Almanac', > 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Di > splayOptions', 'weewx.cheetahgenerator.Extras', > 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', > 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo > ', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', > 'weewx.cheetahgenerator.UnitInfo'] > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.manager: Daily > summary version is 4.0 > nov 25 23:25:37 raspberrypi weewxd[793326]: INFO weewx.cheetahgenerator: > Generated 0 files for report JSONReport in 0.01 seconds > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running report 'Belchertown' > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report > 'Belchertown' > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.reportengine: > Running generators for report 'Belchertown' in directory > '/etc/weewx/skins/Belchertown' > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.cheetahgenerator: > Using search list ['user.belchertown.getData', > 'user.historicals.SimpleHistoricalSearch', 'weewx.cheetahgenerator > .Almanac', 'weewx.cheetahgenerator.Current', > 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', > 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelper > s', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', > 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', > 'weewx.cheetahgenerator.UnitInfo'] > nov 25 23:25:37 raspberrypi weewxd[793326]: DEBUG weewx.manager: Daily > summary version is 4.0 > > -- > 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 visit > https://groups.google.com/d/msgid/weewx-user/02ef047e-ea8e-4856-883b-41c5574494c9n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/02ef047e-ea8e-4856-883b-41c5574494c9n%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 [email protected]. To view this discussion visit https://groups.google.com/d/msgid/weewx-user/CAPq0zEASSOw%2BinCc3y8MLn6PUAy31aEFyp1GQ%2BprXKq-xtdLkw%40mail.gmail.com.
