|
Post by georgeioak on Jun 30, 2021 8:18:23 GMT -8
I'm not sure if this has been this way since the beginning but I've noticed that the UV readings are stuck at 251 and the light readings are stuck at 69,627. Looking at the MQTT messages all other values are changing but these are not.
Any ideas on what I can do?
|
|
|
Post by SDL on Jun 30, 2021 15:02:36 GMT -8
Stop SkyWeather2, and run the "sudo python3 testWirelessSensors.py" and see what the light and UV readings are. Look at about 5 readings.
BP
|
|
|
Post by georgeioak on Jul 1, 2021 12:28:43 GMT -8
Sorry, for some reason I didn't get an email notifying me of a reply. I'm not running SkyWeather2 but instead using Home Assistant with some modified add-ons to pull in the data. I noticed in your test program the following command: '/usr/local/bin/rtl_433', '-q', '-F', 'json', '-R', '146', '-R', '147', '-R', '148', '-R', '150', '-R', '151' I'm only checking protocol 146 and 147, are the UV and light sensors a different protocol that I need to check? I don't think so because switchdoclabs_FT020T.c includes all the readings so since I'm getting everything else I would think the communication is working correctly.
|
|
|
Post by SDL on Jul 7, 2021 9:49:12 GMT -8
That looks good but we need to see the output from that test command.
BP
|
|
|
Post by georgeioak on Jul 10, 2021 11:29:39 GMT -8
Sorry for the late reply, the forum didn't send a notification email.
As expected, running your test program provided the same results as what I had previously reported:
pi@OSPI:~/SDL_Pi_WeatherRack2 $ python3 testWirelessSensors.py
Starting Wireless Read
rtl_433 version -128-NOTFOUND branch master at 202104131855 inputs file rtl_tcp RTL-SDR
Use -h for usage help and see https://triq.org/ for documentation.
Trying conf file at "rtl_433.conf"...
Trying conf file at "/home/pi/.config/rtl_433/rtl_433.conf"...
Trying conf file at "/usr/local/etc/rtl_433/rtl_433.conf"...
Trying conf file at "/etc/rtl_433/rtl_433.conf"...
quiet option (-q) is default and deprecated. See -v to increase verbosity
Consider using "-M newmodel" to transition to new model keys. This will become the default someday. A table of changes and discussion is at https://github.com/merbanan/rtl_433/pull/986. Registered 5 out of 152 device decoding protocols [ 146-148 150-151 ]
Detached kernel driver Found Rafael Micro R820T tuner Exact sample rate is: 250000.000414 Hz [R82XX] PLL not locked! Sample rate set to 250000 S/s. Tuner gain set to Auto. Tuned to 433.920MHz.
{"time" : "2021-07-10 12:23:40", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 75, "cumulativerain" : 0, "temperature" : 1459, "humidity" : 18, "light" : 69627, "uv" : 251, "mic" : "CRC"}
WeatherSense WeatherRack2 FT020T found
{"time" : "2021-07-10 12:23:56", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 1, "gustwindspeed" : 3, "winddirection" : 318, "cumulativerain" : 0, "temperature" : 1460, "humidity" : 17, "light" : 69627, "uv" : 251, "mic" : "CRC"}
WeatherSense WeatherRack2 FT020T found
{"time" : "2021-07-10 12:23:56", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 1, "gustwindspeed" : 3, "winddirection" : 318, "cumulativerain" : 0, "temperature" : 1460, "humidity" : 17, "light" : 69627, "uv" : 251, "mic" : "CRC"}
WeatherSense WeatherRack2 FT020T found
{"time" : "2021-07-10 12:23:57", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 244, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 105.000, "humidity" : 13, "mic" : "CRC"}
WeatherSense Indoor T/H F016TH Found
{"time" : "2021-07-10 12:24:00", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 114, "modelnumber" : 5, "channel" : 2, "battery" : "OK", "temperature_F" : 101.200, "humidity" : 10, "mic" : "CRC"}
WeatherSense Indoor T/H F016TH Found
{"time" : "2021-07-10 12:24:12", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 3, "gustwindspeed" : 7, "winddirection" : 220, "cumulativerain" : 0, "temperature" : 1459, "humidity" : 17, "light" : 69627, "uv" : 251, "mic" : "CRC"}
WeatherSense WeatherRack2 FT020T found
{"time" : "2021-07-10 12:24:26", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 3, "winddirection" : 295, "cumulativerain" : 0, "temperature" : 1460, "humidity" : 17, "light" : 69627, "uv" : 251, "mic" : "CRC"}
WeatherSense WeatherRack2 FT020T found
{"time" : "2021-07-10 12:24:26", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 3, "winddirection" : 295, "cumulativerain" : 0, "temperature" : 1460, "humidity" : 17, "light" : 69627, "uv" : 251, "mic" : "CRC"}
|
|
|
Post by SDL on Jul 10, 2021 16:14:31 GMT -8
I'd say you have a bad UV light sensor! That's pretty much proof. PM me your order number and when you bought it and I'll see if qualifies for the warrantee.
BP
|
|
|
Post by SDL on Jul 10, 2021 16:15:13 GMT -8
Before anything else, remove the batteries and cover the solar panels for 10 minutes then replace the batteries!
BP
|
|
|
Post by georgeioak on Jul 12, 2021 9:23:32 GMT -8
So covering the solar panel was something I didn't do last time I pulled the batteries so the sensors probably didn't get reset like I initially thought. This did make a difference but I think something is still up with the sensors because as you can see after the reset the values again went to a max value before resetting itself. It was reset at 10:30am and looked normal for until 12:56pm. At 3:07 is where you start to see the erratic readings and then since about 4:35pm yesterday afternoon the readings appear to be normal. The unit has only been in service for about a month so it hasn't seen any bad weather. I'll watch it for a few days but I hesitate to mount this on my roof if the sensor is just going to act up again at some point.
|
|
|
Post by georgeioak on Jul 12, 2021 15:21:57 GMT -8
It definitely looks like a sensor or internal connection problem. Here's an updated chart or readings:
|
|
|
Post by SDL on Jul 13, 2021 12:18:33 GMT -8
Lux will max out at some point. Bright, Bright direct sunlight will max out the sensor. Cover it to test my hypothesis. Assuming that is the issue, the data looks pretty good to me.
Did the UV start reporting again?
BP
|
|