My rtl_433 is located in /usr/local/bin
I have modified weewx.conf and i think something is better now, but it
is not updating files in /var/www/html/weewx
What is wrong now?
here is my weewx.conf
[SDR]
driver = user.sdr
cmd = /usr/local/bin/rtl_433 -q -U -G -F json
path = /usr/local/bin
ld_library_path = /usr/local/lib
[[sensor_map]]
outBatteryStatus = battery.1:211.OSTHGR122NPacket
outHumidity = humidity.1:211.OSTHGR122NPacket
outTemp = temperature.1:211.OSTHGR122NPacket
My syslog is:
Jan 18 15:56:03 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
Jan 18 15:56:06 raspberrypi weewx[4287]: sdr: MainThread:
lines=['{"time" : "2017-01-18 14:56:03", "brand" : "OS", "model" :
"THGR122N", "id" : 211, "channel" : 1, "battery" : "LOW",
"temperature_C" : 7.900, "humidity" : 27}\n', '{"time" : "2017-01-18
14:56:03", "brand" : "OS", "model" : "THGR122N", "id" : 211, "channel"
: 1, "battery" : "LOW", "temperature_C" : 7.900, "humidity" : 27}\n']
Jan 18 15:56:06 raspberrypi weewx[4287]: sdr: MainThread:
packet={'outHumidity': 27.0, 'outBatteryStatus': 1, 'dateTime':
1484751363, 'usUnits': 16, 'outTemp': 7.9}
Jan 18 15:56:07 raspberrypi weewx[4287]: sdr: MainThread: ignoring
duplicate packet {'outHumidity': 27.0, 'outBatteryStatus': 1,
'dateTime': 1484751363, 'usUnits': 16, 'outTemp': 7.9}
Jan 18 15:56:10 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
Jan 18 15:56:13 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
Jan 18 15:56:16 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
Jan 18 15:56:19 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
Jan 18 15:56:22 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
Jan 18 15:56:25 raspberrypi weewx[4287]: sdr: MainThread: lines=[]
And running ps aux i can read:
root 4287 2.6 2.9 60488 27852 ? Sl 15:53 0:06
python /usr/bin/weewxd --daemon --pidfile=/var/run/weewx.pid
/etc/weewx/weewx.conf
root 4303 6.2 2.8 37088 26680 ? Sl 15:53 0:15
/usr/local/bin/rtl_433 -q -U -G -F json
2017-01-18 15:34 GMT+01:00 mwall <[email protected]>:
> On Wednesday, January 18, 2017 at 8:29:26 AM UTC-5, Ruben Navarro Huedo
> wrote:
>>
>> [SDR]
>> driver = user.sdr
>> [[sensor_map]]
>> battery.1:211.OSTHGR122NPacket = outBatteryStatus
>> humidity.1:211.OSTHGR122NPacket = outHumidity
>> temperature.1:211.OSTHGR122NPacket = outTemp
>
>
> ruben,
>
> where did you get the instructions for the sensor_map?
>
> your sensor map is backwards. it should be like this:
>
> [[sensor_map]]
> outBatteryStatus = battery.1:211.OSTHGR122NPacket
> outHumidity = humidity.1:211.OSTHGR122NPacket
> outTemp = temperature.1:211.OSTHGR122NPacket
>
> but your primary problem is getting weewx-sdr to find your rtl_433 binary.
>
> m
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "weewx-user" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/weewx-user/KxHLqXbbiq4/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/d/optout.
--
Rubén Navarro Huedo
http://www.somehams.org
--
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.