Re: [weewx-user] Re: WeeWx Upgrade Failure

2024-03-04 Thread Fred Keller
Thanks, I missed that.

Fred


On Monday, March 4, 2024 at 5:54:30 PM UTC-5 vince wrote:

> Again, asked and answered a hundred times here.  The version in weewx.conf 
> shows what you 'started' with, so no. Leave it alone. Weewx pulls its 
> version that it logs from the code itself.
>
> On Monday, March 4, 2024 at 2:53:03 PM UTC-8 Fred Keller wrote:
>
>> Thanks for your quick reply.I went to the Upgrade guide and I now see 
>> that the commands changed and the new commands are working. 
>>
>> I have another question.  After the upgrade WeeWx is using my prior 
>> configuration file which I think is the default.  However, my current file 
>> shows version 4.10.2.  Should I manually edit my config file to show the 
>> current version.  I notice that the standard webpage in 192.168.../weewx is 
>> still showing version 4.10.2.
>>
>> Thanks for your help,
>>
>> Fred
>>
>> On Mon, Mar 4, 2024 at 5:31 PM vince  wrote:
>>
>>> Read the upgrade guide and at least a dozen posts from others who didn’t 
>>> do so either. The commands changed.
>>>
>>> On Monday, March 4, 2024 at 2:20:09 PM UTC-8 Fred Keller wrote:
>>>
>>>> I think my Ubuntu system tried to update my WeeWx 4.10.2 installation 
>>>> and had an issue.  I notice that there is a new generic 5.0 configuration 
>>>> file in my /etc/weewx directory.  However, I don't think my installation 
>>>> file was updated to version 5.  I tried to use wee_config --version to 
>>>> determine my version number, but the system does not seem to be able to 
>>>> locate wee_config.   It has been so long since I setup WeeWx that I do not 
>>>> know if I am doing something wrong when I issue the command.  I am using:  
>>>>
>>>> sudo wee_config --version. 
>>>>
>>>> However, when I try this now it cannot find wee_config
>>>>
>>>> Any help would be appreciated.
>>>>
>>>> Fred Keller
>>>>
>>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "weewx-user" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/weewx-user/jg1WbAoln60/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> weewx-user+...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/weewx-user/b2dfa0eb-c8ed-4842-9267-1f7b77bc2377n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/weewx-user/b2dfa0eb-c8ed-4842-9267-1f7b77bc2377n%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
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/552f0ff6-212c-4e85-8048-12bca7e7b80fn%40googlegroups.com.


Re: [weewx-user] Re: WeeWx Upgrade Failure

2024-03-04 Thread Fred Keller
Thanks for your quick reply.I went to the Upgrade guide and I now see
that the commands changed and the new commands are working.

I have another question.  After the upgrade WeeWx is using my prior
configuration file which I think is the default.  However, my current file
shows version 4.10.2.  Should I manually edit my config file to show the
current version.  I notice that the standard webpage in 192.168.../weewx is
still showing version 4.10.2.

Thanks for your help,

Fred

On Mon, Mar 4, 2024 at 5:31 PM vince  wrote:

> Read the upgrade guide and at least a dozen posts from others who didn’t
> do so either. The commands changed.
>
> On Monday, March 4, 2024 at 2:20:09 PM UTC-8 Fred Keller wrote:
>
>> I think my Ubuntu system tried to update my WeeWx 4.10.2 installation and
>> had an issue.  I notice that there is a new generic 5.0 configuration file
>> in my /etc/weewx directory.  However, I don't think my installation file
>> was updated to version 5.  I tried to use wee_config --version to determine
>> my version number, but the system does not seem to be able to locate
>> wee_config.   It has been so long since I setup WeeWx that I do not know if
>> I am doing something wrong when I issue the command.  I am using:
>>
>> sudo wee_config --version.
>>
>> However, when I try this now it cannot find wee_config
>>
>> Any help would be appreciated.
>>
>> Fred Keller
>>
>> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/jg1WbAoln60/unsubscribe.
> To unsubscribe from this group and all its topics, 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/b2dfa0eb-c8ed-4842-9267-1f7b77bc2377n%40googlegroups.com
> <https://groups.google.com/d/msgid/weewx-user/b2dfa0eb-c8ed-4842-9267-1f7b77bc2377n%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAAQk4rTrpt-jGCu6owBd3Fbu%2BvdQFLYrOUgQHspd2Zz0V4U7Dw%40mail.gmail.com.


[weewx-user] WeeWx Upgrade Failure

