w34 skin issues

199 views
Skip to first unread message

Sean Lane

unread,
Jun 24, 2019, 2:15:14 PM6/24/19
to weewx-user
I have having issues with the stats / archive of data. As you can see by my page https://weather.thelanes.ca/ there is data missing.

Anyone?
Message has been deleted

Sean Lane

unread,
Jun 24, 2019, 2:45:26 PM6/24/19
to weewx...@googlegroups.com
No the file structure is there but the last update was may...


On 6/24/19, J D <balloon...@gmail.com> wrote:
> HI Sean,
> There is a 404 for your data
> /wxcharts/wxchartdata/24062019.csv?_=1561401356109:1 Failed to load
> resource: the server responded with a status of 404 (Not Found)
>
> Did you change your directory structure?
> Thanks Jerry
> --
> 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/78865933-59d5-44fc-9958-78054f24d7d4%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
Message has been deleted

Sean Lane

unread,
Jun 24, 2019, 3:05:11 PM6/24/19
to weewx...@googlegroups.com
Hi Jerry,

drwxrwxr-x  3 www-data pi      4096 May 14 21:52 wxcharts

drwxrwxr-x 2 www-data pi   4096 May 14 21:52 wxchartdata





On Mon, Jun 24, 2019 at 3:58 PM J D <balloon...@gmail.com> wrote:
Hi Sean,
So now you have to start looking at weewx conf file, your skin conf file and the syslog for answers. This assumes you have not changed anything to cause it. Is it possible your charts have been not working since may? If the directory is there is the file there and what permissions does it have and  what is the owner and group?
Thanks Jerry


On Monday, June 24, 2019 at 11:45:26 AM UTC-7, Sean Lane wrote:
No the file structure is there but the last update was may...


On 6/24/19, J D <balloon...@gmail.com> wrote:
> HI Sean,
> There is a 404 for your data
>  /wxcharts/wxchartdata/24062019.csv?_=1561401356109:1 Failed to load
> resource: the server responded with a status of 404 (Not Found)
>
> Did you change your directory structure?
> Thanks Jerry
>
> On Monday, June 24, 2019 at 11:15:14 AM UTC-7, Sean Lane wrote:
>>
>> I have having issues with the stats / archive of data. As you can see by
>> my page https://weather.thelanes.ca/ there is data missing.
>>
>> Anyone?
>>
>
> --
> 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

--
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,
Jun 24, 2019, 3:06:15 PM6/24/19
to weewx...@googlegroups.com
Sean,

You are using an older version of the template. If possible, I suggest that you update from the GitHub. There are several enhancements which will help you.



On Mon, Jun 24, 2019 at 7:15 PM Sean Lane <sdla...@gmail.com> wrote:
I have having issues with the stats / archive of data. As you can see by my page https://weather.thelanes.ca/ there is data missing.

Anyone?

--
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.

Sean Lane

unread,
Jun 24, 2019, 3:07:30 PM6/24/19
to weewx...@googlegroups.com
is there a quick update method or flatten the folder and files ?

steeple ian

unread,
Jun 24, 2019, 3:10:31 PM6/24/19
to weewx...@googlegroups.com
quickest way is to rename you existing folder. Do a full install (note new expanded instructions) then copy across any settings or archive data that you wish to keep. Remember it is important to set your permissions as per the install instructions.

steeple ian

unread,
Jun 24, 2019, 5:14:20 PM6/24/19
to weewx...@googlegroups.com
Ok I see you have installed the latest version. You are still not generating the .csv files for the charts or the w34stats.php for the live data variables. Can you post the contents of your weewx.conf file please (make sure that you remove any passwords or sensitive information first).

Sean Lane

unread,
Jun 24, 2019, 5:40:30 PM6/24/19
to weewx...@googlegroups.com
Please see attached 

weewx.conf

steeple ian

unread,
Jun 24, 2019, 5:56:20 PM6/24/19
to weewx...@googlegroups.com
Sean,

Make sure you have your paths set correctly in your w34skin skin.conf file.

Looking at your weewx.conf file it appears you have missed this section in the installation guide: -

To enable WeeWX to communicate with the weather34 dashboard template, you must install the CRT plugin, (stands for Cumulus Real Time). Please follow the detailed instructions at https://github.com/weewx/weewx/wiki/crt. After installation edit the weewx-conf file. Go to the [CumulusRealTime] which will likely be near the end of the script. Change this section to reflect the following: -

  [CumulusRealTime]
  		filename = /var/www/html/weewx/realtime.txt
  		unit_system = METRIC

If your path to your web root is different, please amend the path in front of 'weewx/realtime.txt' accordingly.

