[weewx-user] Re: Checking versions, configurations

2019-02-05 Thread Kevin Tarr
Thank you, back to 5 minute intervals.

On Saturday, February 2, 2019 at 5:13:08 PM UTC-5, mwall wrote:
>
> On Saturday, February 2, 2019 at 5:07:56 PM UTC-5, Kevin Tarr wrote:
>>
>>
>> Trying to change to wee_device /etc/weewx/weewx.conf --set-interval=5
>>
>> weewx.WeeWxIOError: could not claim interface 0: Operation not permitted
>>
>> I have weewx stopped.
>>
>
> try 'sudo wee_device ...'
>
> unless you modified the permissions on the usb device (using udev rules), 
> you must have root privileges to write to the device.
>
> 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: Checking versions, configurations

2019-02-02 Thread mwall
On Saturday, February 2, 2019 at 5:07:56 PM UTC-5, Kevin Tarr wrote:
>
>
> Trying to change to wee_device /etc/weewx/weewx.conf --set-interval=5
>
> weewx.WeeWxIOError: could not claim interface 0: Operation not permitted
>
> I have weewx stopped.
>

try 'sudo wee_device ...'

unless you modified the permissions on the usb device (using udev rules), 
you must have root privileges to write to the device.

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: Checking versions, configurations

2019-02-02 Thread mwall
On Saturday, February 2, 2019 at 1:34:44 PM UTC-5, Kevin Tarr wrote:
>
> Sometime in the last six months, my device started to update 
> weatherunderground every 30 minutes instead of 5. Today I started to look.
>

sounds like you have a fine offset station with usb interface.  they will 
occasionally reset to factory defaults.  it seems to be caused by voltage 
changes on the usb, such as dips/surges from a flaky/underpowered power 
supply.

 

> I'm going to ask 2 questions to start:
> The hardware guide has always said this:
>
> wee_device /home/weewx/weewx.conf --help which gives error
> Unable to open configuration file /home/weewx/weewx.conf
>
>
> The program in my version is wee_config_device /home/weewx/weewx.conf 
> --help
>

the utility wee_config_device was replaced by wee_device in weewx release 
3.2.  you can find this information in the 'from 3.1 or earlier' section of 
the upgrade guide:

http://weewx.com/docs/upgrading.htm

 

-- 
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: Checking versions, configurations

2019-02-02 Thread Kevin Tarr
This is in the hardware guide:
Configuring with wee_device Action --help 

Invoking wee_device  
with the --help option

wee_device */home*/weewx/weewx.conf --help

Anyway, I've upgraded, reset the weewx.conf file.

And this shows the problem:


Feb  2 16:50:21 Dummy-PC weewx[3717]: engine: The archive interval in the 
configuration file (300) does not match the station hardware interval 
(1800).
Feb  2 16:50:21 Dummy-PC weewx[3717]: engine: Using archive interval of 
1800 seconds (specified by hardware)

Trying to change to wee_device /etc/weewx/weewx.conf --set-interval=5

weewx.WeeWxIOError: could not claim interface 0: Operation not permitted

I have weewx stopped.
And this will be upsetting if I cannot reset this. This was the problem I 
had before, I could not change the interval, and eventually the unit 
crapped out. Bought the same thing, a WS-2095, and worked until this summer.

I'm going to post this and restart weewx and think about next steps which 
will include trash compactor.


On Saturday, February 2, 2019 at 4:28:07 PM UTC-5, Kevin Tarr wrote:

>   Installed: 3.1.0-1
>   Candidate: 3.1.0-1
>   Version table:
>  *** 3.1.0-1 0
> 100 /var/lib/dpkg/status
>
> archive_interval = 300
>
> I see it now. Give me an hour.
>
> On Saturday, February 2, 2019 at 2:11:54 PM UTC-5, Pat wrote:
>>
>> I'm a little confused and I think that comes from your confusion. Let's 
>> try to break it down and hopefully that'll help. 
>>
>> It looks like you installed weewx using apt-get. So that would follow the 
>> file location layout for the apt-get installation. Click here and go all 
>> the way to the bottom . (Hint: 
>> weewx.conf is in /etc/weewx not /home/weewx for apt installs). 
>>
>> The latest version is (today) 3.8.2 but 3.9.0 is being beta tested as we 
>> speak. To verify which version you have, run sudo apt policy weewx and 
>> paste the results.
>>
>> Lastly, open /etc/weewx/weewx.conf, then find the [[Wunderground]] 
>> section. This is where you've defined the uploader information. As to why 
>> it's going every 30 minutes - I'm not sure. What is your archive_interval 
>> set to within weewx.conf? I think it may be tied together. Standard 
>> config for archive_interval is 300
>>
>> You could also run:
>>
>> sudo wee_debug /etc/weewx/weewx.conf --info 
>>
>> and paste that here. Be extra careful that it censored all your passwords 
>> within before pasting. 
>>
>>
>>
>> On Saturday, February 2, 2019 at 1:34:44 PM UTC-5, Kevin Tarr wrote:
>>>
>>> Sometime in the last six months, my device started to update 
>>> weatherunderground every 30 minutes instead of 5. Today I started to look.
>>> Problem 1 is that I set this up when I moved houses. I've had to replace 
>>> my home unit sometime (two years ago?) but basically I wanted this to be 
>>> set and forget
>>>
>>> Which is problem 2, I've forgotten everything including how to operate 
>>> this Linux box.
>>>
>>> I'm going to ask 2 questions to start:
>>> The hardware guide has always said this:
>>>
>>> wee_device /home/weewx/weewx.conf --help which gives error
>>> Unable to open configuration file /home/weewx/weewx.conf
>>>
>>>
>>> The program in my version is wee_config_device /home/weewx/weewx.conf 
>>> --help
>>>
>>>
>>>
>>> When I look at wee_config_device the date at the top says 2015-01-19 
>>> 18:41:06 
>>> #!/usr/bin/env python
>>> # $Id: wee_config_device 2867 2015-01-19 18:41:06Z mwall $
>>> # Copyright 2013 Matthew Wall
>>> # See the file LICENSE.txt for your full rights.
>>>
>>> Is this the most current version? I have run the upgrade and it says I 
>>> am running most current version.
>>>
>>>
>>> Reading package lists... Done
>>> Building dependency tree   
>>> Reading state information... Done
>>> weewx is already the newest version.
>>> The following packages were automatically installed and are no longer 
>>> required:
>>>   linux-headers-3.13.0-142 linux-headers-3.13.0-142-generic
>>>   linux-headers-3.13.0-143 linux-headers-3.13.0-143-generic
>>>   linux-image-3.13.0-142-generic linux-image-3.13.0-143-generic
>>>   linux-image-extra-3.13.0-142-generic 
>>> linux-image-extra-3.13.0-143-generic
>>> Use 'apt-get autoremove' to remove them.
>>> 0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
>>>
>>>
>>>
>>>
>>>
>>>

-- 
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: Checking versions, configurations

2019-02-02 Thread Kevin Tarr
  Installed: 3.1.0-1
  Candidate: 3.1.0-1
  Version table:
 *** 3.1.0-1 0
100 /var/lib/dpkg/status

archive_interval = 300

I see it now. Give me an hour.

On Saturday, February 2, 2019 at 2:11:54 PM UTC-5, Pat wrote:
>
> I'm a little confused and I think that comes from your confusion. Let's 
> try to break it down and hopefully that'll help. 
>
> It looks like you installed weewx using apt-get. So that would follow the 
> file location layout for the apt-get installation. Click here and go all 
> the way to the bottom . (Hint: 
> weewx.conf is in /etc/weewx not /home/weewx for apt installs). 
>
> The latest version is (today) 3.8.2 but 3.9.0 is being beta tested as we 
> speak. To verify which version you have, run sudo apt policy weewx and 
> paste the results.
>
> Lastly, open /etc/weewx/weewx.conf, then find the [[Wunderground]] 
> section. This is where you've defined the uploader information. As to why 
> it's going every 30 minutes - I'm not sure. What is your archive_interval set 
> to within weewx.conf? I think it may be tied together. Standard config for 
> archive_interval is 300
>
> You could also run:
>
> sudo wee_debug /etc/weewx/weewx.conf --info 
>
> and paste that here. Be extra careful that it censored all your passwords 
> within before pasting. 
>
>
>
> On Saturday, February 2, 2019 at 1:34:44 PM UTC-5, Kevin Tarr wrote:
>>
>> Sometime in the last six months, my device started to update 
>> weatherunderground every 30 minutes instead of 5. Today I started to look.
>> Problem 1 is that I set this up when I moved houses. I've had to replace 
>> my home unit sometime (two years ago?) but basically I wanted this to be 
>> set and forget
>>
>> Which is problem 2, I've forgotten everything including how to operate 
>> this Linux box.
>>
>> I'm going to ask 2 questions to start:
>> The hardware guide has always said this:
>>
>> wee_device /home/weewx/weewx.conf --help which gives error
>> Unable to open configuration file /home/weewx/weewx.conf
>>
>>
>> The program in my version is wee_config_device /home/weewx/weewx.conf 
>> --help
>>
>>
>>
>> When I look at wee_config_device the date at the top says 2015-01-19 
>> 18:41:06 
>> #!/usr/bin/env python
>> # $Id: wee_config_device 2867 2015-01-19 18:41:06Z mwall $
>> # Copyright 2013 Matthew Wall
>> # See the file LICENSE.txt for your full rights.
>>
>> Is this the most current version? I have run the upgrade and it says I am 
>> running most current version.
>>
>>
>> Reading package lists... Done
>> Building dependency tree   
>> Reading state information... Done
>> weewx is already the newest version.
>> The following packages were automatically installed and are no longer 
>> required:
>>   linux-headers-3.13.0-142 linux-headers-3.13.0-142-generic
>>   linux-headers-3.13.0-143 linux-headers-3.13.0-143-generic
>>   linux-image-3.13.0-142-generic linux-image-3.13.0-143-generic
>>   linux-image-extra-3.13.0-142-generic 
>> linux-image-extra-3.13.0-143-generic
>> Use 'apt-get autoremove' to remove them.
>> 0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
>>
>>
>>
>>
>>
>>

