Weather34 UV Index displays UV Solar Radiation

70 views
Skip to first unread message

Simon Davies

unread,
May 29, 2020, 8:04:10 AM5/29/20
to weewx-user
Weather34 is displaying the Solar radiation reading instead of the UV index.  Any idea how to correct this?

I've installed this version a few weeks ago and its been a problem since then. WX-HC20-IHVN-1.0.0 WeeWX-(4.0.0) Ambient Weather WS-1000 http://cawston.weather-station.co.uk/

w34realtime.txt : 29/05/20 12:12:34 22.0 33 5.0 0.5 0.2 77 0.0 0.0 1015.5 ENE 0 m/s C mb mm 9.3 -0.7 0.0 109.2 0.0 25.3 23 22.0 3.8 22.0 12:11 11.0 05:35 2.0 11:21 4.4 09:49 1017.9 00:10 1015.2 11:36 4.0.0 0 3.3 22.0 NULL 3054.0 NULL 630 188 0.0 0 1 0 S NULL m NULL 7.4 NULL 0

44th value is 3054.0 and is displayed as the UVI.

I don't have a definition for the w34realtime.txt,  https://cumuluswiki.org/a/Realtime.txt has the definition for "realtime.txt",  i'm unsure is this is the same.  

If the definition is correct then it looks like my solar radiation is in the wrong place.  Any idea how to fix.

weewx config:

[Weather34RealTime]
    binding = loop
    exclude_fields = rain
    filename = /var/www/html/weewx/weather34/w34realtime.txt
    unit_system = METRICWX
    "# cache_enable" = False
    cache_stale_time = 900
    cache_directory = /tmp


steeple ian

unread,
May 29, 2020, 8:40:41 AM5/29/20
to weewx...@googlegroups.com
Hi Simon,
I have never seen that happen before. Below is my w34realtime.txt file content a few minutes ago. Stop WeeWX and do a quick cut and paste into your own file and see what happens. It should indicate where the problem is.

29/05/20 13:34:53 22.5 28 3.1 1.3 1.3 325 0.0 0.0 1020.3 NW 1 m/s C mb mm 25.7 -2.0 1.0 1.0 0.0 22.4 38 22.5 3.7 22.2 13:30 4.6 05:05 2.2 12:55 5.6 12:15 1024.5 00:05 1020.6 13:30 4.1.0 0 5.1 22.5 22.5 7.0 0.1 768 268 0.0 0 1 0 W 2504 m 20.1 8.7 882.8 NULL NULL NULL NULL NULL

Thanks,
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/da42a7a6-caeb-4d5f-a452-025ee9222afc%40googlegroups.com.

Simon Davies

unread,
May 29, 2020, 11:27:50 AM5/29/20
to weewx-user
using your data it works perfectly.  I don't know why I have a different file layout.
position 39 is cumulus version,  which is 4.0.0 in mine and 4.1.0 in yours,  do you know if there are any changes to the layout.
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.
Message has been deleted

Simon Davies

unread,
May 29, 2020, 11:55:30 AM5/29/20
to weewx-user
LOOP data looks fine

LOOP:   2020-05-29 16:50:59 BST (1590767459) altimeter: 29.9018046207, barometer: 29.8979821835, dateTime: 1590767459, dewpoint: 46.58, heatindex: 76.1, inDewpoint: 42.3766863757, inHumidity: 33.0, inTemp: 73.22, outHumidity: 35.0, outTemp: 76.1, pressure: 29.8636763587, radiation: 613.9626, rain: 0.0, rainRate: 0.0, usUnits: 1, UV: 753.0, windchill: 76.1, windDir: 143.0, windGust: 4.92127207427, windSpeed: 2.68433022233



On Friday, May 29, 2020 at 4:38:54 PM UTC+1, J D wrote:
Hi,
The layout looks fine. The issue is the loop data.  The UV field in the realtime data is just a copy of the "UV" field in the loop data. I would stop weewx and then run weewx at the command line and look at the loop data output.
Message has been deleted

steeple ian

unread,
May 29, 2020, 2:30:59 PM5/29/20
to weewx...@googlegroups.com
Simon,
Are you using the HP1000 driver by any chance with Python3?

On Fri, 29 May 2020 at 17:21, J D <balloon...@gmail.com> wrote:
Hi,
Are you sure UV in the loop is correct? 

Using Ian data's for UV was a 7.0 and you stated that was working correctly.  

Your last post has UV 753.0 That does not look correct.
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/a83f9bcb-ed69-4e81-8168-d1514fbf422c%40googlegroups.com.

Simon Davies

unread,
May 29, 2020, 2:51:09 PM5/29/20
to weewx-user
Interceptor driver,  but with python2.7

[Interceptor]
    # This section is for the network traffic interceptor driver.
    
    # The driver to use:
    driver = user.interceptor

python --version
Python 2.7.13

Simon Davies

