So I've wanted to use SDR to capture the data of the ObserverIP that I
have. I have the WS-1400-IP which is a rebranded HP-1000 by Fine Offset.
It took me forever to actually get where my Pi3B could read the data from
the SDR. But now I finally got that working when I setup weewx by the
setup.py method.
Now I have hit a block that I'm not sure I can figure out, especially since
I'm not finding anything of a fix on the internet.
Running sudo PYTHONPATH=bin python bin/user/sdr.py --cmd="rtl_433 -M utc -F
> json -G -p 66 -f 915000000"
gives me this:
out: ['{"time" : "2019-02-11 03:44:32", "model" : "Fine Offset WH24", "id"
> : 140, "temperature_C" : 12.600, "humidity" : 80, "wind_dir_deg" : 111,
> "wind_speed_ms" : 0.280, "gust_speed_ms" : 1.120, "rainfall_mm" : 1150.800,
> "uv" : 1, "uvi" : 0, "light_lux" : 0.000, "battery" : "OK", "mic" :
> "CRC"}\n', '{"time" : "2019-02-11 03:44:33", "model" : "Fine Offset
> Electronics, WH25", "id" : 104, "temperature_C" : 20.000, "humidity" : 57,
> "pressure_hPa" : 1004.100, "battery" : "OK", "mic" : "CHECKSUM"}\n']
> parsed: {'temperature.104.FOWH25Packet': 20.0, 'battery.104.FOWH25Packet':
> 0, 'dateTime': 1549856673, 'humidity.104.FOWH25Packet': 57.0,
> 'pressure.104.FOWH25Packet': 1004.1, 'usUnits': 16}
> out: ['{"time" : "2019-02-11 03:44:48", "model" : "Fine Offset WH24", "id"
> : 140, "temperature_C" : 12.600, "humidity" : 80, "wind_dir_deg" : 109,
> "wind_speed_ms" : 0.980, "gust_speed_ms" : 1.120, "rainfall_mm" : 1150.800,
> "uv" : 1, "uvi" : 0, "light_lux" : 0.000, "battery" : "OK", "mic" :
> "CRC"}\n']
Under parsed I get that I can now enter the temperature.104.FOWH25Packet
under the [[Sensor_map]] under SDR. I also understand that my indoor
device is the Fine Offset WH25, and the outdoor is the Fine Offset WH24.
But part of what I can't figure out is this:
It gave me the detail I needed for the Sensor_Map when it parsed the WH25,
but it didn't do that for WH24. I think my questions may be linked in a way
since it didn't parse that out.
Now, when I run weewx instead of the sdr.py, I get this:
Feb 10 21:50:27 raspberrypi weewx[2692]: sdr: MainThread: parse_json:
>> unknown model Fine Offset WH24
>
> Feb 10 21:50:27 raspberrypi weewx[2692]: sdr: MainThread: punt
>> unrecognized line '{"time" : "2019-02-11 03:50:24", "model" : "Fine Offset
>> WH24", "id" : 140, "temperature_C" : 12.600, "humidity" : 81,
>> "wind_dir_deg" : 152, "wind_speed_ms" : 0.840, "gust_speed_ms" : 1.120,
>> "rainfall_mm" : 1150.800, "uv" : 1, "uvi" : 0, "light_lux" : 0.000,
>> "battery" : "OK", "mic" : "CRC"}#012'
>
> Weewx is generating without error, and even has the inside temperature on
the page it generated in public_html
I can provide actual logs if needed, but I'm thinking it's some issue that
I'm not seeing either with rtl_433 or something I missed in a setting with
weewx.
Also, I'm not sure if it matters or not, but I ran this line under SDR so
that it captured data:
cmd= rtl_433 -M utc -F json -G -p 66 -f 915000000
--
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.