2024-03-04 Thread Fred Keller
I think my Ubuntu system tried to update my WeeWx 4.10.2 installation and 
had an issue.  I notice that there is a new generic 5.0 configuration file 
in my /etc/weewx directory.  However, I don't think my installation file 
was updated to version 5.  I tried to use wee_config --version to determine 
my version number, but the system does not seem to be able to locate 
wee_config.   It has been so long since I setup WeeWx that I do not know if 
I am doing something wrong when I issue the command.  I am using:  

sudo wee_config --version. 

However, when I try this now it cannot find wee_config

Any help would be appreciated.

Fred Keller

-- 
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/068f6cb9-2271-4455-8dc1-bc73d8ac97d2n%40googlegroups.com.


Re: [weewx-user] Problem Running wee_device

2023-03-28 Thread Fred Keller
Tom,

Thanks for the quick response.  I don't know why I missed that.  I just
used sudo ahead of the wee_device --info command and it worked
as expected.  I'm not sure why I wasn't using sudo for this command because
I use it for all the others!!  I'm fairly new to the Linux command line.

Thanks again,

Fred

On Tue, Mar 28, 2023 at 10:23 AM Tom Keffer  wrote:

> See the section *Permissions
> <https://weewx.com/docs/usersguide.htm#permissions>* in the User's Guide.
>
> On Tue, Mar 28, 2023 at 7:16 AM Fred Keller  wrote:
>
>> I am getting an error when I try to run wee_device.
>>
>> I stopped the weewx service and waited 1 minute before issuing
>>  wee_device --info
>>
>> I got the following error message:
>>
>> wee_device --info
>>
>> Using configuration file /etc/weewx/weewx.conf
>>
>> Using Vantage driver version 3.5.2 (weewx.drivers.vantage)
>>
>> Traceback (most recent call last):
>>
>>   File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322,
>> in open
>>
>> self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY |
>> os.O_NONBLOCK)
>>
>> PermissionError: [Errno 13] Permission denied: '/dev/ttyUSB0'
>>
>>
>> During handling of the above exception, another exception occurred:
>>
>>
>> Traceback (most recent call last):
>>
>>   File "/usr/share/weewx/wee_device", line 76, in 
>>
>> main()
>>
>>   File "/usr/share/weewx/wee_device", line 72, in main
>>
>> device.configure(config_dict)
>>
>>   File "/usr/share/weewx/weewx/drivers/__init__.py", line 67, in configure
>>
>> self.do_options(options, parser, config_dict, not options.noprompt)
>>
>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 2155, in
>> do_options
>>
>> station = Vantage(**config_dict[DRIVER_NAME])
>>
>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 531, in __init__
>>
>> self.port.openPort()
>>
>>   File "/usr/share/weewx/weewx/drivers/vantage.py", line 318, in openPort
>>
>> self.serial_port = serial.Serial(self.port, self.baudrate,
>> timeout=self.timeout)
>>
>>   File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244,
>> in __init__
>>
>> self.open()
>>
>>   File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325,
>> in open
>>
>> raise SerialException(msg.errno, "could not open port {}:
>> {}".format(self._port, msg))
>>
>> serial.serialutil.SerialException: [Errno 13] could not open port
>> /dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'
>>
>>
>> I am not sure what to change on my system to allow wee_device to access
>> the /dev/ttyUSB0.
>>
>>
>> Fred
>>
>> --
>> 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/57b5-8300-4458-8213-2938c3c25c96n%40googlegroups.com
>> <https://groups.google.com/d/msgid/weewx-user/57b5-8300-4458-8213-2938c3c25c96n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/98tb_b0X53E/unsubscribe.
> To unsubscribe from this group and all its topics, 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/CAPq0zECVUhZnH1e6eXgykt%3DtBz3mHm7yuFBMiGFcBXMW%2BWcqgw%40mail.gmail.com
> <https://groups.google.com/d/msgid/weewx-user/CAPq0zECVUhZnH1e6eXgykt%3DtBz3mHm7yuFBMiGFcBXMW%2BWcqgw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>

-- 
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/CAAQk4rSBsWa3iQirFTj5S8LkkOuLmRRc2Bav74J%2BR%2B4QH_UPZQ%40mail.gmail.com.


[weewx-user] Problem Running wee_device

2023-03-28 Thread Fred Keller
I am getting an error when I try to run wee_device.

I stopped the weewx service and waited 1 minute before issuing
 wee_device --info

I got the following error message:

wee_device --info

Using configuration file /etc/weewx/weewx.conf

Using Vantage driver version 3.5.2 (weewx.drivers.vantage)

Traceback (most recent call last):

  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 322, in 
open

self.fd = os.open(self.portstr, os.O_RDWR | os.O_NOCTTY | os.O_NONBLOCK)

PermissionError: [Errno 13] Permission denied: '/dev/ttyUSB0'


During handling of the above exception, another exception occurred:


Traceback (most recent call last):

  File "/usr/share/weewx/wee_device", line 76, in 

main()

  File "/usr/share/weewx/wee_device", line 72, in main

device.configure(config_dict)

  File "/usr/share/weewx/weewx/drivers/__init__.py", line 67, in configure

self.do_options(options, parser, config_dict, not options.noprompt)

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 2155, in do_options

station = Vantage(**config_dict[DRIVER_NAME])

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 531, in __init__

self.port.openPort()

  File "/usr/share/weewx/weewx/drivers/vantage.py", line 318, in openPort

self.serial_port = serial.Serial(self.port, self.baudrate, 
timeout=self.timeout)

  File "/usr/lib/python3/dist-packages/serial/serialutil.py", line 244, in 
__init__

self.open()

  File "/usr/lib/python3/dist-packages/serial/serialposix.py", line 325, in 
open

raise SerialException(msg.errno, "could not open port {}: 
{}".format(self._port, msg))

serial.serialutil.SerialException: [Errno 13] could not open port 
/dev/ttyUSB0: [Errno 13] Permission denied: '/dev/ttyUSB0'


I am not sure what to change on my system to allow wee_device to access the 
/dev/ttyUSB0.


Fred

-- 
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/57b5-8300-4458-8213-2938c3c25c96n%40googlegroups.com.


Re: [weewx-user] Re: WeeWX Interceptor: Rain not registering

2017-09-20 Thread Fred
Hi Mike,

My pleasure...
Would this article help you maybe?

Click!
<https://kb.netgear.com/24290/How-do-I-add-a-custom-port-forwarding-service-on-my-Nighthawk-router>

Fred


On Wed, Sep 20, 2017 at 2:55 PM, Mike Frison <mikefri...@gmail.com> wrote:

> Just a couple of sprinkles yesterday but significant rain this morning.
> Weewx is now matching the console, WU, and AmbientWeather.net numbers on
> the daily total.
>
> Success!
>
> Fred - I wanted to thank you for the iptables commands you posted
> earlier.  I like that they send a copy of the data to the pi while allowing
> it to continue directly to WU and other sites.  I made two changes:  I
> eliminated the POSTROUTING line because the interceptor driver doesn't seem
> to care about WU's response and I added the WU address as a destination so
> that it doesn't also forward the data being sent to AmbientWeather.net by
> my machine.  (I don't know if your Ventus supports multiple data streams)
>
> iptables -t mangle -A PREROUTING  -s 192.168.1.16 -d rtupdate.wunderground
> .com -j ROUTE --tee --gw 192.168.1.3
>
> The first IP is the weather station and the second is the pi.
>
> Now if I could just figure out how to get the router (Netgear R7000
> running AdvancedTomato v3.4-140) to send it to a port on the pi other than
> 80.
>
> Mike
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/3wGBXbrNYJs/unsubscribe.
> To unsubscribe from this group and all its topics, 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.


Re: [weewx-user] Re: WeeWX Interceptor: Rain not registering

2017-09-19 Thread Fred
Heh, maybe you just missed a *lot* of rain? ;)

On 19 Sep 2017 18:09, "Mike Frison"  wrote:

>
> It appears that, at least on the ws-2902, rainin is the wrong choice. I
> noticed v0.35 of interceptor.py last evening and installed it. As of 8AM
> this morning weewx is reporting today's rain at 7.37 inches with a high
> rain rate of 6.52 in/hr at 05:07:31.  The console, WU, and
> ambientweather.net all report a daily total of 0.12 inches.
>
> A search of /var/log/syslog shows consistent messages of: *interceptor:
> MainThread: using rain from 'rainin'*
>
>
> From the WS-2902 manual:
> *6.5.3 Increments of Rain Definitions*
>
>- *Rain rate or hourly rain *is defined as the last 10 minutes of
>rainfall, multiplied by six (10 minutes x 6 = 1 hour). This is also
>referred to as instantaneous rain per hour.
>- *Rain event* is defined as continuous rain, and resets to zero if
>rainfall accumulation is less than 10 mm   (0.039 in)in a 24 hour period.
>- *Daily Rain* is defined as the rainfall since midnight (00:00).
>- *Weekly Rain* is defined as the  calendar week total and resets on
>Sunday morning at midnight (Sunday thru Saturday)
>- *Monthly Rain* is defined as the calendar month total and resets on
>the first day of the Month.
>- *Total Rain* is defined as the running total since station was
>powered up.
>
> I would guess that on the ws-2902 rainin is the *Rain rate.*
>
>
>
> .
>
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/weewx-user/3wGBXbrNYJs/unsubscribe.
> To unsubscribe from this group and all its topics, 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: WeeWX Interceptor: Rain not registering

2017-09-18 Thread Fred
lol!

I saw the new version appear on Github as I wanted to have a look at the 
code...

Excellent and quick service Sir! Thanks!

Fred

On Monday, September 18, 2017 at 9:34:31 PM UTC+2, mwall wrote:
>
> ok, yet another change at driver v0.34
>
> this will prefer rainin, which appears to be a delta measurement
>
> if there is no rainin, it will use yearlyrainin or yearlyrain
>
> if no yearly, it will use dailyrainin or dailyrain
>
> sigh.
>
> so many different firmware versions, and they all do different things. 
>  thank you fine offset for such attention to detail!
>
> 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: WeeWX Interceptor: Rain not registering

2017-09-18 Thread Fred
I shall try that version as well (Hopefully this weekend!) and let you know 
my results :)

Thanks

Fred


On Monday, September 18, 2017 at 9:05:17 PM UTC+2, mwall wrote:
>
> On Monday, September 18, 2017 at 2:49:51 PM UTC-4, Mike Frison wrote:
>>
>>
>> So, still no rain.
>>
>
> that looks like expected behavior.  the 'rain' field in weewx LOOP and 
> ARCHIVE data is a *delta* measure, not a *cumulative* measure.  the first 
> time through there is no last value with which to calculate a delta, so 
> 'rain' is None.  rain_total is set to 0.48.  the second time there is no 
> change to the rain total - it is 0.48 again.  so the value for 'rain' is 0.
>
> if you tip the bucket, you should see rain_total change, and you should 
> see the volume for a single bucket tip reported for 'rain'
>
> 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: WeeWX Interceptor: Rain not registering

2017-07-13 Thread Fred
yes, indeed, but would that break other weatherstation interceptor data?

Also, would that be hard to implement? I guess for a generic Wunderground 
Interceptor it would cover many stations in one decoding (This is me 
assuming all station reporting always report all the same fields tu WU?!? 
Probably wishful thinking...)

Fred


On Thursday, July 13, 2017 at 5:45:19 PM UTC+2, mwall wrote:
>
> On Thursday, July 13, 2017 at 11:31:33 AM UTC-4, Fred wrote:
>>
>> The station is not very old yet: Is it possible it posts the  
>> yearrain because it simply has not calculated it yet?!?
>>
>
> i suppose that is possible.  but meanwhile we are missing rainfall data!
>
> according to the wunderground docs:
>
> rainin - [rain inches over the past hour)] -- the accumulated rainfall in the 
> past 60 min
> dailyrainin - [rain inches so far today in local time]
>
>
> so i suppose i could make the interceptor use dailyrainin instead of 
> yearrainin, as long as we get the local time right...
>
> cannot use rainin since it is a moving window - rain in the past 60 min, 
> not rain since the top of the last hour.
>
> 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: WeeWX Interceptor: Rain not registering

