Acurite Atlas Using sdr.py - No Output

126 views
Skip to first unread message

wxwatching

unread,
Sep 10, 2020, 5:55:53 PM9/10/20
to weewx-user
I have installed the sdr.py driver to access my recently purchased Acurite Atlas. I have installed the rtl_433 driver from here:

https://github.com/merbanan/rtl_433

I ran this command:

    sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json"
 
I get no output. Cursor just remains static.

I also ran the following command and this is the only output I get. Any suggestions on what I need to do to get this to work?

    pi@raspberrypi:/ $ sudo rtl_433
    rtl_433 version 20.02-145-gb091ab6 branch master at 202009071341 inputs file rtl_tcp RTL-SDR
    Use -h for usage help and see https://triq.org/ for documentation.
    Trying conf file at "rtl_433.conf"...
    Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
    Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
    Trying conf file at "/etc/rtl_433/rtl_433.conf"...
    Registered 137 out of 166 device decoding protocols [ 1-4 8 11-    12 15-17 19-21 23 25-26 29-36 38-60 63 67-71 73-100 102-105 108-116 119 121 124-128 130-149 151-161 163-166 ]
    Detached kernel driver
    Found Rafael Micro R820T tuner
    Exact sample rate is: 250000.000414 Hz
    [R82XX] PLL not locked!
    Sample rate set to 250000 S/s.
    Tuner gain set to Auto.
    Tuned to 433.920MHz.
    Allocating 15 zero-copy buffers

wxwatching

unread,
Sep 10, 2020, 6:01:03 PM9/10/20
to weewx-user
I have the RTL-SDR Blog R820T2 RTL2832U 1PPM TCXO SMA Software Defined Radio that was purchased from Amazon:

tarob...@gmail.com

unread,
Sep 11, 2020, 8:45:46 AM9/11/20
to weewx-user
What do you see when you run the following:

sudo tail -f /var/log/syslog  

wxwatching

unread,
Sep 11, 2020, 12:44:48 PM9/11/20
to weewx-user
When I run sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py --cmd="rtl_433 -M utc -F json" , I get this in the syslog output:

Sep 11 12:38:12 raspberrypi kernel: [403487.365965] r820t 12-001a: destroying instance
Sep 11 12:38:12 raspberrypi kernel: [403487.366736] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.3' successfully deinitialized and disconnected
Sep 11 12:38:51 raspberrypi kernel: [403527.148526] usb 1-1.3: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
Sep 11 12:38:51 raspberrypi kernel: [403527.203791] usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
Sep 11 12:38:51 raspberrypi kernel: [403527.203850] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
Sep 11 12:38:51 raspberrypi kernel: [403527.203880] usb 1-1.3: media controller created
Sep 11 12:38:51 raspberrypi kernel: [403527.206660] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
Sep 11 12:38:51 raspberrypi kernel: [403527.272975] i2c i2c-11: Added multiplexed i2c bus 12
Sep 11 12:38:51 raspberrypi kernel: [403527.272992] rtl2832 11-0010: Realtek RTL2832 successfully attached
Sep 11 12:38:51 raspberrypi kernel: [403527.273066] usb 1-1.3: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
Sep 11 12:38:51 raspberrypi kernel: [403527.273098] dvbdev: dvb_create_media_entity: media entity 'Realtek RTL2832 (DVB-T)' registered.
Sep 11 12:38:51 raspberrypi kernel: [403527.273282] r820t 12-001a: creating new instance
Sep 11 12:38:51 raspberrypi kernel: [403527.281551] r820t 12-001a: Rafael Micro r820t successfully identified
Sep 11 12:38:52 raspberrypi kernel: [403527.320620] Registered IR keymap rc-empty
Sep 11 12:38:52 raspberrypi kernel: [403527.320755] rc rc0: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/rc/rc0
Sep 11 12:38:52 raspberrypi kernel: [403527.320908] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
Sep 11 12:38:52 raspberrypi kernel: [403527.321020] input: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/rc/rc0/input18
Sep 11 12:38:52 raspberrypi kernel: [403527.325735] usb 1-1.3: dvb_usb_v2: schedule remote query interval to 200 msecs
Sep 11 12:38:52 raspberrypi kernel: [403527.335267] usb 1-1.3: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected


When I run sudo rtl_433, I get this in the syslog output:

