[weewx-user] Strange entries in database

2020-03-31 Thread Maginos
Hi guys,

I have a question on some strange entries in the weewx database concerning 
the date of the entry. I have set polling_interval = 1800 and polling_mode 
= ADAPTIVE, so weewx asks the base every 48 s for a new entry and every 30 
minutes, the base gets new data. So I expect entries at XX:00 and at XX:30. 
When weewx is stopped, or the rasperry is shutdown, it asks for a new entry 
at the next start of weewx. But somehow, no :00 or :30 values are added to 
the database, but :04 or :34 and I cannot explain why this is. And 
unfortunately, these entries are not displayed in the graphics on the 
website, for whatever reason. There are no error messages in the logs, and 
all other services (AWEKAS, PWS, Wunderground, etc.) also get these strange 
entries.


Can someone help me with this?


Thank you in advance!

Maginos

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/62b4de25-e2a0-4564-b0d3-17ab3409b7a4%40googlegroups.com.


[weewx-user] Re: Changes with Belchertown skin & DarkSky

2020-03-31 Thread rich T
Congats Pat

On Tuesday, March 31, 2020 at 2:03:49 PM UTC-4, Pat wrote:
>
> Hi everyone, I'm a bit tied up and offline with the birth of my new 
> daughter, but I got news today that DarkSky has been acquired by Apple. For 
> existing API users, API will remain online until 2021, but they are not 
> accepting any new sign ups. 
>
> That's the sad reality of using free hosted services - they can be shut 
> down without a moments notice. 
>
> I'll research a new method for local conditions and forecasts. If anyone 
> knows of any that are free and has a public API, please let me know! 
>
> ( Maybe it's a good thing I haven't released 1.1 yet! ) 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/d3854ac2-9c81-4bde-a13c-d2497d643655%40googlegroups.com.


[weewx-user] Re: how to get run highcharts with weewx?

2020-03-31 Thread gjr80
On Tuesday, 31 March 2020 22:26:16 UTC+10, Astrid wrote:
>
> Hello!
>
> Thank you very much for the infos.
> >or they can be installed manually.
> I preferr the manually installation.
> In the past I had to completely resetup
> my weewx, because one extension (not yours,
> dont remember which it was), which
> I installed with wee_extension made my
> whole weewx craxy and damage, so
> I started bey zero again and now
> I preferr to do it manually.
>

I think this is the exception rather than the rule and my advice to new 
users remains to use wee_extension.
  

> >It is not clear to me exactly what is in your [StdReport] stanza in 
> weewx.conf. 
> I did as described in your Users Guide at 4. "edit weewx.conf and add to 
> [StdReport]
>

OK, looking at the wee_debug report you provided the [StdReport] stanza 
looks fine. I suggest the following:

1. edit weewx.conf and locate the following lines under [StdReport]:

[[[CheetahGenerator]]]
ToDate
[YearJSON]
stale_age = 3600

place a # before the stale_age =  line to comment out that line. The result 
should look something like:

[[[CheetahGenerator]]]
ToDate
[YearJSON]
#stale_age = 3600

This will force the year JSON file to be generated every report cycle 
rather than every one hour.

2. still in weewx.conf confirm that debug = 1 is still set.

3. save weewx.conf and restart WeeWX

4. if the JSON files are not being generated let WeeWX run for 15 minutes 
then take a copy of the log covering the period from when you restarted 
WeeWX until the 15 minutes has elapsed. Make sure you capture the entire 
WeeWX startup sequence and do not edit or otherwise alter the log extract.

Gary

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/210e1051-180a-43dd-bdd2-464c1f60d889%40googlegroups.com.


[weewx-user] Re: Changes with Belchertown skin & DarkSky

2020-03-31 Thread Adnan Mumtaz
Congratulations Pat