2017-07-13 Thread Fred
Hi Jan,

Biggest problem was getting the data to the interceptor driver: My 
weatherstation is on a different router than my pi...

Thankfully I have the ASUS wrt router software installed, so I was able to 
insert some rules to forward my traffic sent from port 80 to the pi:

iptables -t mangle -A PREROUTING  -s 192.168.2.165 -j ROUTE --tee --gw 
192.168.1.45
iptables -t mangle -A POSTROUTING -d 192.168.2.165 -j ROUTE --tee --gw 
192.168.1.45

The first IP is my weatherstation, the second IP is the PI ...

Maybe it can help you in your quest :)

Fred


On Thursday, July 13, 2017 at 2:54:52 PM UTC+2, jan hallink wrote:
>
>
> Hello Fred
> Very interesting what you are trying to fix. 
> I also planned to buy a ventus w830 and if possible connect it to weewx.
> Unfortunately I can't help you directly,but maybe you can search on fine 
> offset wh2900.
> It's the same weather station and there was a thread about it in april/may.
> They gave some hints about the archive interval time.
>
> Jan 
>

-- 
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: WeeWX Interceptor: Rain not registering

2017-07-13 Thread Fred
Oh,

forgot to mention:

The station is not very old yet: Is it possible it posts the  yearrain 
because it simply has not calculated it yet?!?

