[weewx-user] Re: LW301 Support

2018-12-30 Thread mwall


On Saturday, December 29, 2018 at 4:02:22 PM UTC-5, julz wrote:
>
> barometer works occasionally but have no wind speed, wind direction, or 
> rainfall.
> What else am I missing here?
>

julz,

please run the interceptor directly.  for example, if you are using the 
interceptor in listen mode, listening on port 8080:

PYTHONPATH=/home/weewx/bin python /home/weewx/bin/user/interceptor.py 
--device=lw30x --mode=listen --port=8080 --debug

this will provide much more information about what is being sent by the 
station and what is received by weewx.

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: LW301 Support

2018-12-30 Thread mwall
On Saturday, December 29, 2018 at 1:18:44 AM UTC-5, Anthony Fisher wrote:
>
> My first experiment with it stopped working when Oregon Scientific pulled 
> down the Anywhere Weather server designed to work with the LW301. This had 
> the effect of the LW301 continually looking up DNS for the server and 
> getting no-where, so it stopped sending any type of data that the 
> interceptor driver could capture for weewx.
>

anthony,

thank you for posting this.  i have updated the interceptor readme.

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: LW301 Support

2018-12-29 Thread julz
Thanks Anthony,
I have now managed to get my LW301 running however I still have a few 
problems.
Temperature & humidity work Ok!
barometer works occasionally but have no wind speed, wind direction, or 
rainfall.
What else am I missing here?


Many Thanks 
In Advance 

Julz

On Thursday, 20 December 2018 20:27:48 UTC, julz wrote:
>
> The compatibility chart suggests that oregon scientific LW301 & LW302 are 
> compatible with this software but I cannot find any details on how to setup 
> as LW301 is network connected.
> Has anyone got the LW301 working?
> Guess there will be more questions from other interested users as oregon 
> has now killed the server for good!
> Thanks in advance 
>
> Julz
>

-- 
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: LW301 Support

2018-12-28 Thread Anthony Fisher
Hello Julz,

I only just got LW301 working with weewx myself (again). In my case the 
interceptor driver is used in listen mode, not sniff mode, and I have an 
OpenWRT router/mini server running it.

My first experiment with it stopped working when Oregon Scientific pulled 
down the Anywhere Weather server designed to work with the LW301. This had 
the effect of the LW301 continually looking up DNS for the server and 
getting no-where, so it stopped sending any type of data that the 
interceptor driver could capture for weewx.

I've since added a host record to my OpenWRT router so the LW301 sends its 
data to my local box instead of out on the internet, my router rewrites the 
request via firewall rules to port 8080, where the interceptor driver is 
set to listen to and can thus read the data in the http POST and use it for 
weewx. If you haven't done something like this yourself in answering the 
LW301's sad request for a server that no longer exists, the LW301 is 
unlikely to be sending anything useful at all ... it will just forlornly be 
looking for the Oregon server it is designed to send its data to.

Note that you only need to fool the LW301 into thinking it has a 
destination to send the data to - gateway.weather.oregonscientific.com is 
the hostname it wants ... you don't actually have to handle the http POST 
it sends after it finds the appropriately named server.

Hope this helps in some small way.

Cheers,
Anthony

On Sunday, December 23, 2018 at 9:12:14 AM UTC+11, julz wrote:
>
> Can any one help with this..
>
>
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: driver 
> version is 0.42rc2
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: device 
> type: lw30x
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sensor 
> map: {'inTemp': 'ot.2:*.*', 'outTemp': 'ot.1:*.*'}
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: mode is 
> sniff
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sniff 
> iface=eno1 promiscuous=0
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sniff 
> filter 'src 192.168.1.158 and dst port 80'
> Dec 22 22:01:49 localhost weewx[12802]: import of driver failed: 
> Activateing packet capture failed. Error returned by packet capture library 
> was SIOCGIFHWADDR: No such device ()
> Dec 22 22:01:49 localhost weewx[12802]: engine: Unable to load driver: 
> Activateing packet capture failed. Error returned by packet capture library 
> was SIOCGIFHWADDR: No such device
> Dec 22 22:01:49 localhost weewx[12802]:  Exiting...
> Dec 22 22:05:31 localhost chronyd[2545]: Selected source 193.150.34.2
>
> cannot solve this error any body got any ideas?
> Kind regards
> Julz
>
>
>
> On Thursday, 20 December 2018 20:27:48 UTC, julz wrote:
>>
>> The compatibility chart suggests that oregon scientific LW301 & LW302 are 
>> compatible with this software but I cannot find any details on how to setup 
>> as LW301 is network connected.
>> Has anyone got the LW301 working?
>> Guess there will be more questions from other interested users as oregon 
>> has now killed the server for good!
>> Thanks in advance 
>>
>> Julz
>>
>

-- 
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: LW301 Support

2018-12-22 Thread Andrew Milner
have you run the driver directly?

How to run the driver directly