Sep 11 12:40:23 raspberrypi kernel: [403618.966282] r820t 12-001a: destroying instance
Sep 11 12:40:23 raspberrypi kernel: [403618.967039] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.3' successfully deinitialized and disconnected
Sep 11 12:40:40 raspberrypi kernel: [403636.244235] usb 1-1.3: dvb_usb_v2: found a 'Realtek RTL2832U reference design' in warm state
Sep 11 12:40:41 raspberrypi kernel: [403636.301825] usb 1-1.3: dvb_usb_v2: will pass the complete MPEG2 transport stream to the software demuxer
Sep 11 12:40:41 raspberrypi kernel: [403636.301876] dvbdev: DVB: registering new adapter (Realtek RTL2832U reference design)
Sep 11 12:40:41 raspberrypi kernel: [403636.301895] usb 1-1.3: media controller created
Sep 11 12:40:41 raspberrypi kernel: [403636.304526] dvbdev: dvb_create_media_entity: media entity 'dvb-demux' registered.
Sep 11 12:40:41 raspberrypi kernel: [403636.340845] i2c i2c-11: Added multiplexed i2c bus 12
Sep 11 12:40:41 raspberrypi kernel: [403636.340868] rtl2832 11-0010: Realtek RTL2832 successfully attached
Sep 11 12:40:41 raspberrypi kernel: [403636.340968] usb 1-1.3: DVB: registering adapter 0 frontend 0 (Realtek RTL2832 (DVB-T))...
Sep 11 12:40:41 raspberrypi kernel: [403636.341004] dvbdev: dvb_create_media_entity: media entity 'Realtek RTL2832 (DVB-T)' registered.
Sep 11 12:40:41 raspberrypi kernel: [403636.341241] r820t 12-001a: creating new instance
Sep 11 12:40:41 raspberrypi kernel: [403636.351357] r820t 12-001a: Rafael Micro r820t successfully identified
Sep 11 12:40:41 raspberrypi kernel: [403636.400843] Registered IR keymap rc-empty
Sep 11 12:40:41 raspberrypi kernel: [403636.401054] rc rc0: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/rc/rc0
Sep 11 12:40:41 raspberrypi kernel: [403636.401295] rc rc0: lirc_dev: driver dvb_usb_rtl28xxu registered at minor = 0, raw IR receiver, no transmitter
Sep 11 12:40:41 raspberrypi kernel: [403636.401502] input: Realtek RTL2832U reference design as /devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3/rc/rc0/input19
Sep 11 12:40:41 raspberrypi kernel: [403636.407757] usb 1-1.3: dvb_usb_v2: schedule remote query interval to 200 msecs
Sep 11 12:40:41 raspberrypi kernel: [403636.419188] usb 1-1.3: dvb_usb_v2: 'Realtek RTL2832U reference design' successfully initialized and connected


tarob...@gmail.com

unread,
Sep 11, 2020, 1:38:11 PM9/11/20
to weewx-user
Take a look at the GitHub page for rtl_433 (https://github.com/merbanan/rtl_433) and ensure you've installed everything correctly. When you run sudo rtl_433, the output in the syslog would be different that what you've posted.

tarob...@gmail.com

unread,
Sep 11, 2020, 1:42:24 PM9/11/20
to weewx-user
Also, I'm not sure what you followed to use sdr but the following has good write up on getting everything working correctly: https://github.com/bdwilson/acurite

wxwatching

unread,
Sep 13, 2020, 9:18:29 PM9/13/20
to weewx-user

Thanks for the links. I went through the process of completely reinstalling OS on the PI and following the instructions at https://github.com/bdwilson/acurite. Now when I run the following command, this is the output:

pi@raspberrypi:~/git/rtl_433/build $ sudo rtl_433 -G 4
rtl_433 version 20.02-146-g7164f4a branch master at 202009121810 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/root/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...

Use -G for testing only. Enable protocols with -R if you really need them.

Registered 160 out of 166 device decoding protocols [ 1-4 6-8 10-17 19-26 29-64 67-166 ]
rtl_433: warning: 106 "Wireless M-Bus, Mode R, 4.8kbps (-f 868330000)" does not support CSV output
rtl_433: warning: 107 "Wireless M-Bus, Mode F, 2.4kbps" does not support CSV output
Detached kernel driver
Found Rafael Micro R820T tuner
Exact sample rate is: 250000.000414 Hz
[R82XX] PLL not locked!
Sample rate set to 250000 S/s.
Tuner gain set to Auto.
Tuned to 433.920MHz.

And the syslog output:

pi@raspberrypi:~ $ sudo tail -f /var/log/syslog  
Sep 13 21:05:18 raspberrypi weewx[6625] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.70 seconds
Sep 13 21:05:19 raspberrypi weewx[6625] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.98 seconds
Sep 13 21:05:19 raspberrypi weewx[6625] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Sep 13 21:10:16 raspberrypi weewx[6625] INFO weewx.manager: Added record 2020-09-13 21:10:00 EDT (1600045800) to database 'weewx.sdb'
Sep 13 21:10:16 raspberrypi weewx[6625] INFO weewx.manager: Added record 2020-09-13 21:10:00 EDT (1600045800) to daily summary in 'weewx.sdb'
Sep 13 21:10:18 raspberrypi weewx[6625] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 1.69 seconds
Sep 13 21:10:19 raspberrypi weewx[6625] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.96 seconds
Sep 13 21:10:19 raspberrypi weewx[6625] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx
Sep 13 21:10:33 raspberrypi kernel: [84034.571254] r820t 12-001a: destroying instance
Sep 13 21:10:33 raspberrypi kernel: [84034.574038] dvb_usb_v2: 'Realtek RTL2832U reference design:1-1.1.2' successfully deinitialized and disconnected
Sep 13 21:15:16 raspberrypi weewx[6625] INFO weewx.manager: Added record 2020-09-13 21:15:00 EDT (1600046100) to database 'weewx.sdb'
Sep 13 21:15:16 raspberrypi weewx[6625] INFO weewx.manager: Added record 2020-09-13 21:15:00 EDT (1600046100) to daily summary in 'weewx.sdb'
Sep 13 21:15:23 raspberrypi weewx[6625] INFO weewx.cheetahgenerator: Generated 8 files for report SeasonsReport in 2.46 seconds
Sep 13 21:15:24 raspberrypi weewx[6625] INFO weewx.imagegenerator: Generated 15 images for report SeasonsReport in 0.97 seconds
Sep 13 21:15:24 raspberrypi weewx[6625] INFO weewx.reportengine: Copied 0 files to /var/www/html/weewx

wxwatching

unread,
Sep 14, 2020, 1:32:58 PM9/14/20
to weewx-user
Problem solved. Discovered the antenna connection was not good.
Reply all
Reply to author
Forward
0 new messages