Just theorizing :)

Fred


On Thursday, July 13, 2017 at 5:29:59 PM UTC+2, Fred wrote:
>
> Hi,
>
> First of all: Thank you for writing this software! Its great :)
>
> This is the section you requested (Full file is in my original post, but 
> maybe you missed it)
>
> [Interceptor]
> # This section is for the network traffic interceptor driver.
> 
> # The driver to use:
> driver = user.interceptor
> 
> # Specify the hardware device to capture.  Options include:
> #   acurite-bridge - acurite internet bridge
> #   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
> #   lw30x - oregon scientific LW301/LW302
> #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
> device_type = observer
> mode = sniff
> iface = enxb827eb718db1
> pcap_filter = src 192.168.2.165 and dst port 80
>
>
> Thanks!
>
>
> Fred
>
>
> On Thursday, July 13, 2017 at 5:19:35 PM UTC+2, mwall wrote:
>>
>>
>>
>> On Wednesday, July 12, 2017 at 2:38:28 PM UTC-4, Fred wrote:
>>>
>>> Anybody have any idea what is going wrong?
>>>
>>>
>> fred,
>>
>
>  
>
>>
>> please post the [Interceptor] section of your weewx configuration.
>>
>> it looks like your station is always sending a junk value (-) for 
>> yearrainin.  yearrainin is the observation that the interceptor driver uses 
>> to determine the rainfall.  so when your station always reports -, the 
>> driver maps that to 'None', and voila! you have no rain reported.
>>
>> i used yearrainin in order to minimize the effects of counter rollover, 
>> and because i was not seeing consistent use of rainin (is it rain since 
>> last sampling?  in a certain time period?  it seems to vary depending on 
>> the manufacturer and/or the firmware)
>>
>> it looks like your rainin is a counter, but counting since when?  when 
>> does rainin reset?  and why is there no value for your yearrainin?
>>
>> your station is also reporting absbaromin.  this value would be preferred 
>> to baromin, which i assume is a derivation of absbaromin with 
>> altitude/temperature compensation.  i'll have to see about making the 
>> driver prefer absbaromin if it exists.
>>
>> btw, at some point the wu-based portions of the interceptor probably 
>> belong in a separate driver that simply captures data bound for wu, either 
>> by sniffing or by listening.  that driver *should* work with any 
>> manufacturer's hardware/firmware as long as they adhere to the wu protocol.
>>
>> 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: WeeWX Interceptor: Rain not registering

