Newbie Here - Need help with display

186 views
Skip to first unread message

Clifford Snow

unread,
Aug 3, 2021, 4:57:44 PM8/3/21
to weewx-user
I have weewx working. I can see reports for all my devices except for the EcoWitt WH0290 air quality monitor. Plus I'm getting empty reports on devices I don't have such as wind speed, direction and rain measurements. 

First how do I remove the charts for devices I currently don't have. (At some point in the future when the budget allows, I'll be purchasing more devices.) 

Second, I have the EcoWitt WH0290 air quality device configured on my GW1000 device. However, I'm not seeing any graphs. How do I add those reports. The EcoWitt site does report air quality numbers so I know the device is working.

Thanks in advance and thanks to the developers for a fun project.
Clifford

vince

unread,
Aug 3, 2021, 6:03:01 PM8/3/21
to weewx-user
In general you want to look in the .tmpl template files for the skin(s) that you have enabled and simply comment out the block of code for each thing you do not have and it will take effect the next time the pages are generated (usually 5 minutes).   That'll make anything extra go away pretty quickly.

A quick glance at the code seems to say the WH0290 is not yet supported by the GW1000 driver but Gary will undoubtedly chime in and walk you through how to figure out what the driver can currently see.   It's possible it's a quick thing to add in hopefully.   You could try a quick test using the commands in item 5 in https://github.com/gjr80/weewx-gw1000 to see if the driver sees anything currently or not.

To add the air quality you'd need to map those measurements in your weewx.conf or skin.conf and 'add' something to the .tmpl template(s) you want them displayed on.

Clifford Snow

unread,
Aug 3, 2021, 6:56:35 PM8/3/21
to weewx-user
Vince - thanks for the suggestions. 

When I look at the .tmpl files and comment out the ones I don't want, nothing happens. I even ran wee_reports with the current epoch time with no change. I'm assuming that I need to comment out lines in index.html.tmpl under the enabled skin I'm using. 

The gw1000 driver is reporting air quality number for pm2_5 and pm2_51_24h_avg. 

Clifford

gjr80

unread,
Aug 3, 2021, 8:13:54 PM8/3/21
to weewx-user
I'm guessing the WH0290 is just a WH41 outdoor AQI sensor with its own display. If that's the case, and given a GW1000 is reporting AQI data to ecowitt.net, I'm also guessing the existing GW1000 driver will pick up the AQI data via the GW1000 without problem. Judging by the fact the GW1000 driver is providing data in pm2_5 I'm further guessing it is working fine. Simple check is to run the GW1000 driver directly and if all expected data is there nothing more needs to be done. If something is missing or wrong we can capture the raw GW1000 API output data and make changes as required.

The other side of the coin is displaying the data. You don't mention what skin you are using to display your data. If it is the WeeWX default Seasons skin you may find the Adapting the Seasons skin to display a new field and Adapting the Seasons skin to display GW1000 sensor battery states pages in the GW1000 driver wiki may be helpful. They may not cover exactly what you want to do but they should give you some pointers on what you can do/need to do to modify with the Seasons skin.

Gary

Greg Troxel

unread,
Aug 3, 2021, 8:27:24 PM8/3/21
to gjr80, weewx-user

gjr80 <gjrod...@gmail.com> writes:

> I'm guessing the WH0290 is just a WH41 outdoor AQI sensor with its own
> display. If that's the case, and given a GW1000 is reporting AQI data to

Yes, I am pretty sure that product code WH0290 includes the WH41 outdoor
sensor and a display, and that therefore from the GW1000 and weewx
viewpoint they are the same thing.

https://www.ecowitt.com/shop/goodsDetail/58
https://www.ecowitt.com/shop/goodsDetail/76

I am using rtl_433 to decode the signals from a WH41 (standalone).

(Ecowitt seems to do the same thing of sensor only vs sensor + display
bundle, quite reasonably, with the soil moisture sensor.)

There is a nuance in that the honeywell sensor seems to have some kind
of fake PM10 reading that gets sent in the RF signal. But it is really
a PM2.5 sensor only. Ecowitt said that they therefore only display the
PM2.5 reading. I found that there is a fixed relationship between the
PM2.5 readings and the faux PM10 readings. It sounds like the GW1000
does not emit the PM10 values, which is good.
signature.asc