VERY IMPORTANT. It is crucial that the '[CumulusRealTime]' unit_system is set to METRIC as in the snippet above. If US or METRICWX setting is used, the resulting display will be un-predictable and even nonsensical!

Finally go to the '[StdReport]' section and add this: -

  [[w34skinReport]]
  		# The w34skinReport uses the 'w34skin' skin, which contains the
  		# templates for the WX-HWS charts.
  		skin = w34skin
  		enable = true
  		
  		[[[Units]]]
      			# The following section sets the units for w34skin.
      			# IMPORTANT do not change in any circumstance.
      				
  			[[[[Groups]]]]
          				group_altitude = meter    
          				group_degree_day = degree_C_day   
          				group_pressure = hPa    
          				group_rain = mm   
          				group_rainrate = mm_per_hour    
          				group_speed = km_per_hour     
          				group_speed2 = km_per_hour2     
          				group_temperature = degree_C    
          				mbar = "mb"
          				hPa = "hPa"
          				inHg = "in"
          				mm_per_hour = "mm"
          				cm_per_hour = "cm"
          				inch_per_hour = "in"
         	 			km_per_hour = "km/h"
          				knot = "kts"
          				meter_per_second ="m/s"
          				mile_per_hour ="mph"

Once completed, make sure you save weewx.conf


 


For more options, visit https://groups.google.com/d/optout.
<weewx.conf>

Torben Rasmussen

unread,
Jun 24, 2019, 5:56:32 PM6/24/19
to weewx...@googlegroups.com

For more options, visit https://groups.google.com/d/optout.
--
Mvh
Torben Rasmussen
Egeskovvej 5
5750 Ringe

Sean Lane

unread,
Jun 25, 2019, 6:14:33 PM6/25/19
to weewx...@googlegroups.com
i have a adjusted and no change.. 


steeple ian

unread,
Jun 25, 2019, 6:26:26 PM6/25/19
to weewx...@googlegroups.com
Can I see your w34skin skin.conf file please?

Sean Lane

unread,
Jun 30, 2019, 10:51:39 AM6/30/19
to weewx...@googlegroups.com
please see below :

###############################################################################
# W34SKIN SKIN CONFIGURATION FILE                                             #
# Copyright (c) 2018 Tom Keffer <tke...@gmail.com> and Matthew Wall          #
# See the file LICENSE.txt for your rights.                                   #
###############################################################################

skin_semantics = 2

###############################################################################

[Defaults]
       
        [[Units]]
           
            # The following section sets what unit to use for each unit group.
            # NB: The unit is always in the singular. I.e., 'mile_per_hour',
            # NOT 'miles_per_hour'
            [[[Groups]]]
               
                group_altitude = meter    # Options are 'foot' or 'meter'
                group_degree_day = degree_C_day    # Options are 'degree_F_day' or 'degree_C_day'
                group_pressure = hPa    # Options are 'inHg', 'mmHg', 'mbar', or 'hPa'
                group_rain = mm    # Options are 'inch', 'cm', or 'mm'
                group_rainrate = mm_per_hour    # Options are 'inch_per_hour', 'cm_per_hour', or 'mm_per_hour'
                group_speed = km_per_hour    # Options are 'mile_per_hour', 'km_per_hour', 'knot', or 'meter_per_second'
                group_speed2 = km_per_hour2    # Options are 'mile_per_hour2', 'km_per_hour2', 'knot2', or 'meter_per_second2'
                group_temperature = degree_C    # Options are 'degree_F' or 'degree_C'

                mbar = "mb"
                hPa = "hPa"
                inHg = "in"
                mm_per_hour = "mm"
                cm_per_hour = "cm"
                inch_per_hour = "in"
                km_per_hour = "km/h"
                knot = "kts"
                meter_per_second ="m/s"
                mile_per_hour ="mph"



[[Labels]]
               
                day = " day", " days"
                hour = " hour", " hours"
                minute = " minute", " minutes"
                second = " second", " seconds"
                NONE = ""

    # Override some labels. No need to identify these as a "Battery"
    # or "Voltage", because that is included in the template.
    [[Generic]]
        txBatteryStatus      = Transmitter
        windBatteryStatus    = Wind
        rainBatteryStatus    = Rain
        outTempBatteryStatus = Outside Temperature
        inTempBatteryStatus  = Inside Temperature
        consBatteryVoltage   = Console
        heatingVoltage       = Heating
        supplyVoltage        = Supply
        referenceVoltage     = Reference

        # Some specialized labels
        rain_today           = Rain Today
        wind                 = Wind


###############################################################################

# The CheetahGenerator creates files from templates.  This section
# specifies which files will be generated from which template.

[CheetahGenerator]

