Ok so i think the problem is the SDR isnt seeing my outdoor array, for most 
of the logging. 
If i run this i see all my others but not the AW065HPacket which is the 
outdoor array. 
but i can see the data from this in my log from weewx when run directly. I 
modified the SDR.py with the same command as weewx but i dont see it. 
pi@raspberrypi:/etc/weewx $ sudo PYTHONPATH=/usr/share/weewx python 
/usr/share/weewx/user/sdr.py
out: ['{"time" : "2019-03-22 14:37:43", "model" : "AmbientWeather-WH31E", 
"id" : 47, "channel" : 5, "battery" : "OK", "temperature_C" : 22.200, 
"humidity" : 40, "data" : "8d00000000", "mic" : "CRC"}\n', '{"time" : 
"2019-03-22 14:37:43", "model" : "AmbientWeather-WH31E", "id" : 47, 
"channel" : 5, "battery" : "OK", "temperature_C" : 22.200, "humidity" : 40, 
"data" : "8d00000000", "mic" : "CRC"}\n']
parsed: {'rssi.47.AmbientWH31EPacket': None, 
'temperature.47.AmbientWH31EPacket': 22.2, 'noise.47.AmbientWH31EPacket': 
None, 'channel.47.AmbientWH31EPacket': 5, 'humidity.47.AmbientWH31EPacket': 
40.0, 'dateTime': 1553265463, 'battery.47.AmbientWH31EPacket': 0, 
'snr.47.AmbientWH31EPacket': None, 'usUnits': 17}
parsed: {'rssi.47.AmbientWH31EPacket': None, 
'temperature.47.AmbientWH31EPacket': 22.2, 'noise.47.AmbientWH31EPacket': 
None, 'channel.47.AmbientWH31EPacket': 5, 'humidity.47.AmbientWH31EPacket': 
40.0, 'dateTime': 1553265463, 'battery.47.AmbientWH31EPacket': 0, 
'snr.47.AmbientWH31EPacket': None, 'usUnits': 17}
out: ['{"time" : "2019-03-22 14:37:51", "model" : "AmbientWeather-WH31E", 
"id" : 116, "channel" : 2, "battery" : "OK", "temperature_C" : 12.500, 
"humidity" : 65, "data" : "1700000000", "mic" : "CRC"}\n', '{"time" : 
"2019-03-22 14:37:51", "model" : "AmbientWeather-WH31E", "id" : 116, 
"channel" : 2, "battery" : "OK", "temperature_C" : 12.500, "humidity" : 65, 
"data" : "1700000000", "mic" : "CRC"}\n']
parsed: {'snr.116.AmbientWH31EPacket': None, 
'noise.116.AmbientWH31EPacket': None, 'battery.116.AmbientWH31EPacket': 0, 
'rssi.116.AmbientWH31EPacket': None, 'dateTime': 1553265471, 
'humidity.116.AmbientWH31EPacket': 65.0, 'usUnits': 17, 
'channel.116.AmbientWH31EPacket': 2, 'temperature.116.AmbientWH31EPacket': 
12.5}
parsed: {'snr.116.AmbientWH31EPacket': None, 
'noise.116.AmbientWH31EPacket': None, 'battery.116.AmbientWH31EPacket': 0, 
'rssi.116.AmbientWH31EPacket': None, 'dateTime': 1553265471, 
'humidity.116.AmbientWH31EPacket': 65.0, 'usUnits': 17, 
'channel.116.AmbientWH31EPacket': 2, 'temperature.116.AmbientWH31EPacket': 
12.5}
out: ['{"time" : "2019-03-22 14:37:59", "model" : "AmbientWeather-WH31E", 
"id" : 6, "channel" : 6, "battery" : "OK", "temperature_C" : -18.400, 
"humidity" : 66, "data" : "c200000000", "mic" : "CRC"}\n', '{"time" : 
"2019-03-22 14:37:59", "model" : "AmbientWeather-WH31E", "id" : 6, 
"channel" : 6, "battery" : "OK", "temperature_C" : -18.400, "humidity" : 
66, "data" : "c200000000", "mic" : "CRC"}\n']
parsed: {'snr.6.AmbientWH31EPacket': None, 
'temperature.6.AmbientWH31EPacket': -18.4, 'rssi.6.AmbientWH31EPacket': 
None, 'dateTime': 1553265479, 'battery.6.AmbientWH31EPacket': 0, 
'noise.6.AmbientWH31EPacket': None, 'humidity.6.AmbientWH31EPacket': 66.0, 
'usUnits': 17, 'channel.6.AmbientWH31EPacket': 6}
parsed: {'snr.6.AmbientWH31EPacket': None, 
'temperature.6.AmbientWH31EPacket': -18.4, 'rssi.6.AmbientWH31EPacket': 
None, 'dateTime': 1553265479, 'battery.6.AmbientWH31EPacket': 0, 
'noise.6.AmbientWH31EPacket': None, 'humidity.6.AmbientWH31EPacket': 66.0, 
'usUnits': 17, 'channel.6.AmbientWH31EPacket': 6}
out: ['{"time" : "2019-03-22 14:38:31", "model" : "AmbientWeather-WH31E", 
"id" : 211, "channel" : 1, "battery" : "OK", "temperature_C" : 9.400, 
"humidity" : 52, "data" : "5e00000000", "mic" : "CRC"}\n', '{"time" : 
"2019-03-22 14:38:31", "model" : "AmbientWeather-WH31E", "id" : 211, 
"channel" : 1, "battery" : "OK", "temperature_C" : 9.400, "humidity" : 52, 
"data" : "5e00000000", "mic" : "CRC"}\n', '{"time" : "2019-03-22 14:38:32", 
"model" : "AmbientWeather-WH31E", "id" : 160, "channel" : 7, "battery" : 
"OK", "temperature_C" : 21.000, "humidity" : 44, "data" : "e000000000", 
"mic" : "CRC"}\n', '{"time" : "2019-03-22 14:38:32", "model" : 
"AmbientWeather-WH31E", "id" : 160, "channel" : 7, "battery" : "OK", 
"temperature_C" : 21.000, "humidity" : 44, "data" : "e000000000", "mic" : 
"CRC"}\n']
parsed: {'channel.211.AmbientWH31EPacket': 1, 'snr.211.AmbientWH31EPacket': 
None, 'noise.211.AmbientWH31EPacket': None, 'dateTime': 1553265511, 
'rssi.211.AmbientWH31EPacket': None, 'battery.211.AmbientWH31EPacket': 0, 
'temperature.211.AmbientWH31EPacket': 9.4, 
'humidity.211.AmbientWH31EPacket': 52.0, 'usUnits': 17}
parsed: {'channel.211.AmbientWH31EPacket': 1, 'snr.211.AmbientWH31EPacket': 
None, 'noise.211.AmbientWH31EPacket': None, 'dateTime': 1553265511, 
'rssi.211.AmbientWH31EPacket': None, 'battery.211.AmbientWH31EPacket': 0, 
'temperature.211.AmbientWH31EPacket': 9.4, 
'humidity.211.AmbientWH31EPacket': 52.0, 'usUnits': 17}
parsed: {'battery.160.AmbientWH31EPacket': 0, 
'rssi.160.AmbientWH31EPacket': None, 'humidity.160.AmbientWH31EPacket': 
44.0, 'temperature.160.AmbientWH31EPacket': 21.0, 
'channel.160.AmbientWH31EPacket': 7, 'snr.160.AmbientWH31EPacket': None, 
'noise.160.AmbientWH31EPacket': None, 'dateTime': 1553265512, 'usUnits': 17}
parsed: {'battery.160.AmbientWH31EPacket': 0, 
'rssi.160.AmbientWH31EPacket': None, 'humidity.160.AmbientWH31EPacket': 
44.0, 'temperature.160.AmbientWH31EPacket': 21.0, 
'channel.160.AmbientWH31EPacket': 7, 'snr.160.AmbientWH31EPacket': None, 
'noise.160.AmbientWH31EPacket': None, 'dateTime': 1553265512, 'usUnits': 17}
out: ['{"time" : "2019-03-22 14:38:48", "model" : "AmbientWeather-WH31E", 
"id" : 47, "channel" : 5, "battery" : "OK", "temperature_C" : 22.100, 
"humidity" : 40, "data" : "b100000000", "mic" : "CRC"}\n']
parsed: {'rssi.47.AmbientWH31EPacket': None, 
'temperature.47.AmbientWH31EPacket': 22.1, 'noise.47.AmbientWH31EPacket': 
None, 'channel.47.AmbientWH31EPacket': 5, 'humidity.47.AmbientWH31EPacket': 
40.0, 'dateTime': 1553265528, 'battery.47.AmbientWH31EPacket': 0, 
'snr.47.AmbientWH31EPacket': None, 'usUnits': 17}
^CTraceback (most recent call last):
  File "/usr/share/weewx/user/sdr.py", line 2364, in <module>
    main()
  File "/usr/share/weewx/user/sdr.py", line 2348, in main
    for lines in mgr.get_stdout():
  File "/usr/share/weewx/user/sdr.py", line 220, in get_stdout
    line = self.stdout_queue.get(True, 3)
  File "/usr/lib/python2.7/Queue.py", line 177, in get
    self.not_empty.wait(remaining)
  File "/usr/lib/python2.7/threading.py", line 359, in wait
    _sleep(delay)
