*Matthew,*
*I was able to update to the newest version of weewx-sdr. Thank you for the
help:*
pi@nn7m-pi:~ $ wee_extension --list
Extension Name Version Description
sdr 0.83 Capture data from rtl_433
*I have mapped the rain_total as you advised in the /etc/weewx/weewx.conf
file:*
[SDR]
# This section is for the software-defined radio driver.
# The driver to use
driver = user.sdr
# The time (in seconds) between LOOP packets.
loop_interval = 2.5
path = /usr/share/weewx/user/
cmd = sudo rtl_433 -M utc -F json
[[sensor_map]]
# barometer
# pressure
# altimeter
# inTemp temperature_in
outTemp = temperature.0050.Acurite5n1PacketV2
# inHumidity humidity_in
outHumidity = humidity.0050.Acurite5n1PacketV2
windSpeed = wind_speed.0050.Acurite5n1PacketV2
windDir = wind_dir.0050.Acurite5n1PacketV2
# rain_total = rain_in.0050.Acurite5n1PacketV2
rain_total = rain_total.0050.Acurite5n1PacketV2
# dewpoint
# windchill
# heatindex
# rxCheckPercent rssi
# outTempBatteryStatus = battery_ok.0050.Acurite5n1PacketV2
[[deltas]]
# rain = rain_total
*But still, no rain info is being reported to the web page. I'm not sure
what to do here? When I stop weewx and watch the rtl_433 output, it reports
Rainfall Accumilation :*
time : 2021-12-17 16:50:18
model : Acurite-5n1 message_type: 49 id : 80
channel : C sequence_num: 0 battery : 1
wind_speed: 1.8 km/h wind_dir_deg: 90.0 Rainfall
Accumulation: 22.08 in Integrity : CHECKSUM
*When I run sudo rtl_433 -M utc -F json I get rain_in:*
{"time" : "2021-12-18 00:53:54", "model" : "Acurite-5n1", "message_type" :
49, "id" : 80, "channel" : "C", "sequence_num" : 1, "battery_ok" : 1,
"wind_avg_km_h" : 6.795, "wind_dir_deg" : 90.000, "rain_in" : 22.080, "mic"
: "CHECKSUM", "mod" : "ASK", "freq" : 433.959, "rssi" : -2.191, "snr" :
5.146, "noise" : -7.337}
On Thursday, December 9, 2021 at 3:59:17 AM UTC-8 matthew wall wrote:
> On Thursday, December 9, 2021 at 1:52:46 AM UTC-5 [email protected]
> wrote:
>
>> *I'm having problems following your directions for installing the latest
>> version of weewx-sdr.*
>>
>> *4) run the driver directly to identify the packets you want to capture
>> cd /home/weewx sudo PYTHONPATH=bin python bin/user/sdr.py --cmd="rtl_433 -M
>> utc -F json"*
>>
>> *my path is different, as far as I understand. When I change the command
>> to where I've found my sdr.py, I get this response: *
>>
>> sudo PYTHONPATH=bin python ./weewx-sdr/bin/user/sdr.py --cmd="rtl_433 -M
>> utc -F json"
>> Traceback (most recent call last):
>> File "./weewx-sdr/bin/user/sdr.py", line 91, in <module>
>> import weewx.drivers
>> ImportError: No module named weewx.drivers
>>
>
> the PYTHONPATH should terminate at the weewx BIN_ROOT directory (where the
> weewx executables are located). if you installed using rpm or deb package,
> that would be:
>
> PYTHONPATH=/usr/share/weewx
>
> if you installed using setup.py to the /home/weewx directory, that would
> be:
>
> PYTHONPATH=/home/weewx/bin
>
> you can use either absolute or relative path
>
--
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/69c35184-5121-4c58-ac99-a185309293can%40googlegroups.com.