2017-07-13 Thread Fred
Hi,

First of all: Thank you for writing this software! Its great :)

This is the section you requested (Full file is in my original post, but 
maybe you missed it)

[Interceptor]
# This section is for the network traffic interceptor driver.

# The driver to use:
driver = user.interceptor

# Specify the hardware device to capture.  Options include:
#   acurite-bridge - acurite internet bridge
#   observer - fine offset WH2600/HP1000/HP1003, aka 'observer'
#   lw30x - oregon scientific LW301/LW302
#   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge
device_type = observer
mode = sniff
iface = enxb827eb718db1
pcap_filter = src 192.168.2.165 and dst port 80


Thanks!


Fred


On Thursday, July 13, 2017 at 5:19:35 PM UTC+2, mwall wrote:
>
>
>
> On Wednesday, July 12, 2017 at 2:38:28 PM UTC-4, Fred wrote:
>>
>> Anybody have any idea what is going wrong?
>>
>>
> fred,
>

 

>
> please post the [Interceptor] section of your weewx configuration.
>
> it looks like your station is always sending a junk value (-) for 
> yearrainin.  yearrainin is the observation that the interceptor driver uses 
> to determine the rainfall.  so when your station always reports -, the 
> driver maps that to 'None', and voila! you have no rain reported.
>
> i used yearrainin in order to minimize the effects of counter rollover, 
> and because i was not seeing consistent use of rainin (is it rain since 
> last sampling?  in a certain time period?  it seems to vary depending on 
> the manufacturer and/or the firmware)
>
> it looks like your rainin is a counter, but counting since when?  when 
> does rainin reset?  and why is there no value for your yearrainin?
>
> your station is also reporting absbaromin.  this value would be preferred 
> to baromin, which i assume is a derivation of absbaromin with 
> altitude/temperature compensation.  i'll have to see about making the 
> driver prefer absbaromin if it exists.
>
> btw, at some point the wu-based portions of the interceptor probably 
> belong in a separate driver that simply captures data bound for wu, either 
> by sniffing or by listening.  that driver *should* work with any 
> manufacturer's hardware/firmware as long as they adhere to the wu protocol.
>
> 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] WeeWX Interceptor: Rain not registering

