Re: [weewx-user] BASIC question regarding config file

2016-09-07 Thread Andrew Milner
Or you can force a .conf reload with a hup 
"

You can tell a running instance of weewx to reread its configuration file 
by sending it the HUP signal. First run ps to find out the Process ID (PID) 
number of the instance, then send it the HUP signal: 

ps -a  # Note the PID of the weewxd processkill -HUP *pid*  # Send it a 
HUP signal

Note that this *only* rereads the configuration file. It will not reload 
any code.
"


On Thursday, 8 September 2016 06:16:25 UTC+3, Dave Webb wrote:

> You need to stop and restart weewx for it to pick up the changes in 
> weewx.conf
>
> Dave-KB1PVH
>
> Sent from my Galaxy S7
>
> On Sep 7, 2016 11:15 PM, "Jim W." > 
> wrote:
>
>> Does the config file get read once during start up or is it poled 
>> continuously? If I make a change in the config file do I have to stop and 
>> start weewx? 
>> Thanks!
>>
>> -- 
>> 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 .
>> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] BASIC question regarding config file

2016-09-07 Thread Dave Webb KB1PVH
You need to stop and restart weewx for it to pick up the changes in
weewx.conf

Dave-KB1PVH

Sent from my Galaxy S7

On Sep 7, 2016 11:15 PM, "Jim W."  wrote:

> Does the config file get read once during start up or is it poled
> continuously? If I make a change in the config file do I have to stop and
> start weewx?
> Thanks!
>
> --
> 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.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] BASIC question regarding config file

2016-09-07 Thread Jim W.
Does the config file get read once during start up or is it poled 
continuously? If I make a change in the config file do I have to stop and 
start weewx? 
Thanks!

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Re: 404 Not Found

2016-09-07 Thread Thomas Keffer
Take a look at this post
 from
Matthew and see if it's relevant to your situation.

-tk

On Wed, Sep 7, 2016 at 9:45 AM, zkab  wrote:

> The sections dealing with databases in weewx.conf looks like this:
>
> 
> ##
>
> #   This section binds a data store to a database.
>
> [DataBindings]
>
> [[wx_binding]]
> # The database must match one of the sections in [Databases].
> # This is likely to be the only option you would want to change.
> database = archive_sqlite
> # The name of the table within the database
> table_name = archive
> # The manager handles aggregation of data for historical summaries
> manager = weewx.wxmanager.WXDaySummaryManager
> # The schema defines the structure of the database.
> # It is *only* used when the database is created.
> schema = schemas.wview.schema
>
> 
> ##
>
> #   This section defines various databases.
>
> [Databases]
>
> # A SQLite database is simply a single file
> [[archive_sqlite]]
> database_type = SQLite
> database_name = weewx.sdb
>
> # MySQL
> [[archive_mysql]]
> database_type = MySQL
> database_name = weewx
>
> 
> ##
>
> #   This section defines defaults for the different types of databases.
>
> [DatabaseTypes]
>
> # Defaults for SQLite databases
> [[SQLite]]
> driver = weedb.sqlite
> # Directory in which the database files are located
> SQLITE_ROOT = /var/lib/weewx
>
> # Defaults for MySQL databases
> [[MySQL]]
> driver = weedb.mysql
> # The host where the database is located
> host = localhost
> # The user name for logging in to the host
> user = weewx
> # The password for the user name
> password = weewx
>
> 
> ##
>
> My knowledge of Apache is low ...
> What should be changed ?
>
> Den onsdag 7 september 2016 kl. 18:08:35 UTC+2 skrev zkab:
>>
>> Hi,
>>
>> I am new to this group  and weewx and have following hardware:
>>
>> 1) Raspberry Pi 3 where I have installed Debian
>> 2) The Belfryboy Clone USB logger - it was installed & recognized
>> 3) Davis Vantage Vue
>>
>> I installed according to the documentation http://www.weewx
>> .com/docs/usersguide.htm and it went OK without errors.
>> Then I installed the web server on the Raspi with 'sudo apt-get install
>> apache2'
>> I have fixed a static IP (192.168.0.39) to the Raspi with my firewall.
>>
>> When I enter http://192.168.0.39/weewx from another computer on my
>> network I get:
>> 404 Not Found
>>
>> Where have I gone wrong ?
>>
> --
> 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.
> 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 weewx-user+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: Synology DSM 6.0 weewx

2016-09-07 Thread mwall
On Friday, September 2, 2016 at 9:45:06 AM UTC-4, Александр Игнатишин wrote:
>
>   File "/volume1/homes/weewx/bin/weewx/drivers/wmr300.py", line 1230, in 
> decode
> pkt = getattr(Station, '_decode_%02x' % buf[0])(buf)
> IndexError: array index out of range
>

commit 88a4837 has a fix for this exception, so weewx will log it and 
continue to operate if it happens again.

it would help to know if the exception happens regularly.

m

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: 404 Not Found

2016-09-07 Thread Andrew Milner
Apache is not the database.  Apache is the web server.  The database will 
be either MySQL or SQLite.

Check the documentation for apache2 and its configuration files by googling 
apache2



On Wednesday, 7 September 2016 19:45:18 UTC+3, zkab wrote:

> The sections dealing with databases in weewx.conf looks like this:
>
>
> ##
>
> #   This section binds a data store to a database.
>
> [DataBindings]
> 
> [[wx_binding]]
> # The database must match one of the sections in [Databases].
> # This is likely to be the only option you would want to change.
> database = archive_sqlite
> # The name of the table within the database
> table_name = archive
> # The manager handles aggregation of data for historical summaries
> manager = weewx.wxmanager.WXDaySummaryManager
> # The schema defines the structure of the database.
> # It is *only* used when the database is created.
> schema = schemas.wview.schema
>
>
> ##
>
> #   This section defines various databases.
>
> [Databases]
> 
> # A SQLite database is simply a single file
> [[archive_sqlite]]
> database_type = SQLite
> database_name = weewx.sdb
> 
> # MySQL
> [[archive_mysql]]
> database_type = MySQL
> database_name = weewx
>
>
> ##
>
> #   This section defines defaults for the different types of databases.
>
> [DatabaseTypes]
> 
> # Defaults for SQLite databases
> [[SQLite]]
> driver = weedb.sqlite
> # Directory in which the database files are located
> SQLITE_ROOT = /var/lib/weewx
> 
> # Defaults for MySQL databases
> [[MySQL]]
> driver = weedb.mysql
> # The host where the database is located
> host = localhost
> # The user name for logging in to the host
> user = weewx
> # The password for the user name
> password = weewx
>
>
> ##
>
> My knowledge of Apache is low ...
> What should be changed ?
>
> Den onsdag 7 september 2016 kl. 18:08:35 UTC+2 skrev zkab:
>>
>> Hi,
>>
>> I am new to this group  and weewx and have following hardware:
>>
>> 1) Raspberry Pi 3 where I have installed Debian
>> 2) The Belfryboy Clone USB logger - it was installed & recognized 
>> 3) Davis Vantage Vue
>>
>> I installed according to the documentation 
>> http://www.weewx.com/docs/usersguide.htm and it went OK without errors.
>> Then I installed the web server on the Raspi with 'sudo apt-get install 
>> apache2'
>> I have fixed a static IP (192.168.0.39) to the Raspi with my firewall.
>>
>> When I enter http://192.168.0.39/weewx from another computer on my 
>> network I get:
>> 404 Not Found
>>
>> Where have I gone wrong ?
>>
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: 404 Not Found

2016-09-07 Thread zkab
The sections dealing with databases in weewx.conf looks like this:

##

#   This section binds a data store to a database.

[DataBindings]

[[wx_binding]]
# The database must match one of the sections in [Databases].
# This is likely to be the only option you would want to change.
database = archive_sqlite
# The name of the table within the database
table_name = archive
# The manager handles aggregation of data for historical summaries
manager = weewx.wxmanager.WXDaySummaryManager
# The schema defines the structure of the database.
# It is *only* used when the database is created.
schema = schemas.wview.schema

##

#   This section defines various databases.

[Databases]

# A SQLite database is simply a single file
[[archive_sqlite]]
database_type = SQLite
database_name = weewx.sdb

# MySQL
[[archive_mysql]]
database_type = MySQL
database_name = weewx

##

#   This section defines defaults for the different types of databases.

[DatabaseTypes]

# Defaults for SQLite databases
[[SQLite]]
driver = weedb.sqlite
# Directory in which the database files are located
SQLITE_ROOT = /var/lib/weewx

# Defaults for MySQL databases
[[MySQL]]
driver = weedb.mysql
# The host where the database is located
host = localhost
# The user name for logging in to the host
user = weewx
# The password for the user name
password = weewx

##

My knowledge of Apache is low ...
What should be changed ?

Den onsdag 7 september 2016 kl. 18:08:35 UTC+2 skrev zkab:
>
> Hi,
>
> I am new to this group  and weewx and have following hardware:
>
> 1) Raspberry Pi 3 where I have installed Debian
> 2) The Belfryboy Clone USB logger - it was installed & recognized 
> 3) Davis Vantage Vue
>
> I installed according to the documentation 
> http://www.weewx.com/docs/usersguide.htm and it went OK without errors.
> Then I installed the web server on the Raspi with 'sudo apt-get install 
> apache2'
> I have fixed a static IP (192.168.0.39) to the Raspi with my firewall.
>
> When I enter http://192.168.0.39/weewx from another computer on my 
> network I get:
> 404 Not Found
>
> Where have I gone wrong ?
>

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: 404 Not Found

2016-09-07 Thread Chris Thompstone
Firstly do you know which folder apache is serving from.
You need to know this.

What is likely happening is that (assuming the weewx is working correctly), 
it is posting the archive data to one folder and apache is serving 
something totally different.

Have you checked the weewx.conf to see where it is saving the data.

You need to get these to match.

Chris

-- 
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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] 404 Not Found

2016-09-07 Thread zkab
Hi,

I am new to this group  and weewx and have following hardware:

1) Raspberry Pi 3 where I have installed Debian
2) The Belfryboy Clone USB logger - it was installed & recognized 
3) Davis Vantage Vue

I installed according to the 
documentation http://www.weewx.com/docs/usersguide.htm and it went OK 
without errors.
Then I installed the web server on the Raspi with 'sudo apt-get install 
apache2'
I have fixed a static IP (192.168.0.39) to the Raspi with my firewall.

When I enter http://192.168.0.39/weewx from another computer on my network 
I get:
404 Not Found

Where have I gone wrong ?

-- 
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.
For more options, visit https://groups.google.com/d/optout.


Re: [weewx-user] Bad data was Backfill from WU

2016-09-07 Thread Liz
On Tue, 6 Sep 2016 17:52:00 -0700 (PDT)
gjr80  wrote:

> wee_import is going through a bit of a change at the moment. I have
> added a QC capability that applies the weewx.conf StdQC min/max
> settings to imported data the same way the StdQC service works on
> incoming data. I would expect this will get rid of the nonsense WU
> data. Will have to wait to see if the QC capabilty is accepted when I
> push it up.

I could test future versions by downloading the same set of data into
another database (for ease, on another machine) and comparing the end
results.

Liz

-- 
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.
For more options, visit https://groups.google.com/d/optout.