|
Post by Ben on Nov 18, 2020 11:19:19 GMT -8
I'd be grateful if someone could tell me how to read the temperature reading below. I've looked in the code and I still can't work it out... what does a temperature of 1077 mean in C/F? Perhaps it's a bug? The raw data I get from my new unit and this script from switchdoclabs: { "avewindspeed": 0, "batterylow": 1, "cumulativerain": 144, "gustwindspeed": 0, "humidity": 64, "id": 0, "light": 0, "mic": "CRC", "model": "SwitchDoc Labs-FT020T", "temperature": 1077, "time": "2020-11-18 18:45:16", "uv": 0, "winddirection": 0 }
|
|
|
Post by benjamjin on Nov 19, 2020 6:01:30 GMT -8
Apparently...
The temperature comes from the FT020T in F with an offset.
Temperature F = (received temperature - 400)/10.0
|
|
|
Post by SDL on Nov 20, 2020 18:39:58 GMT -8
We will post an explanation of all the raw values. That's the only really weird one!
BP
|
|
|
Post by SDL on Nov 22, 2020 6:53:11 GMT -8
From the product page: shop.switchdoc.com/products/wireless-weatherrack2WeatherRack2 Data Description: "time" : "2020-11-22 06:40:15", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 2, "gustwindspeed" : 3, "winddirection" : 18, "cumulativerain" : 180, "temperature" : 1011, "humidity" : 27, "light" : 1432, "uv" : 4, "mic" : "CRC"} Raw Data Description
time: Time of Message Reception model: SwitchDoc Labs FT020T AIO device: Serial Number of the sensor - changed on powerup but can be used to discriminate from other similar sensors in the area batterylow: 0 if battery good, 1 if battery is getting low avewindspeed: Average Wind Speed in m/s *10 gustwindspeed: Last Gust Speed in m/s *10 winddirection: Wind Direction in degrees from 0-359. cumulativerain: Total rain since last reset or power off. in mm.*10 temperature: outside temperature in F with 400 offset and *10 T = (value-400)/10.0 humidity: Relative Humidity in %. light: Visible Sunlight in lux. uv: UV Index * 10 (meaning an uv index of 0.8 is in the example message above)
|
|
|
Post by Jason on Dec 28, 2020 6:02:55 GMT -8
Does the average wind speed measurement reset on a daily basis? Or is it a running average since last reset or power cycle?
Thanks,
Jason
|
|
|
Post by SDL on Dec 28, 2020 18:08:20 GMT -8
If I remember right, it is a 15 minute running average. The gust is on a 15 running basis also.
BP
|
|
|
Post by Jason on Jan 13, 2021 13:09:54 GMT -8
I've noticed a few times where my weather rack reports values that are out of line with values that bracket the individual reading:
Preceding reading:
{ "id": 0, "uv": 0, "mic": "CRC", "time": "2021-01-12 03:36:15", "light": 0, "model": "SwitchDoc Labs FT020T AIO", "device": 12, "humidity": 97, "batterylow": 0, "temperature": 797, "avewindspeed": 4, "gustwindspeed": 7, "winddirection": 69, "cumulativerain": 1122 }
Bad reading:
{ "id": 0, "uv": 43, "mic": "CRC", "time": "2021-01-12 03:36:31", "light": 69610, "model": "SwitchDoc Labs FT020T AIO", "device": 12, "humidity": 255, "batterylow": 0, "temperature": 4095, "avewindspeed": 1, "gustwindspeed": 3, "winddirection": 3, "cumulativerain": 1151 }
Following reading:
{ "id": 0, "uv": 0, "mic": "CRC", "time": "2021-01-12 03:36:47", "light": 0, "model": "SwitchDoc Labs FT020T AIO", "device": 12, "humidity": 97, "batterylow": 0, "temperature": 797, "avewindspeed": 5, "gustwindspeed": 10, "winddirection": 24, "cumulativerain": 1125 }
Is there a value range that could be used to inspect the readings to determine if they should be thrown out?
Thanks,
Jason
|
|
|
Post by SDL on Jan 14, 2021 8:57:15 GMT -8
The humidity level in Hex is 0xFF, this is an error
The temperature level in Hex is 0x0FFF, this is an error
Clearly those are errors. Here are three more Errors from the temperature: Valid range for temperature: (with 400 offset added)
-40.0F to 140.0F
Invalid value: 0X7FA Below minimum: 0X7FC Above maximum: 0X7FD
Valid Range for Humidity 10% -100% Errors for Humidity:
Invalid humidity: 0x7A
Hope this helps!
BP
|
|
|
Post by Jason on Jan 14, 2021 10:03:46 GMT -8
Outstanding! Thank you so much!
Jason
|
|