On Tuesday, 31 March 2020 21:03:49 UTC+3, Pat wrote:
>
> Hi everyone, I'm a bit tied up and offline with the birth of my new 
> daughter, but I got news today that DarkSky has been acquired by Apple. For 
> existing API users, API will remain online until 2021, but they are not 
> accepting any new sign ups. 
>
> That's the sad reality of using free hosted services - they can be shut 
> down without a moments notice. 
>
> I'll research a new method for local conditions and forecasts. If anyone 
> knows of any that are free and has a public API, please let me know! 
>
> ( Maybe it's a good thing I haven't released 1.1 yet! ) 
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/9f5bc6cd-eda6-44da-ac8b-bb679eba5df1%40googlegroups.com.


Re: [weewx-user] Re: Original Dallas Semiconductor 8 reed switch wind vane with DS2407 and DS2401 1-wire chips

2020-03-31 Thread Glenn McKechnie
Hi Bret

On 01/04/2020, Bret Craytor  wrote:
> BTW,  Trying to get OWW to work and keep getting hung up with the GTK+,
> ugh.  I can't get past the ./configure.

>From your previous mail it sounds like you're getting some useful
responses from the unit, we'll take that as an indicator that it's all
good. Soon find out otherwise.
I've got some working code for the direction sensing, just need to be
able to get the DS2401s responding via owfs.py.
I'll contact you off list regarding the ssh connection and setup.