2017-07-12 Thread Fred
39 2e 
37 33 26 62 61 72 6f 6d 69 6e 3d 32 39 2e 35 36 26 72 61 69 6e 69 6e 3d 30 
2e 35 30 26 64 61 69 6c 79 72 61 69 6e 69 6e 3d 30 2e 38 33 26 77 65 65 6b 
6c 79 72 61 69 6e 69 6e 3d 31 2e 30 38 26 6d 6f 6e 74 68 6c 79 72 61 69 6e 
69 6e 3d 33 2e 31 31 26 79 65 61 72 6c 79 72 61 69 6e 69 6e 3d 2d 39 39 39 
39 26 73 6f 6c 61 72 72 61 64 69 61 74 69 6f 6e 3d 31 32 2e 34 38 26 55 56 
3d 30 26 64 61 74 65 75 74 63 3d 32 30 31 37 2d 37 2d 31 32 25 32 30 36 3a 
33 3a 37 26 73 6f 66 74 77 61 72 65 74 79 70 65 3d 45 61 73 79 57 65 61 74 
68 65 72 56 31 2e 31 2e 32 26 61 63 74 69 6f 6e 3d 75 70 64 61 74 65 72 61 
77 26 72 65 61 6c 74 69 6d 65 3d 31 26 72 74 66 72 65 71 3d 35 20 48 54 54 
50 2f 31 2e 30 0d 0a 41 63 63 65 70 74 3a 2a 2f 2a 0d 0a 48 6f 73 74 3a 20 
72 74 75 70 64 61 74 65 2e 77 75 6e 64 65 72 67 72 6f 75 6e 64 2e 63 6f 6d 
0d 0a 43 6f 6e 6e 65 63 74 69 6f 6e 3a 20 43 6c 6f 73 65 0d 0a 0d 0a
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: SNIFF: 
ID=ITILBURG71==73.0=59.9=59.5=59.9=60=99=0.7=1.1=267=29.73=29.56=0.50=0.83=1.08=3.11=-=12.48=0=2017-7-12%206:3:7=EasyWeatherV1.1.2=updateraw=1=5
 
HTTP/1.0#015#012Accept:*/*#015#012Host: 
rtupdate.wunderground.com#015#012Connection: Close
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: ServerThread: sniff: 
start GET
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: raw data: 
ID=ITILBURG71==73.0=59.9=59.5=59.9=60=99=0.7=1.1=267=29.73=29.56=0.50=0.83=1.08=3.11=-=12.48=0=2017-7-12%206:3:7=EasyWeatherV1.1.2=updateraw=1=5
 
HTTP/1.0#015#012Accept:*/*#015#012Host: 
rtupdate.wunderground.com#015#012Connection: Close
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: ignored 
parameter rainin=0.50
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: unrecognized 
parameter absbaromin=29.73
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: ignored 
parameter dailyrainin=0.83
Jul 12 08:03:28 FredsPi weewx[18976]: interceptor: MainThread: ignored 
parameter monthlyrainin=3.11 

Anybody have any idea what is going wrong?

Any help is appreciated!

Fred


-- 
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 CONFIGURATION FILE
#
# Copyright (c) 2009-2015 Tom Keffer <tkef...@gmail.com>
# 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 = 0

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

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

##

#   This section is for information about the station.

[Station]

# Description of the station location
location = "Tilburg, Reeshof, Leeuwerik"

# Latitude and longitude in decimal degrees
latitude = 51.5916780
longitude = 4.9848560

# Altitude of the station, with unit it is in. This is downloaded from
# from the station if the hardware supports it.
altitude = 10, meter

# 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 = Interceptor

# 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 = 6

##

[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 LOOP packet.
mode = simulator
# Generator.  Emit LOOP packets as fast as possible (useful for testing).
#mode = generator

# The start time. If not specified, the default is to use the present time.
#start = 2011-01-01 00:00

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

##

#   This section is for uploading data to Internet sites

[StdRESTful]

[[StationRegistry]]
# To register this weather station with weewx, set this to true
regist