The driver can be run directly for diagnostic purposes.  This can be useful
when setting up the capture pipeline or for determining the sensor 
identifiers.

For example, to run in sniff mode, looking for acurite bridge sensor data:

PYTHONPATH=bin python bin/user/interceptor.py --device=acurite-bridge 
--mode=sniff --iface=eth0 --filter="src 192.168.0.4 and dst port 80"

To run in listen mode, looking for LW302 sensor data on port 9000:

PYTHONPATH=bin python bin/user/interceptor.py --device=lw30x --mode=listen 
--port=9000

Specify help for a full list of options:

PYTHONPATH=bin python bin/user/interceptor.py --help




On Sunday, 23 December 2018 00:12:14 UTC+2, julz wrote:
>
> Can any one help with this..
>
>
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: driver 
> version is 0.42rc2
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: device 
> type: lw30x
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sensor 
> map: {'inTemp': 'ot.2:*.*', 'outTemp': 'ot.1:*.*'}
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: mode is 
> sniff
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sniff 
> iface=eno1 promiscuous=0
> Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sniff 
> filter 'src 192.168.1.158 and dst port 80'
> Dec 22 22:01:49 localhost weewx[12802]: import of driver failed: 
> Activateing packet capture failed. Error returned by packet capture library 
> was SIOCGIFHWADDR: No such device ()
> Dec 22 22:01:49 localhost weewx[12802]: engine: Unable to load driver: 
> Activateing packet capture failed. Error returned by packet capture library 
> was SIOCGIFHWADDR: No such device
> Dec 22 22:01:49 localhost weewx[12802]:  Exiting...
> Dec 22 22:05:31 localhost chronyd[2545]: Selected source 193.150.34.2
>
> cannot solve this error any body got any ideas?
> Kind regards
> Julz
>
>
>
> On Thursday, 20 December 2018 20:27:48 UTC, julz wrote:
>>
>> The compatibility chart suggests that oregon scientific LW301 & LW302 are 
>> compatible with this software but I cannot find any details on how to setup 
>> as LW301 is network connected.
>> Has anyone got the LW301 working?
>> Guess there will be more questions from other interested users as oregon 
>> has now killed the server for good!
>> Thanks in advance 
>>
>> Julz
>>
>

-- 
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: LW301 Support

2018-12-22 Thread julz
Can any one help with this..


Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: driver 
version is 0.42rc2
Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: device 
type: lw30x
Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sensor 
map: {'inTemp': 'ot.2:*.*', 'outTemp': 'ot.1:*.*'}
Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: mode is 
sniff
Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sniff 
iface=eno1 promiscuous=0
Dec 22 22:01:49 localhost weewx[12802]: interceptor: MainThread: sniff 
filter 'src 192.168.1.158 and dst port 80'
Dec 22 22:01:49 localhost weewx[12802]: import of driver failed: 
Activateing packet capture failed. Error returned by packet capture library 
was SIOCGIFHWADDR: No such device ()
Dec 22 22:01:49 localhost weewx[12802]: engine: Unable to load driver: 
Activateing packet capture failed. Error returned by packet capture library 
was SIOCGIFHWADDR: No such device
Dec 22 22:01:49 localhost weewx[12802]:  Exiting...
Dec 22 22:05:31 localhost chronyd[2545]: Selected source 193.150.34.2

cannot solve this error any body got any ideas?
Kind regards
Julz



On Thursday, 20 December 2018 20:27:48 UTC, julz wrote:
>
> The compatibility chart suggests that oregon scientific LW301 & LW302 are 
> compatible with this software but I cannot find any details on how to setup 
> as LW301 is network connected.
> Has anyone got the LW301 working?
> Guess there will be more questions from other interested users as oregon 
> has now killed the server for good!
> Thanks in advance 
>
> Julz
>

-- 
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: LW301 Support

2018-12-22 Thread Andrew Milner
1. forget the fact that simulator works ok
2. clear database to ensure there is no data with 'strange' dateTime 
settings from the simulator
3. I have no interceptor experience but I believe the interceptor driver 
has some debug/test information in the wiki connected to the 
installation/selection of interceptor driver

check the log carefully from start of weewx and see if there is any 
information shown that may be helpful - and attach the log to your post to 
the forum.

let weewx run for at least two archive intervals - what is your archive 
interval set to by the way??  reports are only generated every archive 
interval.



