Looks like you are using a newer version of rtl_sdr. Replace your sdr.py 
file with this 
<https://github.com/andylittle/weewx-sdr/blob/master/bin/user/sdr.py> one. 
The new identifier. "Fineoffset-WHx080" is not recognized. 

        outHumidity = humidity.67.FOWHx080Packet
        outTemp = temperature.67.FOWHx080Packet
        windDir = wind_dir.67.FOWHx080Packet 
        rainTotal = rain_total.67.FOWHx080Packet
        windSpeed = wind_speed.67.FOWHx080Packet
        windGust = wind_gust.67.FOWHx080Packet
        #windTempBatteryStatus = battery.67.FOWHx080Packet


Andy


On Monday, October 19, 2020 at 5:56:55 PM UTC-7 storm...@gmail.com wrote:

> change OutTemp to outTemp
>
>
> On Monday, October 19, 2020 at 8:00:28 PM UTC-4, jmc...@gmail.com wrote:
>>
>> Hi!
>> I'm trying to use (for the first time) weewx-sdr, but no success.
>> What's the correct way for using sensor_map?
>>
>> Here's what I'm doing now:
>>
>> [SDR]
>>     # This section is for the software-defined radio driver.
>>
>>     # The driver to use
>>     driver = user.sdr
>>     cmd = /usr/local/bin/rtl_433 -M utc -F json
>>     log_unknown_sensors = True
>>     log_unmapped_sensors = True
>>     [[sensor_map]]
>>         OutTemp = temperature_C.67.Fineoffset-WHx080
>>
>> And this is my debug output:
>>
>> Oct 19 20:56:34 SkyWeatherNew weewx[1243] DEBUG user.sdr: lines=[]
>> Oct 19 20:56:37 SkyWeatherNew weewx[1243] DEBUG user.sdr: lines=[]
>> Oct 19 20:56:40 SkyWeatherNew weewx[1243] DEBUG user.sdr: lines=[]
>> Oct 19 20:56:43 SkyWeatherNew weewx[1243] DEBUG user.sdr: lines=[]
>> Oct 19 20:56:48 SkyWeatherNew weewx[1243] DEBUG user.sdr: lines=['{"time" 
>> : "2020-10-19 23:56:44", "model" : "Fineoffset-WHx080", "subtype" : 0, "id" 
>> : 67, "battery_ok" : 1, "temperature_C" : 28.600, "humidity" : 59, 
>> "wind_dir_deg" : 315, "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, 
>> "rain_mm" : 0.000, "mic" : "CRC"}\n', '{"time" : "2020-10-19 23:56:44", 
>> "model" : "Fineoffset-WHx080", "subtype" : 0, "id" : 67, "battery_ok" : 1, 
>> "temperature_C" : 28.600, "humidity" : 59, "wind_dir_deg" : 315, 
>> "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, "rain_mm" : 0.000, "mic" 
>> : "CRC"}\n']
>> Oct 19 20:56:48 SkyWeatherNew weewx[1243] DEBUG user.sdr: parse_json: 
>> unknown model Fineoffset-WHx080
>> Oct 19 20:56:48 SkyWeatherNew weewx[1243] DEBUG user.sdr: punt 
>> unrecognized line '{"time" : "2020-10-19 23:56:44", "model" : 
>> "Fineoffset-WHx080", "subtype" : 0, "id" : 67, "battery_ok" : 1, 
>> "temperature_C" : 28.600, "humidity" : 59, "wind_dir_deg" : 315, 
>> "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, "rain_mm" : 0.000, "mic" 
>> : "CRC"}#012'
>> Oct 19 20:56:48 SkyWeatherNew weewx[1243] DEBUG user.sdr: parse_json: 
>> unknown model Fineoffset-WHx080
>> Oct 19 20:56:48 SkyWeatherNew weewx[1243] DEBUG user.sdr: punt 
>> unrecognized line '{"time" : "2020-10-19 23:56:44", "model" : 
>> "Fineoffset-WHx080", "subtype" : 0, "id" : 67, "battery_ok" : 1, 
>> "temperature_C" : 28.600, "humidity" : 59, "wind_dir_deg" : 315, 
>> "wind_avg_km_h" : 0.000, "wind_max_km_h" : 0.000, "rain_mm" : 0.000, "mic" 
>> : "CRC"}#012'
>> Oct 19 20:56:51 SkyWeatherNew weewx[1243] DEBUG user.sdr: lines=[]
>>
>>
>>

-- 
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 weewx-user+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/8e3999fc-0102-458e-81c9-16fce9ea287dn%40googlegroups.com.

Reply via email to