|
Post by pavalon on Jun 6, 2021 7:42:39 GMT -8
Hi, I just completed a fresh build. I followed these guides. www.switchdoc.com/wp-content/uploads/2021/04/SkyWeather2ConfigurationAndOperationsManual1.2.pdfand used the install scripts from ismellsmoke.net/?p=993I do not see the AQI or Lighting Sensor sudo python3 WeatherSenseMonitor.py
ReadingCount=: 7
skipping write to database
processing FT020T Data
This is the raw data: {"time" : "2021-06-06 11:26:01", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 322, "cumulativerain" : 117, "temperature" : 1104, "humidity" : 49, "light" : 524, "uv" : 1, "mic" : "CRC"}
ReadingCount=: 8
skipping write to database
processing FT020T Data
This is the raw data: {"time" : "2021-06-06 11:26:18", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 322, "cumulativerain" : 117, "temperature" : 1104, "humidity" : 49, "light" : 555, "uv" : 0, "mic" : "CRC"}
ReadingCount=: 9
skipping write to database
processing FT020T Data
This is the raw data: {"time" : "2021-06-06 11:26:32", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 322, "cumulativerain" : 117, "temperature" : 1103, "humidity" : 49, "light" : 583, "uv" : 1, "mic" : "CRC"}
ReadingCount=: 10
skipping write to database
processing FT020T Data
This is the raw data: {"time" : "2021-06-06 11:26:32", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 322, "cumulativerain" : 117, "temperature" : 1103, "humidity" : 49, "light" : 583, "uv" : 1, "mic" : "CRC"}
ReadingCount=: 11
skipping write to database
Processing F016TH data
This is the raw data: {"time" : "2021-06-06 11:26:41", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 184, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 70.700, "humidity" : 46, "mic" : "CRC"}
[2, 0, 0, 0, 0, 0, 0, 0]
skipping write to database for channel= 1
processing FT020T Data
This is the raw data: {"time" : "2021-06-06 11:26:48", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 322, "cumulativerain" : 117, "temperature" : 1103, "humidity" : 49, "light" : 604, "uv" : 0, "mic" : "CRC"}
ReadingCount=: 12
Please advise, very new to all this.
|
|
|
Post by SDL on Jun 6, 2021 12:01:55 GMT -8
Thanks for the picture! Looks like you have the power off in the box on the SunAirPlus board. There should be lights! BP
|
|
|
Post by pavalon on Jun 6, 2021 14:04:25 GMT -8
Thanks for the picture! Looks like you have the power off in the box on the SunAirPlus board. There should be lights! BP Power is on, both boards have leds lite up. Yeah but I’m hoping it is something just that simple it happens on both the lightning and AQI
|
|
|
Post by SDL on Jun 6, 2021 15:45:53 GMT -8
What color of dots did you have on the back of the boards? Send pictures of both devices please. With them turned on. Make sure you have at least a meter between the Raspberry Pi and the AQI / Lightning devices. Do you have the latest version of: github.com/switchdoclabs/rtl_433installed? I'm wondering if you have some early version of rtl_433 that doesn't have AQI and Lightning. BP
|
|
|
Post by pavalon on Jun 6, 2021 18:17:34 GMT -8
What color of dots did you have on the back of the boards? Send pictures of both devices please. With them turned on. Make sure you have at least a meter between the Raspberry Pi and the AQI / Lightning devices. Do you have the latest version of: github.com/switchdoclabs/rtl_433installed? I'm wondering if you have some early version of rtl_433 that doesn't have AQI and Lightning. BP Red I have tested at different distances, and deployed the latest 433 build. Heres the output
pi@Skyweather:~ $ sudo /usr/local/bin/rtl_433 -q -F json -R 146 -R 147 -R 148 -R 150 -R 151 rtl_433 version -128-NOTFOUND branch master at 202104131855 inputs file rtl_tcp RTL-SDR Use -h for usage help and see triq.org/ for documentation. Trying conf file at "rtl_433.conf"... Trying conf file at "/root/.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 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. Allocating 15 zero-copy buffers {"time" : "2021-06-06 22:05:52", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 312, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:05:52", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 312, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:06:11", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 184, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 69.000, "humidity" : 44, "mic" : "CRC"} {"time" : "2021-06-06 22:06:16", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 312, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:06:31", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 313, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:06:31", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 313, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:06:47", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 312, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:07:06", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 312, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:07:06", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "winddirection" : 312, "cumulativerain" : 123, "temperature" : 1084, "humidity" : 44, "light" : 15, "uv" : 0, "mic" : "CRC"} {"time" : "2021-06-06 22:07:06", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 184, "modelnumber" : 5, "channel" : 1, "battery" : "OK", "temperature_F" : 68.900, "humidity" : 44, "mic" : "CRC"}
|
|
|
Post by SDL on Jun 7, 2021 7:22:38 GMT -8
I'm now wondering if you have a couple of bad transmitters. Unlikely, but possible. Did you bend the leads to make sure they have a good connection?
If you would, make a short video for me of the AQI as it powers up. Showing the LEDs on the Mini Pro LP Board.
Both boards are red dots?
If so, that's one problem.
The board for the Lightning Detection Kit should have a RED sticker on the back.
The board for the AQI kit should have a white sticker on the back.
Do you know how to use the Arduino IDE?
Turn on one only.
BP
|
|
|
Post by pavalon on Jun 7, 2021 13:26:52 GMT -8
I'm now wondering if you have a couple of bad transmitters. Unlikely, but possible. Did you bend the leads to make sure they have a good connection? If you would, make a short video for me of the AQI as it powers up. Showing the LEDs on the Mini Pro LP Board. Both boards are red dots? If so, that's one problem. The board for the Lightning Detection Kit should have a RED sticker on the back. The board for the AQI kit should have a white sticker on the back. Do you know how to use the Arduino IDE? Turn on one only. BP I did bend the leads of the radio transmitter forward, antenna downwards. Here is the video drive.google.com/file/d/1UKBgphJOuRJnCuIDhSLZaVYV_NWmNa56/view?usp=sharingBoth boards have red dots on the back. I am not familiar with Arduino IDE, but follow directions well. This was tested with Lighting sensor powered off.
|
|
|
Post by pavalon on Jun 9, 2021 9:20:02 GMT -8
SDL, Any ideas? Ready to get this thing fully installed
Thank you
|
|
|
Post by SDL on Jun 9, 2021 14:57:33 GMT -8
OK, first thing we have to do is ship you a board with a white sticker on the back, which is programmed for the AQI board. Please PM us your address if you want us to ship it to you! I will also ship a couple of new transmitters in case you have a couple of bad ones (like low probability). If you can use the Arduino IDE, you can program the AQI board yourself by using this software: github.com/switchdoclabs/SDL_Arduino_WeatherSenseAQILet us know! BP
|
|
|
Post by pavalon on Jun 18, 2021 13:44:00 GMT -8
OK, first thing we have to do is ship you a board with a white sticker on the back, which is programmed for the AQI board. Please PM us your address if you want us to ship it to you! I will also ship a couple of new transmitters in case you have a couple of bad ones (like low probability). If you can use the Arduino IDE, you can program the AQI board yourself by using this software: github.com/switchdoclabs/SDL_Arduino_WeatherSenseAQILet us know! BP I got the replacement parts, replaced them. The test was the same. So I decided to perform a clean install and noticed a compiler warning that I didn't catch before. [ 87%] Building C object src/CMakeFiles/rtl_433.dir/devices/x10_rf.c.o
[ 87%] Building C object src/CMakeFiles/rtl_433.dir/devices/x10_sec.c.o
[ 88%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_FT020T.c.o
[ 88%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_F016TH.c.o
[ 89%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_solarmax.c.o
/home/pi/rtl_433/src/devices/switchdoclabs_solarmax.c: In function ‘convertByteToLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_solarmax.c:149:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_solarmax.c: In function ‘convertByteToUnsignedLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_solarmax.c:174:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_solarmax.c: In function ‘convertByteToFloat’:
/home/pi/rtl_433/src/devices/switchdoclabs_solarmax.c:199:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
[ 90%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_SM23.c.o
[ 90%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_weathersenseAQI.c.o
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c: In function ‘AQIconvertByteToLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c:149:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c: In function ‘AQIconvertByteToUnsignedLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c:174:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c: In function ‘AQIconvertByteToUnsignedInt’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c:197:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c: In function ‘AQIconvertByteToFloat’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAQI.c:220:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
[ 91%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_weathersenseTB.c.o
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c: In function ‘TBconvertByteToLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c:148:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c: In function ‘TBconvertByteToUnsignedLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c:173:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c: In function ‘TBconvertByteToUnsignedInt’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c:196:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c: In function ‘TBconvertByteToFloat’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseTB.c:219:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
[ 91%] Building C object src/CMakeFiles/rtl_433.dir/devices/switchdoclabs_weathersenseAS.c.o
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c: In function ‘ASconvertByteToLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c:149:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c: In function ‘ASconvertByteToUnsignedLong’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c:174:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c: In function ‘ASconvertByteToUnsignedInt’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c:197:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c: In function ‘ASconvertByteToFloat’:
/home/pi/rtl_433/src/devices/switchdoclabs_weathersenseAS.c:220:8: warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
};
^
[ 92%] Linking C executable rtl_433
[ 92%] Built target rtl_433
Scanning dependencies of target style-check
Could this warning be the issue? If so, do you have any suggestions on how to resolve? warning: ISO C99 doesn’t support unnamed structs/unions [-Wpedantic]
|
|
|
Post by SDL on Jun 21, 2021 7:19:35 GMT -8
No, that warning is fine. Everything still works.
Remind me. Do you still pick up the WeatherRack2 with your SDR?
Could it be you have the AQ and TB too close to the receiving antenna?
BP
|
|
|
Post by pavalon on Jun 21, 2021 10:29:13 GMT -8
No, that warning is fine. Everything still works. Remind me. Do you still pick up the WeatherRack2 with your SDR? Could it be you have the AQ and TB too close to the receiving antenna? BP Yes the WeatherRack2 and temp sensors show up. Only the Lighting and AQI don't. I have tried them at different locations from the SDR. It's really odd. I'll try again in different locations but I don't think thats going to resolve it.
|
|
|
Post by SDL on Jun 21, 2021 10:35:03 GMT -8
This is really strange. You bought two replacement transmitters? Please send a picture of them. Look very closely at the crystal (metal cylinder) on the top. Many of the cheap 433MHz versions are actually 315MHz and will not work.
BP
|
|
|
Post by pavalon on Jun 21, 2021 17:31:45 GMT -8
This is really strange. You bought two replacement transmitters? Please send a picture of them. Look very closely at the crystal (metal cylinder) on the top. Many of the cheap 433MHz versions are actually 315MHz and will not work. BP pi@Skyweather:~ $ sudo /usr/local/bin/rtl_433 -q -F json -R 146 -R 147 -R 148 -R 150 -R 151
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 "/root/.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.
Allocating 15 zero-copy buffers
{"time" : "2021-06-21 21:28:55", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspeed" : 0, "gustwindspeed" : 0, "win ddirection" : 324, "cumulativerain" : 123, "temperature" : 1058, "humidity" : 54 , "light" : 0, "uv" : 0, "mic" : "CRC"}
{"time" : "2021-06-21 21:29:29", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspee d" : 0, "gustwindspeed" : 0, "winddirection" : 324, "cumulativerain" : 123, "temperature" : 1059, "humidity" : 54, "light" : 0, "uv" : 0, "mic" : "CRC"}
{"time" : "2021-06-21 21:29:45", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspee d" : 0, "gustwindspeed" : 0, "winddirection" : 324, "cumulativerain" : 123, "temperature" : 1059, "humidity" : 54, "light" : 0, "uv" : 0, "mic" : "CRC"}
{"time" : "2021-06-21 21:29:45", "model" : "SwitchDoc Labs FT020T AIO", "device" : 12, "id" : 0, "batterylow" : 0, "avewindspee d" : 0, "gustwindspeed" : 0, "winddirection" : 324, "cumulativerain" : 123, "temperature" : 1059, "humidity" : 54, "light" : 0, "uv" : 0, "mic" : "CRC"}
{"time" : "2021-06-21 21:30:02", "model" : "SwitchDoc Labs F016TH Thermo-Hygrometer", "device" : 184, "modelnumber" : 5, "chann el" : 1, "battery" : "OK", "temperature_F" : 66.500, "humidity" : 50, "mic" : "CRC"}
|
|
|
Post by pavalon on Jun 21, 2021 17:33:12 GMT -8
Heres the transmitter. Attachments:
|
|