# Possible encodings are 'html_entities', 'utf8', or 'strict_ascii'
    encoding = html_entities
    search_list_extensions = user.stats.MyStats, user.lastrain.lastRainTags

           
    [[WXCHARTDATA]]
   
               
    # Charts that plot "by day"
           [[[DAILYCHARTS]]]
                encoding = strict_ascii
                template = result.csv.tmpl
                HTML_ROOT = /var/www/html/mbcharts            

    # Charts that plot "by month"
            [[[MONTHLYCHARTS]]]
                encoding = strict_ascii
                template = MMYYYY.csv.tmpl
                HTML_ROOT = /var/www/html/mbcharts/chartdata
               
             

    # Charts that plot "by year"
            [[[YEARLYCHARTS]]]
                encoding = strict_ascii
                template = YYYY.csv.tmpl
                HTML_ROOT = /var/www/html/mbcharts/chartdata
               
   
    [[WXSTATS]]
   
    # Generates data for various W34 Statistics
            [[[W34STATS]]]
                 encoding = strict_ascii
                 template = w34stats.php.tmpl
                 HTML_ROOT = /var/www/html
                 
               
###############################################################################

# The CopyGenerator copies files from one location to another.

[CopyGenerator]

    # List of files to be copied only the first time the generator runs
    copy_once = seasons.css, seasons.js, favicon.ico, font/*.woff, font/*.woff2

    # List of files to be copied each time the generator runs
    # copy_always =
   

###############################################################################

[Generators]
        # The list of generators that are to be run:
        generator_list = weewx.cheetahgenerator.CheetahGenerator, weewx.reportengine.CopyGenerator
        

Message has been deleted

Sean Lane

unread,
Jul 1, 2019, 10:59:04 AM7/1/19
to weewx...@googlegroups.com
Hey Thanks for the response.. The folder structure exists however i dont see the result.csv.. i am tinkering at it today so i hope to resolve it. 

On Mon, Jul 1, 2019 at 1:04 AM J D <balloon...@gmail.com> wrote:
Hi Sean,

Does the following directory exists
 template = result.csv.tmpl
                HTML_ROOT = /var/www/html/mbcharts 

The charts are not working because the report generator cannot find the result.csv file.
Usually the paths look like this

          [[[DAILYCHARTS]]]
                encoding = strict_ascii
                template = result.csv.tmpl
                HTML_ROOT = /var/www/html/pws/mbcharts

    # Charts that plot "by month"
            [[[MONTHLYCHARTS]]]
                encoding = strict_ascii
                template = MMYYYY.csv.tmpl
                HTML_ROOT = /var/www/html/pws/mbcharts/chartdata

    # Charts that plot "by year"
            [[[YEARLYCHARTS]]]
                encoding = strict_ascii
                template = YYYY.csv.tmpl
                HTML_ROOT = /var/www/html/pws/mbcharts/chartdata

Thanks Jerry

7, Sean Lane wrote:
Sean,

Please see attached 

To unsubscribe from this group and stop receiving emails from it, send an email to weewx...@googlegroups.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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...@googlegroups.com.

--
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.

Sean Lane

unread,
Jul 1, 2019, 11:29:32 AM7/1/19
to weewx...@googlegroups.com
skinfolder.png

IS this the right layout for the config 

Message has been deleted

Sean Lane

unread,
Jul 1, 2019, 11:46:53 AM7/1/19
to weewx...@googlegroups.com
No , I dont even see those folders... hmmm weird

On Mon, Jun 24, 2019 at 3:38 PM J D <balloon...@gmail.com> wrote:
HI Sean,
There is a 404 for your data
 /wxcharts/wxchartdata/24062019.csv?_=1561401356109:1 Failed to load resource: the server responded with a status of 404 (Not Found)

Did you change your directory structure?
Thanks Jerry

On Monday, June 24, 2019 at 11:15:14 AM UTC-7, Sean Lane wrote:
I have having issues with the stats / archive of data. As you can see by my page https://weather.thelanes.ca/ there is data missing.

Anyone?

--
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.

Sean Lane

unread,
Jul 1, 2019, 12:00:03 PM7/1/19
to weewx...@googlegroups.com
Where is the USER folder? I installed via sudo apt-get install weewx 

I need to move those 2 files as indicated but I dont know where to put them. 

gjr80

unread,
Jul 1, 2019, 1:26:49 PM7/1/19
to weewx-user
Where things are depends on your WeeWX install type. Have a look at http://weewx.com/docs/usersguide.htm#Where_to_find_things. Since you installed via a package you should look at the ‘Debian’ tab.

Gary
Reply all
Reply to author
Forward
0 new messages