On Saturday, 22 December 2018 19:58:18 UTC+2, julz wrote:
>
> Hi Andrew,
> Have a new centos 7 install there are no errors in the log all functions 
> well with simulator, 
> but when i select the user.interceptor driver and change setting to lw30x 
> there are still no errors in the log 
> however the web page stops updating and all appears to freeze (No activity 
> in the log) 
> Is there a way to test that the driver is receiving lw301 data?
> Have I missed something in the config?
>
> Many Thanks
>
> Julz
>
>
>
>
> On Friday, 21 December 2018 18:13:58 UTC, Andrew Milner wrote:
>>
>> 1. is there anything in the log?
>> 2. delete the old database which has simulator data in it and start 
>> afresh.
>>
>>
>>
>> On Friday, 21 December 2018 18:39:45 UTC+2, julz wrote:
>>>
>>> Thanks Garry,
>>> have followed all setup to the letter, including successful install of 
>>> interceptor, but cannot get any further webpage appears to have stopped 
>>> after selecting the interceptor driver and data is only as from the 
>>> simulator.  Has any one out there managed to get the lw301 working?
>>> Any advice appreciated.
>>>
>>> On Thursday, 20 December 2018 20:51:22 UTC, gjr80 wrote:

 Hi,

 Looks like these stations are supported via the interceptor driver (
 https://github.com/matthewwall/weewx-interceptor). The interceptor 
 driver is still classed as experimental (though has been in use for some 
 time now) so there may still be some issues. The github readme has 
 instructions for installation but you may also find some useful info in 
 the 
 comments at the top of the interceptor.py file. After installing the 
 driver 
 interceptor.py will be in /home/weewx/bin/user or 
 /usr/share/weewx/bin/user 
 depending on your install type.

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


[weewx-user] Re: LW301 Support

2018-12-22 Thread julz
Hi Andrew,
Have a new centos 7 install there are no errors in the log all functions 
well with simulator, 
but when i select the user.interceptor driver and change setting to lw30x 
there are still no errors in the log 
however the web page stops updating and all appears to freeze (No activity 
in the log) 
Is there a way to test that the driver is receiving lw301 data?
Have I missed something in the config?

Many Thanks

Julz




On Friday, 21 December 2018 18:13:58 UTC, Andrew Milner wrote:
>
> 1. is there anything in the log?
> 2. delete the old database which has simulator data in it and start afresh.
>
>
>
> On Friday, 21 December 2018 18:39:45 UTC+2, julz wrote:
>>
>> Thanks Garry,
>> have followed all setup to the letter, including successful install of 
>> interceptor, but cannot get any further webpage appears to have stopped 
>> after selecting the interceptor driver and data is only as from the 
>> simulator.  Has any one out there managed to get the lw301 working?
>> Any advice appreciated.
>>
>> On Thursday, 20 December 2018 20:51:22 UTC, gjr80 wrote:
>>>
>>> Hi,
>>>
>>> Looks like these stations are supported via the interceptor driver (
>>> https://github.com/matthewwall/weewx-interceptor). The interceptor 
>>> driver is still classed as experimental (though has been in use for some 
>>> time now) so there may still be some issues. The github readme has 
>>> instructions for installation but you may also find some useful info in the 
>>> comments at the top of the interceptor.py file. After installing the driver 
>>> interceptor.py will be in /home/weewx/bin/user or /usr/share/weewx/bin/user 
>>> depending on your install type.
>>>
>>> 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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: LW301 Support

2018-12-21 Thread Andrew Milner
1. is there anything in the log?
2. delete the old database which has simulator data in it and start afresh.



On Friday, 21 December 2018 18:39:45 UTC+2, julz wrote:
>
> Thanks Garry,
> have followed all setup to the letter, including successful install of 
> interceptor, but cannot get any further webpage appears to have stopped 
> after selecting the interceptor driver and data is only as from the 
> simulator.  Has any one out there managed to get the lw301 working?
> Any advice appreciated.
>
> On Thursday, 20 December 2018 20:51:22 UTC, gjr80 wrote:
>>
>> Hi,
>>
>> Looks like these stations are supported via the interceptor driver (
>> https://github.com/matthewwall/weewx-interceptor). The interceptor 
>> driver is still classed as experimental (though has been in use for some 
>> time now) so there may still be some issues. The github readme has 
>> instructions for installation but you may also find some useful info in the 
>> comments at the top of the interceptor.py file. After installing the driver 
>> interceptor.py will be in /home/weewx/bin/user or /usr/share/weewx/bin/user 
>> depending on your install type.
>>
>> 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.
For more options, visit https://groups.google.com/d/optout.


[weewx-user] Re: LW301 Support

2018-12-21 Thread julz
Thanks Garry,
have followed all setup to the letter, including successful install of 
interceptor, but cannot get any further webpage appears to have stopped 
after selecting the interceptor driver and data is only as from the 
simulator.  Has any one out there managed to get the lw301 working?
Any advice appreciated.

On Thursday, 20 December 2018 20:51:22 UTC, gjr80 wrote:
>
> Hi,
>
> Looks like these stations are supported via the interceptor driver (
> https://github.com/matthewwall/weewx-interceptor). The interceptor driver 
> is still classed as experimental (though has been in use for some time now) 
> so there may still be some issues. The github readme has instructions for 
> installation but you may also find some useful info in the comments at the 
> top of the interceptor.py file. After installing the driver interceptor.py 
> will be in /home/weewx/bin/user or /usr/share/weewx/bin/user depending on 
> your install type.
>
> 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.
For more options, visit https://groups.google.com/d/optout.