Look under [DisplayOptions] in skin.conf. On Mon, Mar 21, 2022 at 2:18 PM Thomas Hackler <[email protected]> wrote:
> Hello, > I run weewx 4.7.0 with a gw1000 (0.4.2) , a froggit WH3000, four WH31 and > one WH51. > In the field current conditions two of the four WH31 are shown and other > values like inside temperature humidity etc. I want to add the other two > WH31 and the WH51 like it is described here: > > > https://github.com/gjr80/weewx-gw1000/wiki/Adapting-the-Seasons-skin-to-display-a-new-field > > I have to add the sensors in the current.inc. But my current.ins in > /etc/weewx/skins/Seasons only show this: > > I would expect to see more sensors? Where are extraTemp1, extraTemp2 etc. ? > > from line 18: > > #set $observations = $to_list($DisplayOptions.get('observations_current', > ['outTemp', 'barometer'])) > #for $x in $observations > #if $getVar('year.%s.has_data' % $x) > #if $x == 'barometer' > <tr> > <td class="label">$obs.label.barometer</td> > <td class="data">$current.barometer > ($trend.barometer.formatted)</td> > </tr> > #elif $x == 'windSpeed' > <tr> > <td class="label">$obs.label.wind</td> > <td class="data">$current.windSpeed > $current.windDir.ordinal_compass ($current.windDir)</td> > </tr> > #elif $x == 'rain' > <tr> > <td class="label">$gettext("Rain Today")</td> > <td class="data">$day.rain.sum</td> > </tr> > #else > <tr> > <td class="label">$obs.label[$x]</td> > <td class="data">$getVar('current.' + $x)</td> > </tr> > #end if > > #end if > #end for > > Maybe it is everything somwhere here? > > $getVar('current.' + $x) > > I don't understand how to add the sensors, so maybe can explan it to me. > Thank you > Thomas > > -- > 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/b24e4ab1-509c-4ccc-b54f-fefc4a7d6687n%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/b24e4ab1-509c-4ccc-b54f-fefc4a7d6687n%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 on the web visit https://groups.google.com/d/msgid/weewx-user/CAPq0zECC1qaFUHHG%3DxAQvKrsovoOmN_jFBpuTW710psubpH2Nw%40mail.gmail.com.
