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 (<type 'exceptions.OSError'>)
> 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to