Running the script directly works, so it is something todo with the Weewx - 
Interceptor link that isn't quite right.

Example output:

sudo PYTHONPATH=/usr/share/weewx python 
/usr/share/weewx/user/interceptor.py --device=wu-client --mode=sniff 
--iface=wlan0 --filter="src 192.168.4.50 and dst port 80"
mapped packet: {'barometer': 30.58, 'windchill': 46.4, 'dewpoint': 44.6, 
'outHumidity': 94.0, 'UV': 0.0, 'radiation': 0.0, 'rain': None, 'dateTime': 
1590407824, 'windDir': 86.0, 'outTemp': 46.4, 'windSpeed': 0.7, 
'inHumidity': 57.0, 'inTemp': 70.0, 'windGust': 1.1, 'usUnits': 1}
mapped packet: {'barometer': 30.58, 'windchill': 46.4, 'dewpoint': 44.6, 
'outHumidity': 94.0, 'UV': 0.0, 'radiation': 0.0, 'rain': 0.0, 'dateTime': 
1590407824, 'windDir': 80.0, 'outTemp': 46.4, 'windSpeed': 0.9, 
'inHumidity': 57.0, 'inTemp': 70.0, 'windGust': 1.1, 'usUnits': 1}
mapped packet: {'barometer': 30.58, 'windchill': 46.4, 'dewpoint': 44.6, 
'outHumidity': 94.0, 'UV': 0.0, 'radiation': 0.0, 'rain': 0.0, 'dateTime': 
1590407884, 'windDir': 80.0, 'outTemp': 46.4, 'windSpeed': 0.9, 
'inHumidity': 57.0, 'inTemp': 69.8, 'windGust': 1.1, 'usUnits': 1}
mapped packet: {'barometer': 30.58, 'windchill': 46.4, 'dewpoint': 44.6, 
'outHumidity': 94.0, 'UV': 0.0, 'radiation': 0.0, 'rain': 0.0, 'dateTime': 
1590407884, 'windDir': 128.0, 'outTemp': 46.4, 'windSpeed': 1.1, 
'inHumidity': 57.0, 'inTemp': 69.8, 'windGust': 1.1, 'usUnits': 1}



-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8a7a45f2-c475-4226-845d-917560ba2251%40googlegroups.com.

Reply via email to