Hi Sean, The best way is to have w34skins one directory up in the skins directory not in the Standard skin directory like you have it. Need to also be aware of file permissions, meaning does the files and directory have write permissions that match the user running weewx. Thanks Jerry
On Monday, July 1, 2019 at 8:29:32 AM UTC-7, Sean Lane wrote: > > [image: skinfolder.png] > > IS this the right layout for the config > > > On Mon, Jul 1, 2019 at 11:58 AM Sean Lane <[email protected] <javascript:>> > wrote: > >> 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 <[email protected] <javascript:>> >> 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: >>>> >>>> please see below : >>>> >>>> >>>> ############################################################################### >>>> # W34SKIN SKIN CONFIGURATION FILE >>>> # >>>> # Copyright (c) 2018 Tom Keffer <[email protected]> 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 >>>> >>>> >>>> On Tue, Jun 25, 2019 at 7:26 PM steeple ian <[email protected]> wrote: >>>> >>>>> Can I see your w34skin skin.conf file please? >>>>> >>>>> On 25 Jun 2019, at 23:14, Sean Lane <[email protected]> wrote: >>>>> >>>>> i have a adjusted and no change.. >>>>> >>>>> >>>>> On Mon, Jun 24, 2019 at 6:56 PM steeple ian <[email protected]> >>>>> wrote: >>>>> >>>>>> 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 >>>>>> >>>>>> >>>>>> >>>>>> On 24 Jun 2019, at 22:40, Sean Lane <[email protected]> wrote: >>>>>> >>>>>> Please see attached >>>>>> >>>>>> On Mon, Jun 24, 2019 at 6:14 PM steeple ian <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> 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). >>>>>>> >>>>>>> >>>>>>> On 24 Jun 2019, at 20:10, steeple ian <[email protected]> wrote: >>>>>>> >>>>>>> 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. >>>>>>> >>>>>>> On Mon, Jun 24, 2019 at 8:07 PM Sean Lane <[email protected]> wrote: >>>>>>> >>>>>>>> is there a quick update method or flatten the folder and files ? >>>>>>>> >>>>>>>> On Mon, Jun 24, 2019 at 4:06 PM steeple ian <[email protected]> >>>>>>>> wrote: >>>>>>>> >>>>>>>>> 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 <[email protected]> >>>>>>>>> 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 [email protected]. >>>>>>>>>> To view this discussion on the web visit >>>>>>>>>> https://groups.google.com/d/msgid/weewx-user/7162616d-5b57-4e06-8f43-a74c174ac4e8%40googlegroups.com >>>>>>>>>> >>>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/7162616d-5b57-4e06-8f43-a74c174ac4e8%40googlegroups.com?utm_medium=email&utm_source=footer> >>>>>>>>>> . >>>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> 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/CADASSaR3SbQOKurkHzNsYPQ-4FPe75RtcqyQ%2BAWL%2Bp63VOEjDg%40mail.gmail.com >>>>>>>>> >>>>>>>>> <https://groups.google.com/d/msgid/weewx-user/CADASSaR3SbQOKurkHzNsYPQ-4FPe75RtcqyQ%2BAWL%2Bp63VOEjDg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>>> . >>>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> 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/CAGP%2B8WMgS_RgJMDPNEMjXKnCbCwCJD%2BNBDu2dw3qgxgAFaoMSA%40mail.gmail.com >>>>>>>> >>>>>>>> <https://groups.google.com/d/msgid/weewx-user/CAGP%2B8WMgS_RgJMDPNEMjXKnCbCwCJD%2BNBDu2dw3qgxgAFaoMSA%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>>>> . >>>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> 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/A7CB1776-7B97-4B27-B2C1-0213B564CBE9%40gmail.com >>>>>>> >>>>>>> <https://groups.google.com/d/msgid/weewx-user/A7CB1776-7B97-4B27-B2C1-0213B564CBE9%40gmail.com?utm_medium=email&utm_source=footer> >>>>>>> . >>>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>>> >>>>>> >>>>>> -- >>>>>> 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/CAGP%2B8WPU6zhVDVP_1A4nxW51zrJY79Ofkr6B5e7PTkamu3UJkg%40mail.gmail.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/CAGP%2B8WPU6zhVDVP_1A4nxW51zrJY79Ofkr6B5e7PTkamu3UJkg%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> <weewx.conf> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> 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/D67BC0DD-187E-4A5A-B932-57D2BF3322BD%40gmail.com >>>>>> >>>>>> <https://groups.google.com/d/msgid/weewx-user/D67BC0DD-187E-4A5A-B932-57D2BF3322BD%40gmail.com?utm_medium=email&utm_source=footer> >>>>>> . >>>>>> For more options, visit https://groups.google.com/d/optout. >>>>>> >>>>> >>>>> -- >>>>> 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/CAGP%2B8WNw%2BDwS4LsmzHzm0zPf7yXQFbZaWNCr5P1%2BdwzgG9vX3Q%40mail.gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/CAGP%2B8WNw%2BDwS4LsmzHzm0zPf7yXQFbZaWNCr5P1%2BdwzgG9vX3Q%40mail.gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>>> >>>>> -- >>>>> 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/7A5CB3C1-7AF5-4BF4-ABAD-C7558380ABC0%40gmail.com >>>>> >>>>> <https://groups.google.com/d/msgid/weewx-user/7A5CB3C1-7AF5-4BF4-ABAD-C7558380ABC0%40gmail.com?utm_medium=email&utm_source=footer> >>>>> . >>>>> For more options, visit https://groups.google.com/d/optout. >>>>> >>>> -- >>> 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] <javascript:>. >>> To view this discussion on the web visit >>> https://groups.google.com/d/msgid/weewx-user/2f831b1b-e220-4d73-883d-f90aa9330cca%40googlegroups.com >>> >>> <https://groups.google.com/d/msgid/weewx-user/2f831b1b-e220-4d73-883d-f90aa9330cca%40googlegroups.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- 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/9c5304fc-86db-4d87-8496-06a3ae3fe755%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
