So i forgot i rebooted so the driver might not be loaded, so i loaded that
with this, and ..got these back?
sudo PYTHONPATH=/usr/share/weewx python /usr/share/weewx/user/sdr.py
out: ['{"time" : "2019-03-18 00:31:04", "model" : "Acurite tower sensor",
"id" : 10421, "sensor_id" : 10421, "channel" : "A", "temperature_C" :
1.400, "humidity" : 16, "battery_low" : 0}\n']
parsed: {'dateTime': 1552869064, 'temperature.28B5.AcuriteTowerPacket':
1.4, 'status.28B5.AcuriteTowerPacket': None,
'channel.28B5.AcuriteTowerPacket': 'A', 'humidity.28B5.AcuriteTowerPacket':
16.0, 'battery.28B5.AcuriteTowerPacket': 0, 'usUnits': 16}
out: ['{"time" : "2019-03-18 00:31:37", "model" : "Acurite tower sensor",
"id" : 10421, "sensor_id" : 10421, "channel" : "A", "temperature_C" :
1.300, "humidity" : 16, "battery_low" : 0}\n', '{"time" : "2019-03-18
00:31:37", "model" : "Acurite tower sensor", "id" : 10421, "sensor_id" :
10421, "channel" : "A", "temperature_C" : 1.300, "humidity" : 16,
"battery_low" : 0}\n', '{"time" : "2019-03-18 00:31:37", "model" : "Acurite
tower sensor", "id" : 10421, "sensor_id" : 10421, "channel" : "A",
"temperature_C" : 1.300, "humidity" : 16, "battery_low" : 0}\n']
parsed: {'dateTime': 1552869097, 'temperature.28B5.AcuriteTowerPacket':
1.3, 'status.28B5.AcuriteTowerPacket': None,
'channel.28B5.AcuriteTowerPacket': 'A', 'humidity.28B5.AcuriteTowerPacket':
16.0, 'battery.28B5.AcuriteTowerPacket': 0, 'usUnits': 16}
parsed: {'dateTime': 1552869097, 'temperature.28B5.AcuriteTowerPacket':
1.3, 'status.28B5.AcuriteTowerPacket': None,
'channel.28B5.AcuriteTowerPacket': 'A', 'humidity.28B5.AcuriteTowerPacket':
16.0, 'battery.28B5.AcuriteTowerPacket': 0, 'usUnits': 16}
Not sure where these Acuritetowerpacket came from. are they the same as the
ambient weather?
has the same data that my WH65 returned.
On Sunday, March 17, 2019 at 7:56:09 PM UTC-4, Bruce Butkus wrote:
>
> Gets me a bit farther. using the Json, it was easier to find the actual
> names to use. awesome.
> # The driver to use
> driver = user.sdr
> cmd= "sudo rtl_433 -F -R 18 -R 20 -R 113 json -f 914880000"
> [[sensor_map]]
> outTemp = temperature_c.10.FOWH65BPacket
> outHumidity = Humidity.10.FOWH65BPacket
> windDir = wind_dir_deg.10.FOWH65BPacket
> windSpeed = wind_speed_ms.10.FOWH65BPacket
> windGust = gust_speed_ms.10.FOWH65BPacket
> rain = rainfall_mm.10.FOWH65BPacket
> UV = uv.10.FOWH65BPacket
> radiation = light_lux.10.FOWH65BPacket
> outTempBatteryStatus = battery.10.FOWH65BPacket
>
> but now I changed those, and Im running into this:
> Mar 17 19:54:14 raspberrypi weewx[19744]: restx: StationRegistry:
> Registration not requested.
> Mar 17 19:54:14 raspberrypi weewx[19744]: restx: Wunderground: Posting not
> enabled.
> Mar 17 19:54:14 raspberrypi weewx[19744]: restx: PWSweather: Posting not
> enabled.
> Mar 17 19:54:14 raspberrypi weewx[19744]: restx: CWOP: Posting not enabled.
> Mar 17 19:54:14 raspberrypi weewx[19744]: restx: WOW: Posting not enabled.
> Mar 17 19:54:14 raspberrypi weewx[19744]: restx: AWEKAS: Posting not
> enabled.
> Mar 17 19:54:14 raspberrypi weewx[19744]: engine: Starting up weewx
> version 3.9.1
> Mar 17 19:54:14 raspberrypi weewx[19744]: engine: Starting main packet
> loop.
> Mar 17 19:54:15 raspberrypi kernel: [29368.424844] r820t 4-001a:
> destroying instance
> Mar 17 19:54:15 raspberrypi kernel: [29368.425509] dvb_usb_v2: 'Realtek
> RTL2832U reference design:1-1.4' successfully deinitialized and disconnected
>
> Not sure whats going on?
>
> On Sunday, March 17, 2019 at 5:20:56 PM UTC-4, [email protected] wrote:
>>
>> Ok, a couple of things. I think you're going to need -F json in your
>> rtl_433 command to get things to parse. Another thing is that the SDR
>> driver returns light instead of radiation. It's then converted into
>> radiation in weewx.conf. An example of this is in the post that I pointed
>> you to earlier. Does this get you farther?
>>
>
--
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.