KeyboardInterrupt


On Thursday, March 21, 2019 at 4:51:43 PM UTC-4, Bruce Butkus wrote:
>
> Im not really sure whats the issue here, and ive googled, tried a ton of 
> things, but I need some hints. 
> So ive got my RTL433 working well, i can grab the info directly from it 
> easily. 
> I got the sensor map worked out for an initial run, (ill add to it later)  
> but i have two issues right now that I cant seem to solve. 
> 1) I keep getting this in my log as I watch it, and I have no idea what it 
> means. I have it setup, in the config file, as shown in MainThread 
> but why isnt my proccess running
>
> Mar 21 16:44:49 raspberrypi kernel: [164483.316709] usb 1-1.4: dvb_usb_v2: 
> schedule remote query interval to 200 msecs
> Mar 21 16:44:49 raspberrypi kernel: [164483.331253] usb 1-1.4: dvb_usb_v2: 
> 'Realtek RTL2832U reference design' successfully initialized and connected
> Mar 21 16:44:50 raspberrypi systemd-udevd[10471]: Process 
> '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with 
> exit code 1.
> Mar 21 16:44:50 raspberrypi systemd-udevd[10470]: Process 
> '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with 
> exit code 1.
> Mar 21 16:44:50 raspberrypi systemd-udevd[10469]: Process 
> '/usr/sbin/th-cmd --socket /var/run/thd.socket --passfd --udev' failed with 
> exit code 1.
> Mar 21 16:44:51 raspberrypi weewx[10322]: sdr: MainThread: err: []
> Mar 21 16:44:51 raspberrypi weewx[10322]: engine: Main loop exiting. 
> Shutting engine down.
> Mar 21 16:44:51 raspberrypi weewx[10322]: sdr: MainThread: shutdown 
> process sudo rtl_433 -F json -R 18 -R 20 -R 113 -R 78 -f 914880000
> Mar 21 16:44:51 raspberrypi weewx[10322]: engine: Caught WeeWxIOError: 
> rtl_433 process is not running
> Mar 21 16:44:51 raspberrypi weewx[10322]:     ****  Waiting 60 seconds 
> then retrying...
>
> 2) I have a pi, on rasperbian so the server page im trying to setup to 
> display the data, is in /var/www/html/weewx
> Bunch of pictures there, but there is no HTML file or anything else from 
> the reports. assuming this because weewx isnt running / getting data 
> because of #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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to