> On Monday, March 23, 2020 at 11:55:52 AM UTC-5, Bret Craytor wrote:
>>
>> Hey!
>>
>> Which sensor type should I use in my OWFS WEEWX conf file?  I have the
>> addresses of the DS2401's on the PCB layout:
>>
>>
>>  D E F
>>  CG
>>  B A H
>> II
>> II  -mount side (viewed from top of PCB
>>
>>
>> A:  01.B5374A04
>> B:  01.B2374A04
>> C:  01.BA374A04
>> D:  01.B7374A04
>> E:  01.C6374A04
>> F:  01.C3374A04
>> G:  01.BD374A04
>> H:  01.AE374A04
>>
>> As you can see, the first two digits after the dot are the only values
>> that change.  Surely someone out there has already made a sensor type file
>>
>> for this, and can help with my weewx.conf file setup.
>>
>> I had some earlier posts and recieved great help, but have had to keep
>> putting the project down to do other tasks, but with the COVID-19
>> instructions for staying home, here I am!  Thanks for your help WEEWX
>> community!
>>
>> Bret Craytor



-- 


Cheers
 Glenn

rorpi - read only raspberry pi & various weewx addons
https://github.com/glennmckechnie

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CAAraAzi7OFvsO7zMKC0RT7qT3ZBWV0cF1GoJJ%3DMR1Z9E-yJ2-A%40mail.gmail.com.


Re: [weewx-user] wee_import of Weather Underground in Weewx 4.0

2020-03-31 Thread gjr80
Hi,

Are you using wee_import from WeeWX 4.0 or from an earlier WeeWX version? The 
only version of wee_import that will (now) work with WU is that from WeeWX 4.0. 
Earlier versions will not work.

Gary

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/37a79c32-5899-450b-b87d-5595333ba647%40googlegroups.com.


[weewx-user] Re: Original Dallas Semiconductor 8 reed switch wind vane with DS2407 and DS2401 1-wire chips

2020-03-31 Thread Bret Craytor
BTW,  Trying to get OWW to work and keep getting hung up with the GTK+, 
ugh.  I can't get past the ./configure.



On Monday, March 23, 2020 at 11:55:52 AM UTC-5, Bret Craytor wrote:
>
> Hey!
>
> Which sensor type should I use in my OWFS WEEWX conf file?  I have the 
> addresses of the DS2401's on the PCB layout:
>
>
>  D E F 
>  CG
>  B A H
> II
> II  -mount side (viewed from top of PCB 
>
>
> A:  01.B5374A04
> B:  01.B2374A04
> C:  01.BA374A04
> D:  01.B7374A04
> E:  01.C6374A04
> F:  01.C3374A04
> G:  01.BD374A04
> H:  01.AE374A04
>
> As you can see, the first two digits after the dot are the only values 
> that change.  Surely someone out there has already made a sensor type file 
> for this, and can help with my weewx.conf file setup.
>
> I had some earlier posts and recieved great help, but have had to keep 
> putting the project down to do other tasks, but with the COVID-19 
> instructions for staying home, here I am!  Thanks for your help WEEWX 
> community!
>
> Bret Craytor
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/87615c7c-d6bc-42a8-88f0-3a7469efe480%40googlegroups.com.


[weewx-user] Re: Original Dallas Semiconductor 8 reed switch wind vane with DS2407 and DS2401 1-wire chips

2020-03-31 Thread Bret Craytor
Glenn,

Indeed something got cut off on the beginning.  Not sure how that happened 
but it was a little background on me and my minimal programing experience 
with an Ames breadboard computer back in '79 when I was in college and it 
was for Electronics for Scientists class.  I was not the best of 
programmers, but I love tinkering with this stuff.  and the addresses you 
see are from my PYTHONPATH=  blah blah --Sensors read as well as from OWFS 
Localhost:2121, I can surely send you the data on what each sensor 
returns.  I set the thing up in front of a fan to watch the wind speed!  
LOL.  2.5 to 3 mphI still have not calibrated the tiping-bucket rain 
guage (the original DS round one).  I can set up a window with VNC for you 
if you can help, or an SSH.I don't know how to privately message you 
other than thru e-mail.  I will post an excel file with all the addresses 
of the chips I have and what I have them for.  my first message on this 
thread has the layout of the PCB reed switches in that stick figure with 
the addresses listed below for the windvane.

Bret Craytor



On Monday, March 23, 2020 at 11:55:52 AM UTC-5, Bret Craytor wrote:
>
> Hey!
>
> Which sensor type should I use in my OWFS WEEWX conf file?  I have the 
> addresses of the DS2401's on the PCB layout:
>
>
>  D E F 
>  CG
>  B A H
> II
> II  -mount side (viewed from top of PCB 
>
>
> A:  01.B5374A04
> B:  01.B2374A04
> C:  01.BA374A04
> D:  01.B7374A04
> E:  01.C6374A04
> F:  01.C3374A04
> G:  01.BD374A04
> H:  01.AE374A04
>
> As you can see, the first two digits after the dot are the only values 
> that change.  Surely someone out there has already made a sensor type file 
> for this, and can help with my weewx.conf file setup.
>
> I had some earlier posts and recieved great help, but have had to keep 
> putting the project down to do other tasks, but with the COVID-19 
> instructions for staying home, here I am!  Thanks for your help WEEWX 
> community!
>
> Bret Craytor
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/f679eb7b-bf30-44c5-b3b2-1b3db6f8d6b6%40googlegroups.com.


[weewx-user] Re: Weather station GARNI 935PC - compatibility with Weewx?

2020-03-31 Thread Bob Atchley
Hi Vladimir,

Really please its working.  And yes it should be as simple as updating the 
weewx.conf file, the ws6in1 driver simply provides the interface between 
weewx and the weather station, it should not interfere with sending data to 
Wundercloud etc, though I have not tried this yet

Bob

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/7af23e53-7f1e-4669-87c9-756cdebd2b5e%40googlegroups.com.


Re: [weewx-user] Changes with Belchertown skin & DarkSky

2020-03-31 Thread Colin Larsen
Congratulations Pat, trying times, hope you and are your family stay well

Colin

On Wed, 1 Apr 2020, 07:10 steeple ian,  wrote:

> Congratulations Pat
>
> On Tue, Mar 31, 2020 at 7:03 PM Pat  wrote:
>
>> Hi everyone, I'm a bit tied up and offline with the birth of my new
>> daughter, but I got news today that DarkSky has been acquired by Apple. For
>> existing API users, API will remain online until 2021, but they are not
>> accepting any new sign ups.
>>
>> That's the sad reality of using free hosted services - they can be shut
>> down without a moments notice.
>>
>> I'll research a new method for local conditions and forecasts. If anyone
>> knows of any that are free and has a public API, please let me know!
>>
>> ( Maybe it's a good thing I haven't released 1.1 yet! )
>>
>> --
>> 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+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/weewx-user/4cccd134-5baa-4657-9327-8070e2fb39d5%40googlegroups.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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/CADASSaTP%2ByPD8MdbJiZj_YKcKAko0MO4qbDYZdxWX8SP_yjTLQ%40mail.gmail.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CACjxfUtEXi60xKRudnaGORJUrurnWtO%2BrP5h2jfoxGLUTq07Fg%40mail.gmail.com.


Re: [weewx-user] Changes with Belchertown skin & DarkSky

2020-03-31 Thread steeple ian
Congratulations Pat

On Tue, Mar 31, 2020 at 7:03 PM Pat  wrote:

> Hi everyone, I'm a bit tied up and offline with the birth of my new
> daughter, but I got news today that DarkSky has been acquired by Apple. For
> existing API users, API will remain online until 2021, but they are not
> accepting any new sign ups.
>
> That's the sad reality of using free hosted services - they can be shut
> down without a moments notice.
>
> I'll research a new method for local conditions and forecasts. If anyone
> knows of any that are free and has a public API, please let me know!
>
> ( Maybe it's a good thing I haven't released 1.1 yet! )
>
> --
> 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+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/weewx-user/4cccd134-5baa-4657-9327-8070e2fb39d5%40googlegroups.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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/CADASSaTP%2ByPD8MdbJiZj_YKcKAko0MO4qbDYZdxWX8SP_yjTLQ%40mail.gmail.com.


[weewx-user] Changes with Belchertown skin & DarkSky

2020-03-31 Thread Pat
Hi everyone, I'm a bit tied up and offline with the birth of my new 
daughter, but I got news today that DarkSky has been acquired by Apple. For 
existing API users, API will remain online until 2021, but they are not 
accepting any new sign ups. 

That's the sad reality of using free hosted services - they can be shut 
down without a moments notice. 

I'll research a new method for local conditions and forecasts. If anyone 
knows of any that are free and has a public API, please let me know! 

( Maybe it's a good thing I haven't released 1.1 yet! ) 

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/4cccd134-5baa-4657-9327-8070e2fb39d5%40googlegroups.com.


Re: [weewx-user] wee_import of Weather Underground in Weewx 4.0

2020-03-31 Thread Günther Wrana
I am trying to complete my patchy database. This is the first dry run to 
import data from wunderground.
I just don't think that would work.
You used the new version of weewx and then it worked with the import of 
wunderground?


pi@raspberrypi:~ $ sudo /home/weewx/bin/wee_import 
--import-config=/var/tmp/wu.conf --from=2019-11-01T00:00 
--to=2019-11-01T23:59 --dry-run
Starting wee_import...
Observation history for Weather Underground station 'IMATZENR2' will be 
imported.
Using database binding 'wx_binding', which is bound to database 'weewx.sdb'
Destination table 'archive' unit system is '0x01' (US).
Missing derived observations will be calculated.
Observations timestamped after 2019-11-01 00:00:00 CET (1572562800) and up 
to and
including 2019-11-01 23:59:00 CET (1572649140) will be imported.
This is a dry run, imported data will not be saved to archive.
Unable to open Weather Underground station IMATZENR2
    HTTP Error 403: Forbidden
 Unable to load config file.
 HTTP Error 403: Forbidden
 Nothing done, exiting.



Am Montag, 24. Februar 2020 14:58:33 UTC+1 schrieb Nicolas CUVILLIER:
>
> And I was able to import more than 4 years of historical data from 
> WUnderground
> Better to use the current version 4.0.0b13. which includes a couple of 
> fixes.
>
> I imported only period where Wunderground has data from my station.
> Nicolas
>
>

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/006983a6-5ede-44d6-afd9-744215d72dc1%40googlegroups.com.


[weewx-user] Re: how to get run highcharts with weewx?

2020-03-31 Thread Astrid
Hello!

Thank you very much for the infos.
>or they can be installed manually.
I preferr the manually installation.
In the past I had to completely resetup
my weewx, because one extension (not yours,
dont remember which it was), which
I installed with wee_extension made my
whole weewx craxy and damage, so
I started bey zero again and now
I preferr to do it manually.

>Niculskin has nothing to do with the highcharts extension so any of the 
highcharts files you added to >Niculskin can be removed, they will do 
nothing but confuse.
Ok, I did so now.

>It is not clear to me exactly what is in your [StdReport] stanza in 
weewx.conf. 
I did as described in your Users Guide at 4. "edit weewx.conf and add to 
[StdReport]

Here is from wee_debug:

Using verbosity=1, displaying most info

wee_debug output will be sent to stdout(console)

Using configuration file /etc/weewx/weewx.conf
Using database binding 'wx_binding', which is bound to database 
'archive_sqlite'

System info
  Platform:   Linux-4.12.14-lp151.28.40-default-x86_64-with-glibc2.2.5
  Python Version: 2.7.14

Load Information
  1 minute load average:  0.91
  5 minute load average:  1.48
  15 minute load average: 1.35

General Weewx info
  Weewx version 3.9.2 detected.

Station info
  Station type: FileParse
  Driver:   user.fileparse

Driver info
[FileParse]
poll_interval = 60# Sekunden
path = /var/tmp/datafile
driver = user.fileparse

Currently installed extensions
No extensions installed

Archive info
  Database name:weewx.sdb
  Table name:   archive
  Version   2.0
  Unit system:  1 (US)
  First good timestamp: 2020-03-24 18:30:00 CET (1585071000)
  Last good timestamp:  2020-03-31 14:10:00 CEST (1585656600)
  Number of records:1925
  weewx (weewx.conf) is set to use an archive interval of 300 seconds.
  The station hardware was not interrogated in determining archive interval.

Databases configured in weewx.conf
  Database name:weewx.sdb
  Database driver:  weedb.sqlite

  Database name:weewx
  Database driver:  weedb.mysql
  Database host:localhost


Parsed and obfuscated weewx.conf
# WEEWX CONFIGURATION FILE
#
# Copyright (c) 2009-2019 Tom Keffer 
# See the file LICENSE.txt for your rights.

##

# This section is for general configuration information.

# Set to 1 for extra debug info, otherwise comment it out or set to zero
debug = 1

# Root directory of the weewx data file hierarchy for this station
WEEWX_ROOT = /

# Whether to log successful operations
log_success = True

# Whether to log unsuccessful operations
log_failure = True

# How long to wait before timing out a socket (FTP, HTTP) connection
socket_timeout = 20

# Do not modify this. It is used when installing and updating weewx.
version = 3.9.2

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = xxx

# Latitude and longitude in decimal degrees
latitude = xxx
longitude = xxx

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 525, foot# Choose 'foot' or 'meter' for unit

# Set to type of station hardware. There must be a corresponding stanza
# in this file with a 'driver' parameter indicating the driver to be 
used.
station_type = FileParse# WS23xx # FileParse

# If you have a website, you may specify an URL
#station_url = http://www.example.com

# The start of the rain year (1=January; 10=October, etc.). This is
# downloaded from the station if the hardware supports it.
rain_year_start = 1

# Start of week (0=Monday, 6=Sunday)
week_start = 0

##

[WS23xx]
# This section is for the La Crosse WS-2300 series of weather stations.

# Serial port such as /dev/ttyS0, /dev/ttyUSB0, or /dev/cuaU0
port = /dev/ttyS0

# The station model, e.g., 'LaCrosse WS2317' or 'TFA Primus'
model = LaCrosse WS23xx

# The driver to use:
driver = weewx.drivers.ws23xx

##

[FileParse]
poll_interval = 60# Sekunden
path = /var/tmp/datafile
driver = user.fileparse

#[[label_map]]
#temp = outTemp
#humi = outHumidity
#in_temp = inTemp
#in_humid = inHumidity

##

[Simulator]
# This section is for the weewx weather station simulator

# The time (in seconds) between LOOP packets.
loop_interval = 2.5

# The simulator mode can be either 'simulator' or 'generator'.
# Real-time simulator. Sleep between each L

[weewx-user] Re: how to get run highcharts with weewx?

2020-03-31 Thread gjr80
I suspect the main issue you are encountering is running the highcharts 
report under wee_reports. Presently wee_reports does not load any user 
extensions (such as used by the highcharts extension) and consequently the 
report will fail. As an aside, when released WeeWX 4 will support user 
extensions under wee_reports.

Niculskin has nothing to do with the highcharts extension so any of the 
highcharts files you added to Niculskin can be removed, they will do 
nothing but confuse.

WeeWX extensions can be installed in one of two ways; they can be installed 
using the WeeWX utility wee_extension 
 or they can be 
installed manually. wee_extension is the recommended option for novice 
users as wee_extension takes care of copying the right files to the right 
locations as well as making the necessary config settings/changes to enable 
basic operation of the extension.

Getting the highcharts extension to work is a two step process, first you 
need to get the extension generating the JSON data files used by 
Highcharts. Then you need to configure your web server to serve the pages 
with the plots. First we should concentrate on getting the necessary JSON 
files generated. It is not clear to me exactly what is in your [StdReport] 
stanza in weewx.conf. Could I suggest you post the output from the WeeWX 
utility wee_debug . 
Before posting the wee_debug output do check it for sensitive info such as 
user names, passwords, API keys etc; wee_debug is pretty good at 
obfuscating such sensitive info but it is not perfect.

Gary

On Tuesday, 31 March 2020 20:52:10 UTC+10, Astrid wrote:
>
> Hello!
>
> I am using weewx 3.9.2 (installed via rpm) on
> leap 15.1 and a a little bit modified version
> from niculskin (installed manually).
> I manually installed highcharts from git
> https://github.com/gjr80/weewx-highcharts
> and do my best to follow the instruction on
> https://github.com/gjr80/weewx-highcharts/wiki/User's-Guide
> to get it run.
> But it does not run. :(
>
> My local weewx is at /usr/share/weewx, config
> is at /etc/weewx, local "www" is at /var/www/htdocsweewx.
>
> To /usr/share/weewx/user I put
> highcharts.py
> highcharts.pyc
>
> To /etc/weewx/skins/Highcharts I put
> json-dir, js-dir and skin.conf.
>
> json-dir I put to /etc/weewx/skins/niculskin too, I do
> not know, of there necessay too?
> Dito I put the two js-files to /etc/weewx/skins/niculskin/js
>
> In /etc/weewx/weewx.conf I add the stanzalines
> for highcharts at StdReport form UserGuide.
> There are only the lines
>
> [[[CheetahGenerator]]]
> ToDate
> [YearJSON]
> stale_age = 3600
>
> no monthjson. Is it ok?
>
> To /var/www/htdocs/weewx I put graphs.html
> and check, that the relative path to js is ok.
>
> I restart weewxd and with wee_reports I run
> the reports.
>
> If I check with journalctl -b | grep weewx
> there is inside:
>
> Mär 31 12:45:08 linux wee_reports[28082]: reportengine: Found configuration 
> file /etc/weewx/skins/Highcharts/skin.conf for report 'Highcharts'
> Mär 31 12:45:08 linux wee_reports[28082]: cheetahgenerator: using search list 
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.highchartsSearchX.highchartsMinRanges', 
> 'user.highchartsSearchX.highchartsWeek', 
> 'user.highchartsSearchX.highchartsYear', 
> 'user.highchartsSearchX.highchartsWindRose']
> Mär 31 12:45:10 linux wee_reports[28082]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Highcharts/json/week.json.tmpl
> Mär 31 12:45:10 linux wee_reports[28082]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mär 31 12:45:10 linux wee_reports[28082]: File 
> "_etc_weewx_skins_Highcharts_json_week_json_tmpl.py", line 371, in respond
> Mär 31 12:45:11 linux wee_reports[28082]: cheetahgenerator:  Ignoring 
> template /etc/weewx/skins/Highcharts/json/year.json.tmpl
> Mär 31 12:45:11 linux wee_reports[28082]: File 
> "/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
> Mär 31 12:45:11 linux wee_reports[28082]: File 
> "_etc_weewx_skins_Highcharts_json_year_json_tmpl.py", line 363, in respond
> Mär 31 12:45:11 linux wee_reports[28082]: reportengine: Found configuration 
> file /etc/weewx/skins/niculskin/skin.conf for report 'StandardReport'
> Mär 31 12:45:11 linux wee_reports[28082]: cheetahgenerator: using search list 
> ['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
> 'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
> 'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
> 'user.historygenerator.MyXSearch']
> Mär 31 12:45:20 linux wee_reports[28082]: copygenerator: copied 11 files to 
> /

[weewx-user] how to get run highcharts with weewx?

2020-03-31 Thread Astrid
Hello!

I am using weewx 3.9.2 (installed via rpm) on
leap 15.1 and a a little bit modified version
from niculskin (installed manually).
I manually installed highcharts from git
https://github.com/gjr80/weewx-highcharts
and do my best to follow the instruction on
https://github.com/gjr80/weewx-highcharts/wiki/User's-Guide
to get it run.
But it does not run. :(

My local weewx is at /usr/share/weewx, config
is at /etc/weewx, local "www" is at /var/www/htdocsweewx.

To /usr/share/weewx/user I put
highcharts.py
highcharts.pyc

To /etc/weewx/skins/Highcharts I put
json-dir, js-dir and skin.conf.

json-dir I put to /etc/weewx/skins/niculskin too, I do
not know, of there necessay too?
Dito I put the two js-files to /etc/weewx/skins/niculskin/js

In /etc/weewx/weewx.conf I add the stanzalines
for highcharts at StdReport form UserGuide.
There are only the lines

[[[CheetahGenerator]]]
ToDate
[YearJSON]
stale_age = 3600

no monthjson. Is it ok?

To /var/www/htdocs/weewx I put graphs.html
and check, that the relative path to js is ok.

I restart weewxd and with wee_reports I run
the reports.

If I check with journalctl -b | grep weewx
there is inside:

Mär 31 12:45:08 linux wee_reports[28082]: reportengine: Found configuration 
file /etc/weewx/skins/Highcharts/skin.conf for report 'Highcharts'
Mär 31 12:45:08 linux wee_reports[28082]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
'user.highchartsSearchX.highchartsMinRanges', 
'user.highchartsSearchX.highchartsWeek', 
'user.highchartsSearchX.highchartsYear', 
'user.highchartsSearchX.highchartsWindRose']
Mär 31 12:45:10 linux wee_reports[28082]: cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Highcharts/json/week.json.tmpl
Mär 31 12:45:10 linux wee_reports[28082]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Mär 31 12:45:10 linux wee_reports[28082]: File 
"_etc_weewx_skins_Highcharts_json_week_json_tmpl.py", line 371, in respond
Mär 31 12:45:11 linux wee_reports[28082]: cheetahgenerator:  Ignoring 
template /etc/weewx/skins/Highcharts/json/year.json.tmpl
Mär 31 12:45:11 linux wee_reports[28082]: File 
"/usr/share/weewx/weewx/cheetahgenerator.py", line 332, in generate
Mär 31 12:45:11 linux wee_reports[28082]: File 
"_etc_weewx_skins_Highcharts_json_year_json_tmpl.py", line 363, in respond
Mär 31 12:45:11 linux wee_reports[28082]: reportengine: Found configuration 
file /etc/weewx/skins/niculskin/skin.conf for report 'StandardReport'
Mär 31 12:45:11 linux wee_reports[28082]: cheetahgenerator: using search list 
['weewx.cheetahgenerator.Almanac', 'weewx.cheetahgenerator.Station', 
'weewx.cheetahgenerator.Current', 'weewx.cheetahgenerator.Stats', 
'weewx.cheetahgenerator.UnitInfo', 'weewx.cheetahgenerator.Extras', 
'user.historygenerator.MyXSearch']
Mär 31 12:45:20 linux wee_reports[28082]: copygenerator: copied 11 files to 
/var/www/htdocs/weewx
Mär 31 12:45:20 linux wee_reports[28082]: reportengine: Found configuration 
file /etc/weewx/skins/Ftp/skin.conf for report 'FTP'
Mär 31 12:45:27 linux wee_reports[28082]: ftpupload: Uploaded file 
/RSS/weewx_rss.xml

But why does it ignore the json-files?

/var/www/htdocs/weewx/graphs.html

only shows the text from html. No plots.

How I can get it run?

Regards, Astrid

-- 
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+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8f01193a-895d-4b58-aba5-5d0b699f6579%40googlegroups.com.