steeple ian

unread,
Aug 3, 2021, 8:37:33 PM8/3/21
to weewx...@googlegroups.com
Yes the WH41 is just a WH0290 without a console. 

Certainly both Belchertown and Weather34 skins support WH41 with not too much effort but I would follow Gary’s suggestion and look at the default Seasons skin in the first instance.

Ian 

--
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/6128085f-d037-4a9f-92ce-202c3a7d92d1n%40googlegroups.com.

vince

unread,
Aug 3, 2021, 9:29:20 PM8/3/21
to weewx-user
On Tuesday, August 3, 2021 at 3:56:35 PM UTC-7 Clifford Snow wrote:
 I'm assuming that I need to comment out lines in index.html.tmpl under the enabled skin I'm using. 


Good assumption.
 
The gw1000 driver is reporting air quality number for pm2_5 and pm2_51_24h_avg. 

If it's reporting data that's 98% of the issues you need to work.  The rest is just tweaking the .tmpl file(s) for the skin(s) you are using.  If you want to add graphs you'll also need to add some info to skin.conf for those skin(s) too.

 

Rainer Lang

unread,
Aug 4, 2021, 6:41:02 PM8/4/21
to Clifford Snow, weewx-user
On 03.08.2021 22:57, Clifford Snow wrote:
Hi Clifford, see below inline

I have weewx working. I can see reports for all my devices except for the EcoWitt WH0290 air quality monitor. Plus I'm getting empty reports on devices I don't have such as wind speed, direction and rain measurements. 

First how do I remove the charts for devices I currently don't have. (At some point in the future when the budget allows, I'll be purchasing more devices.)
Assuming you are using the Seasons skin, the pictures are defined in skin.conf (where you can comment out the ones you don't want) and the display of the picture on the skin (WebUI) is defined in index.html.tmpl - here, too, you can comment out the lines for the display you don't want
(both files in the /etc/weewx/skins/Seasons directory - if you installed weewx with the setup.py method, the path will be different - see weewx documentation)


Second, I have the EcoWitt WH0290 air quality device configured on my GW1000 device. However, I'm not seeing any graphs. How do I add those reports. The EcoWitt site does report air quality numbers so I know the device is working.
The WH0290 cannot be configured in the GW1000. What can be configured is the WH41 or WH43 PM2.5 sensor.
(this may sound like splitting hairs, but the WH0290 is a minimalistic console and not a sensor).

The GW1000 should recognize the WH41/43 - and the weewx database field name is pm2_5

--------------------------------
in weewx.conf in the

[StdReport]
  [[Default]]
     [[[Labels]]] 
        [[[[Generic]]]]  # stanza you can give it a name e.g. PM2.5 indoor or PM2.5 outdoor
         ......   
         inTemp = Inside Temperature
         outHumidity = outside Humidity
         .....
         pm2_5 = PM2.5 indoor          

--------------------------------
in skin.conf you will have to add under

[ImageGenerator]
 [[day_image]]
......
 [[[daytempdew]]]
            [[[[outTemp]]]]
            [[[[dewpoint]]]]
......
  [[[daypm25]]]i
     yscale = None, None, 0.5
      [[[[pm2_5]]]]

you will also have to add entries for

[[week_image]]
....
      [[[weekpm25]]]
             yscale = None, None, 0.5
             [[[[pm2_5]]]]
     .....

[[month_image]]

[[year_image]]

-----------------------------

in index.html.tmpl you will have to add


........
            #if $day.inTemp.has_data
            <img src="daytempin.png"    alt="$obs.label.inTemp" />
            #end if
            #if $day.inHumidity.has_data
            <img src="dayhumin.png"    alt="$obs.label.inHumidity" />
            #end if
........

            #if $day.pm2_5.has_data or $day.pm1_0.has_data
            <img src="daypm25.png"      alt="$obs.label.pm2_5" />
            #end if



similarly for week, month and year

Good luck and have fun !


Thanks in advance and thanks to the developers for a fun project.
Clifford
--
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.

Clifford Snow

unread,
Aug 4, 2021, 10:09:21 PM8/4/21
to weewx-user
Thanks for the detailed tip. I was able to get the chart added and even figured out how to add the current pm2.5 readings to the page. 
Reply all
Reply to author
Forward
0 new messages