-- 
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: Checking versions, configurations

2019-02-02 Thread Pat
I'm a little confused and I think that comes from your confusion. Let's try 
to break it down and hopefully that'll help. 

It looks like you installed weewx using apt-get. So that would follow the 
file location layout for the apt-get installation. Click here and go all 
the way to the bottom . (Hint: weewx.conf 
is in /etc/weewx not /home/weewx for apt installs). 

The latest version is (today) 3.8.2 but 3.9.0 is being beta tested as we 
speak. To verify which version you have, run sudo apt policy weewx and 
paste the results.

Lastly, open /etc/weewx/weewx.conf, then find the [[Wunderground]] section. 
This is where you've defined the uploader information. As to why it's going 
every 30 minutes - I'm not sure. What is your archive_interval set to 
within weewx.conf? I think it may be tied together. Standard config for 
archive_interval is 300

You could also run:

sudo wee_debug /etc/weewx/weewx.conf --info 

and paste that here. Be extra careful that it censored all your passwords 
within before pasting. 



On Saturday, February 2, 2019 at 1:34:44 PM UTC-5, Kevin Tarr wrote:
>
> Sometime in the last six months, my device started to update 
> weatherunderground every 30 minutes instead of 5. Today I started to look.
> Problem 1 is that I set this up when I moved houses. I've had to replace 
> my home unit sometime (two years ago?) but basically I wanted this to be 
> set and forget
>
> Which is problem 2, I've forgotten everything including how to operate 
> this Linux box.
>
> I'm going to ask 2 questions to start:
> The hardware guide has always said this:
>
> wee_device /home/weewx/weewx.conf --help which gives error
> Unable to open configuration file /home/weewx/weewx.conf
>
>
> The program in my version is wee_config_device /home/weewx/weewx.conf 
> --help
>
>
>
> When I look at wee_config_device the date at the top says 2015-01-19 
> 18:41:06 
> #!/usr/bin/env python
> # $Id: wee_config_device 2867 2015-01-19 18:41:06Z mwall $
> # Copyright 2013 Matthew Wall
> # See the file LICENSE.txt for your full rights.
>
> Is this the most current version? I have run the upgrade and it says I am 
> running most current version.
>
>
> Reading package lists... Done
> Building dependency tree   
> Reading state information... Done
> weewx is already the newest version.
> The following packages were automatically installed and are no longer 
> required:
>   linux-headers-3.13.0-142 linux-headers-3.13.0-142-generic
>   linux-headers-3.13.0-143 linux-headers-3.13.0-143-generic
>   linux-image-3.13.0-142-generic linux-image-3.13.0-143-generic
>   linux-image-extra-3.13.0-142-generic linux-image-extra-3.13.0-143-generic
> Use 'apt-get autoremove' to remove them.
> 0 upgraded, 0 newly installed, 0 to remove and 98 not upgraded.
>
>
>
>
>
>

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