unread,
May 29, 2020, 2:52:47 PM5/29/20
to weewx-user
The UV is correct,  however the problem is that the UVI  (UV Index) should be displayed,  7.0 would be a accurate value for the weather during the day today.


On Friday, May 29, 2020 at 5:21:42 PM UTC+1, J D wrote:
Hi,
Are you sure UV in the loop is correct? 

Using Ian data's for UV was a 7.0 and you stated that was working correctly.  

Your last post has UV 753.0 That does not look correct.

Message has been deleted
Message has been deleted

steeple ian

unread,
May 30, 2020, 3:58:08 AM5/30/20
to weewx...@googlegroups.com
Simon,
You are correct in your original assumption that w34realtime.txt is based on the Cumulus realtime.txt specification. It has had few additional values added but nothing to do with UV measurements.

According to the Cumulus specification position 44 should be UVI but the value you have there is clearly not. I used to have a similar device to you which is a clone of Fine Offset, from memory it did not actually measure UV directly but was a derived value. I always used to use the HP1000 driver from Aussie Susan and cannot recall having any issues with that.

One quick check you could make which would eliminate any issue caused by weather34.py is to disable weather34.py and install the crt.py and check the realtime.txt out put from that. If you still have the same issue, I would look at the driver you are using.

Ian

On Fri, 29 May 2020 at 13:04, 'Simon Davies' via weewx-user <weewx...@googlegroups.com> wrote:
--
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.

steeple ian

unread,
May 30, 2020, 4:36:43 AM5/30/20
to weewx...@googlegroups.com
Simon
If you set debug = 1 in weewx.conf
restart and then run sudo tail -f /var/log/syslog from the command line you should be able to see the loop data coming from your weather station in real time.

Simon Davies

unread,
May 30, 2020, 7:22:09 AM5/30/20
to weewx-user
here are the reading from realtime.txt

30/05/20 12:13:14 22.5 45 10.0 0.7 0.8 148 0.0 0.0 1010.7 SSE 1 m/s C mb mm 8.7 -0.8 0.0 109.2 0.0 24.7 35 22.5 5.1 22.5 12:12 9.7 05:06 2.5 11:15 3.3 02:21 1012.4 00:02 1010.7 12:12 4.0.0 0 3.3 22.5 NULL 2966 NULL 627 110 0.0 0 1 0 ESE NULL m NULL 7.4 NULL 0

they are much the same as my w34realtime.txt.  so maybe it is the driver.

could you send the link to the driver you are using (HP1000 driver from Aussie Susan)

Also do you know if there is a simple enable/disable for crt & weather34?  otherwise how should I uninstall them properly?

e.g.
[CumulusRealTime]
enable = false

[Weather34RealTime]
enable = true
To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

steeple ian

unread,
May 30, 2020, 8:29:22 AM5/30/20
to weewx...@googlegroups.com
Hi Simon,

Can you check one more thing please as your WeeWX page is not visible to me. What does the UV reading show there. If it is a correct UV Index, I can provide a simple fix.

Ian

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/eb4a187a-e897-405f-9eb0-2a81ccf48536%40googlegroups.com.

steeple ian

unread,
May 30, 2020, 8:34:03 AM5/30/20
to weewx...@googlegroups.com
to remove weewx-crt (you will still need the weather34 service so dont delete that)

sudo ,/wee_extension --uninstall crt

(you may have to insert the correct paths depending on your setup)

Simon Davies

unread,
May 30, 2020, 9:22:10 AM5/30/20
to weewx-user


by weewx-page I assume this is what you mean (see screenshot)

The UV Index is the same as the weather34 display



steeple ian

unread,
May 30, 2020, 10:14:26 AM5/30/20
to weewx...@googlegroups.com
Thanks Simon, 
that is what I meant. 
Out of interest how old is your weather station? I just wonder whether there has been a change in firmware. I suspect you will get the same results with the driver I suggested. Also I suspect that driver has not yet been ported to WeeWX 4. When did you update to WeeWX 4. Was it the same time you updated Weather34?

If the issue started when you upgraded WeeWX it will worth your while posting this as as a separate issue - something like ‘when I upgraded to WeeWX I noticed that my UVI figure went crazy’ or words to that effect.
Ian

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/2fbfe2c3-35e5-4882-a47c-bb6c7c5bbc7e%40googlegroups.com.

Simon Davies

unread,
May 30, 2020, 11:15:10 AM5/30/20
to weewx-user
my station is about 3 years old,  looking back over some old data I have had this problem (or something similar) for over 12 months,  I only noticed it when upgrading to v4 for weewx & weather34,  which I did at the same time.

steeple ian

unread,
May 30, 2020, 11:36:40 AM5/30/20
to weewx...@googlegroups.com
Ok it will be worth your while posting a request as I suggested so some of the real WeeWX experts can have a look. Its probable a simple fix but I don't know what it is.

Ian 

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/999e509e-f0f5-4b9f-bf75-741da909f6b7%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages