Belchertown UV adn Solar Radiation

212 views
Skip to first unread message

Michael Serowik

unread,
Jan 31, 2025, 2:05:18 PM1/31/25
to weewx-user
I am trying to add my UV/Solar information to my website.  I followed https://github.com/poblabs/weewx-belchertown/wiki/Belchertown-Charts-Documentation  which I believe I correctly.  I ran a weectl reprot run but the graph is not showing up.

homepage]
    # Chart Timespan Defaults
    title = "Homepage"
    show_button = true
    button_text = "Homepage"
    time_length = today
    tooltip_date_format = "LLL"
    gapsize = 600 # This should be your archive_interval from weewx.conf

    [[chart1]]
        title = Temperature
        [[[outTemp]]]
            zIndex = 1
#            name = Temperature
        [[[windchill]]]
        [[[heatindex]]]
            color = "#f7a35c"
        [[[dewpoint]]]
            color = purple
   
    [[chart2]]
        # The combined Wind Chart works best in this configuration
        title = Wind Speed and Direction
        yAxis_min = 0
        [[[windDir]]]
            zIndex = 1
            yAxis = 1
            yAxis_max = 360
            lineWidth = 0
            [[[[marker]]]]
                enabled = true
            [[[[states]]]]
                [[[[[hover]]]]]
                        lineWidthPlus = 0
        [[[windGust]]]
        [[[windSpeed]]]
            zIndex = 2
   
    [[chart3]]
        title = Rain
        [[[rainRate]]]
            yAxis = 1
        [[[rainTotal]]]
#            name = Rain Total
   
    [[chart4]]
        title = Barometer
        type = spline
        [[[barometer]]]
            color = "#BECC00"
            yAxis_tickinterval = 0.01


[[solarRadGraph]]
    title = Solar Radiation and  UV Index
    [[[radiation]]]
       name = Solar Radiation
       zIndex = 1
       color = "#ffc83f"
    [[[maxSolarRad]]]
        name = Theoretical Max Solar Radiation
        type = area
        color = "#f7f2b4"
        yAxis_label = "W/m2"
    [[[UV]]]
        yAxis = 1
        yAxis_min = 0
        yAxis_max = 14
        color = "#90ed7d"
        yAxis_label = "UV"
        name = UV Index
        zIndex = 2


          Almost positive I missed a step but I am just not sure which one i missed.  Any care to point me to the correct step I may have missed?

thanks 
Mike
 

jterr...@gmail.com

unread,
Feb 1, 2025, 2:22:00 AM2/1/25
to weewx-user

Michael Serowik

unread,
Feb 1, 2025, 10:26:03 AM2/1/25
to weewx-user
weewx@wyse-weewx:~$ ls -ld /etc/weewx/skins/Belchertown/graphs.conf
-rw-r--r-- 1 weewx weewx 10038 Jan 31 13:35 /etc/weewx/skins/Belchertown/graphs.conf


I have attached the graphs.conf also.
graphs.conf

Jacques Terrettaz

unread,
Feb 1, 2025, 12:47:57 PM2/1/25
to weewx...@googlegroups.com
I added your [[solarRadGraph]]  stanza in my graph.conf, and  the chart is generated and shown :

GraphiqueCollé-1.png

Do you have any errors in weewx's log ?




-- 
You received this message because you are subscribed to a topic in the Google Groups "weewx-user" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/weewx-user/5Z9Loj46fiI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to weewx-user+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/weewx-user/b401f338-eb28-43d2-b87a-f2709a7893ffn%40googlegroups.com.
<graphs.conf>

Michael Serowik

unread,
Feb 1, 2025, 3:22:14 PM2/1/25
to weewx-user

Feb 01 15:20:16 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: Getting archive packets since 2025-02-01 15:10:00 EST (1738440600)
Feb 01 15:20:16 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: Retrieving 1 page(s); starting index= 3
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.manager: Added record 2025-02-01 15:20:00 EST (1738441200) to database 'weewx.sdb'
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.manager: Added record 2025-02-01 15:20:00 EST (1738441200) to daily summary in 'weewx.sdb'
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: DMPAFT complete: page timestamp 2025-01-14 20:50:00 EST (1736905800) less than final timestamp 2025-02-01 15:20:00 EST (1738441200)
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: Catch up complete.
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.restx: MQTT: Published record 2025-02-01 15:20:00 EST (1738441200)
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Running reports for latest time in the database.
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Running report 'SeasonsReport'
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: Requesting 200 LOOP packets.
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Seasons/skin.conf for report 'SeasonsReport'
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Unable to set locale 'en': unsupported locale setting. Using default.
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Running generators for report 'SeasonsReport' in directory '/etc/weewx/skins/Seasons' with locale 'en_US.UTF-8'
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.cheetahgenerator: Using search list ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.manager: Daily summary version is 4.0
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.restx: CWOP: Connected to server cwop.aprs.net:14580
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.restx: PWSWeather: Published record 2025-02-01 15:20:00 EST (1738441200)
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.restx: CWOP: Published record 2025-02-01 15:20:00 EST (1738441200)
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.restx: Wunderground-PWS: Published record 2025-02-01 15:20:00 EST (1738441200)
Feb 01 15:20:17 wyse-weewx weewxd[6230]: DEBUG weewx.drivers.vantage: Successfully woke up Vantage console
Feb 01 15:20:17 wyse-weewx weewxd[6230]: INFO weewx.restx: MQTT: Published record 2025-02-01 15:20:18 EST (1738441218)
Feb 01 15:20:18 wyse-weewx weewxd[6230]: INFO weewx.restx: AWEKAS: Published record 2025-02-01 15:20:00 EST (1738441200)
Feb 01 15:20:18 wyse-weewx weewxd[6230]: INFO weewx.restx: MQTT: Published record 2025-02-01 15:20:18 EST (1738441218)
Feb 01 15:20:19 wyse-weewx weewxd[6230]: INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 2.20 seconds
Feb 01 15:20:19 wyse-weewx weewxd[6230]: DEBUG weewx.manager: Daily summary version is 4.0
Feb 01 15:20:20 wyse-weewx weewxd[6230]: INFO weewx.restx: MQTT: Published record 2025-02-01 15:20:20 EST (1738441220)
Feb 01 15:20:20 wyse-weewx weewxd[6230]: INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.98 seconds
Feb 01 15:20:20 wyse-weewx weewxd[6230]: INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Report 'SmartphoneReport' not enabled. Skipping.
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Report 'MobileReport' not enabled. Skipping.
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Report 'StandardReport' not enabled. Skipping.
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Running report 'Belchertown'
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Found configuration file /etc/weewx/skins/Belchertown/skin.conf for report 'Belchertown'
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Cannot read localization file /etc/weewx/skins/Belchertown/lang/en.conf for report 'Belchertown': Config file not found: "/etc/weewx/skins/Belchertown/lang/en.conf".
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: **** Using defaults instead.
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Unable to set locale 'en': unsupported locale setting. Using default.
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Running generators for report 'Belchertown' in directory '/etc/weewx/skins/Belchertown' with locale 'en_US.UTF-8'
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.cheetahgenerator: Using search list ['user.belchertown.getData', 'weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.DisplayOptions', 'weewx.cheetahgenerator.Extras', 'weewx.cheetahgenerator.Gettext', 'weewx.cheetahgenerator.JSONHelpers', 'weewx.cheetahgenerator.PlotInfo', 'weewx.cheetahgenerator.SkinInfo', 'weewx.cheetahgenerator.Station', 'weewx.cheetahgenerator.Stats', 'weewx.cheetahgenerator.UnitInfo']
Feb 01 15:20:20 wyse-weewx weewxd[6230]: DEBUG weewx.manager: Daily summary version is 4.0
Feb 01 15:20:22 wyse-weewx weewxd[6230]: INFO weewx.cheetahgenerator: Generated 12 files for report Belchertown in 1.77 seconds
Feb 01 15:20:22 wyse-weewx weewxd[6230]: INFO weewx.reportengine: Copied 3 files to /var/www/html/weewx/belchertown
Feb 01 15:20:22 wyse-weewx weewxd[6230]: DEBUG weewx.manager: Daily summary version is 4.0
Feb 01 15:20:22 wyse-weewx weewxd[6230]: INFO weewx.restx: MQTT: Published record 2025-02-01 15:20:22 EST (1738441222)
Feb 01 15:20:23 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Report 'FTP' not enabled. Skipping.
Feb 01 15:20:23 wyse-weewx weewxd[6230]: DEBUG weewx.reportengine: Report 'RSYNC' not enabled. Skipping.
Feb 01 15:20:24 wyse-weewx weewxd[6230]: INFO weewx.restx: MQTT: Published record 2025-02-01 15:20:24 EST (1738441224)

Michael Serowik

unread,
Feb 1, 2025, 3:39:57 PM2/1/25
to weewx-user
Just to level set the setup

Belechertown package installed 
/etc/weewx/skins/Belchertown

Belechertown webpages install 
/var/www/html/weewx/belchertown

Michael Serowik

unread,
Feb 1, 2025, 7:19:48 PM2/1/25
to weewx-user
attached are my weeex and graphs config files
I remove passwords from the weeex file.
thanks
weewxnp.conf
graphs.conf

vince

unread,
Feb 1, 2025, 8:03:39 PM2/1/25
to weewx-user
Michael, did you restart weewx after editing Belchertown settings? If not, try doing so. Belchertown is a little unusual in that it seems to require weewx restarts if you change things.

Michael Serowik

unread,
Feb 2, 2025, 5:54:28 AM2/2/25
to weewx...@googlegroups.com
I have restarted Webex, mosquito and Apache also rebooted device many times


Also ran

Weectl report run


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 visit https://groups.google.com/d/msgid/weewx-user/992c682d-4f76-4cbb-bdad-017463d6c71en%40googlegroups.com.

Michael Serowik

unread,
Feb 2, 2025, 5:35:30 PM2/2/25
to weewx-user
here is my weewx debug and graphs.conf   
graphs.conf
weewx.debug.log
Reply all
Reply to author
Forward
0 new messages