Field Meanings / Units

48 views
Skip to first unread message

Mike Mike

unread,
Sep 20, 2019, 12:41:00 PM9/20/19
to weewx-user
Hello,

Can anyone identify the meaning of the fields highlighted below in red (delay, ptr, rxCheckPercent and status)

Output is JSON, parsed from output of wee_device --current 


{
"id": "1373",
"apiUser": "apiTester",
"ts": "1568996322",
"delay": "26",
"inHumidity": "43",
"inTemp": "25.3",
"outHumidity": "58",
"outTemp": "17.8",
"pressure": "1005.1",
"ptr": "15416",
"radiation": "200.232",
"rain": "0.00",
"rainTotal": "4.350",
"rxCheckPercent": "100",
"status": "0",  
"usUnits": "16",
"windDir": "157.5",
"windGust": "20.88",
"windSpeed": "17.28",
"UV": "1"
}

I think... 
rxCheckPercentage is signal integrity from sensors to console.
delay never above 26 or so, really not sure what it is.
ptr is todo with console memory.
status 0 (zero) means successful read of console, I have never seen any other code.

The station is an Aercus WS3083.  I'm using a raspPi on a cron job to run "wee_device --current" every minute and parsing in Python for onward use.  I am not using weewxd.

Any help appreciated and thanks in advance,
Mike

gjr80

unread,
Sep 20, 2019, 7:17:47 PM9/20/19
to weewx-user
Hi,

The fields you are seeing are those that your driver emits, so apart from the obvious (eg outTemp etc) you need to look to your driver. For the Aercus 3083 I expect your are using the fousb driver. Have a look through the fousb driver file, it should be in /home/weewx/bin/weewx/drivers/fousb.py or /usr/share/weewx/weewx/drivers/fousb.py depending on your install. You may find some info in the comments up front of the driver file else you will need to trawl through the code. You may also find some info in the Hardware Guide for your station/driver.

Gary

Mike Mike

unread,
Sep 21, 2019, 11:31:58 AM9/21/19
to weewx-user
Thanks for the pointer Gary,

Yes it is the fousb, I'm reading through the driver and unwittingly learning more than is probably safe (Rabbit holes...).  Thank shrubbery its in Python and lovely code to read (for a non-pro like me).  

Cheers ;)
Reply all
Reply to author
Forward
0 new messages