I'm assuming that the #if statement is evaluating True. That is, you're seeing the <tr>...</tr> HTML elements.
Things to try: 1. Does the 'well_binding' database have a daily summary? That is normally what the $day tag uses. 2. Have you checked the values in the database? In particular, the values in the daily summary? Maybe they are all null? 3. Maybe it's just a typo, but the template snippet you included is garbled. The expression "$day($data_binding='well_bindi$" is not valid. -tk On Wed, Sep 9, 2020 at 12:53 PM [email protected] <[email protected]> wrote: > > I have an extra temperature system logging to a different database. I can > pull the current temperature in my html.tmpl file with the code: > <td > class="stats_data">$latest($data_binding='well_binding').wellTemp</td> > and it shows just fine. But when I try to pull my max/min values the page > shows "N/A at N/A". I placed it in an if statement which allows it to run, > so I'm not sure why it won't show the appropriate information. My code is: > > #if $day($data_binding='well_binding').wellTemp.has_data > <tr> > <td class="stats_label"> > High Well Temperature<br/> > Low Well Temperature > </td> > <td class="stats_data"> > $day($data_binding='well_binding').wellTemp.max at > $day($data_binding='well_bindi$ > $day($data_binding='well_binding').wellTemp.min at > $day($data_binding='well_bindi$ > </td> > </tr> > #end if > > Thanks for any direction. > > -Jonathan > > -- > 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/5a263ab5-96d2-4c00-9b25-27a30a9efd5bn%40googlegroups.com > <https://groups.google.com/d/msgid/weewx-user/5a263ab5-96d2-4c00-9b25-27a30a9efd5bn%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/CAPq0zEBLiqRn%3DCW5Yg2jEsbdL5u9UgHc_m1gNw_-PTdwTM_trw%40mail.gmail.com.
