|
Post by triggerfish on Feb 8, 2020 8:28:30 GMT -8
What device do you have plugged in at 0x3C? Is that a physical place to check? If so, where. Will disconnect the OLED when I am home again.
|
|
|
Post by SDL on Feb 8, 2020 10:12:25 GMT -8
No, sorry. It is an I2C address used by the OLED. I would say the OLED is not really supported in SkyWeather. I will note that.
BP
|
|
|
Post by triggerfish on Feb 8, 2020 13:25:45 GMT -8
No, sorry. It is an I2C address used by the OLED. I would say the OLED is not really supported in SkyWeather. I will note that. BP With serial off in raspi-config it works great though. But will test without when Ik get home again, Keep you posted.
|
|
|
Post by triggerfish on Feb 14, 2020 1:04:38 GMT -8
Took some time, but I enabled serial al described earlier, shut down the system, disconnected the OLED display and restarted.
The test displays:
pi@IBADHOEV14:~/SDL_Pi_SkyWeather $ sudo python testWXLink.py ('HW-Version: ', 18) Starting readWXLink Tick! The time is: 2020-02-14 09:34:26.466617 Starting readWXLink Tick! The time is: 2020-02-14 09:34:31.481624 Starting readWXLink Tick! The time is: 2020-02-14 09:34:36.496889 Starting readWXLink Tick! The time is: 2020-02-14 09:34:41.511772 Starting readWXLink Tick! The time is: 2020-02-14 09:34:46.518123 Starting readWXLink Tick! The time is: 2020-02-14 09:34:51.531567 I let it run for several minutes, but the only thing changing was the time. I got no temp/hum readings. Not sure if the test program would do so anyway.
Then I started SkyWeather and now it started:
/home/pi/SDL_Pi_SkyWeather/pclogging.py:58: Warning: Field 'ID' doesn't have a default value cur.execute(query) (202.36800000000002, 107, 35) () ('Pi Camera Revision', u'ov5647') ('HW-Version: ', 18) ('after bme680', True) as3935 start as3935 present at 0x02 after SHT30 outsideTemperature: 6.7 C outsideHumidity: 87.0 % crc: 0x4250
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-02-14 09:37:14
---------------------- I2C Mux - TCA9545: Present BME680: Present BMP280: Not Present SkyCam: Present DS3231: Not Present HDC1080: Not Present SHT30: Not Present AM2315: Present ADS1015: Not Present ADS1115: Present AS3935: Present OLED: Not Present SunAirPlus/SunControl: Present SolarMAX: Not Present SI1145 Sun Sensor: Not Present TSL2591 Sun Sensor: Present DustSensor: Present WXLink: Present Dual SolarMAX/WXLink: Not Present
UseBlynk: Present UseMySQL: Present Check WLAN: Present WeatherUnderground: Present UseWeatherStem: Present ---------------------- ----------------- SunAirPlus Sampling ----------------- ----------------- Sample and Display ----------------- ----------------- Weather Sampling ----------------- Starting readWXLink Bad data from WXLink, discarded new data. Kept old ----------------- WXLink_Data Stale don't send to WeatherUnderground ----------------- And further on:
------------- WXLink Blocks Block1 Length= 0 Block2 Length= 0 ----------------- Sample and Display Done ----------------- ------Patting The Dog------- PowerVoltageGraph finished now ------Patting The Dog------- Tick! The time is: 2020-02-14 09:54:34.796424 ----------------- Sample and Display ----------------- ----------------- Weather Sampling ----------------- Starting readWXLink Bad data from WXLink, discarded new data. Kept old ----------------- So. The WX link is detected in some way, but no data seems to come from it.
And, not unimportant to me... I've lost my OLED display!
Any ideas on how to get things working as expected. BTW, I packed all traces of the old GroveWeatherPi, so there can be no refference to that anymore.
|
|
|
Post by SDL on Feb 15, 2020 14:16:37 GMT -8
Hmmm. You are not getting WXLink packets into SkyWeather.
To simplify things, can you run sudo python testWXLink.py ?
BP
|
|
|
Post by triggerfish on Feb 16, 2020 1:58:11 GMT -8
Took some time, but I enabled serial al described earlier, shut down the system, disconnected the OLED display and restarted. The test displays:
pi@IBADHOEV14:~/SDL_Pi_SkyWeather $ sudo python testWXLink.py ('HW-Version: ', 18) Starting readWXLink Tick! The time is: 2020-02-14 09:34:26.466617 Starting readWXLink Tick! The time is: 2020-02-14 09:34:31.481624 Starting readWXLink Tick! The time is: 2020-02-14 09:34:36.496889 Starting readWXLink Tick! The time is: 2020-02-14 09:34:41.511772 Starting readWXLink Tick! The time is: 2020-02-14 09:34:46.518123 Starting readWXLink Tick! The time is: 2020-02-14 09:34:51.531567 I let it run for several minutes, but the only thing changing was the time. I got no temp/hum readings. Not sure if the test program would do so anyway.
Was allready ran and included
|
|
|
Post by SDL on Feb 17, 2020 7:58:58 GMT -8
I'm a bit at a loss.
Forgive me if I ask the same questions again:
1) Did we swap out the LoRa parts?
2) Have you looked at the Serial output on the Mini Pro LP to see if messages are being sent? The yellow light will flash about every 30 seconds too.
3) Have you swapped the LoRa transceivers and re run the above program (testWXLink) - you should see the ('HW-Version: ', 18) if it is detected.
4) Are the units at least 1m apart?
5) are you antenna's uncoiled?
6) do you have third party antennas connected?
BP
|
|
|
Post by triggerfish on Feb 18, 2020 6:47:30 GMT -8
I'm a bit at a loss. Forgive me if I ask the same questions again: 1) Did we swap out the LoRa parts? Remove the LoRa board from the main system and plug the wxlink in the Pi2Grover serial? Yes. Ok, it does NOT Not yet, can try that Yes. No, straight No.
|
|
|
Post by kazz on Mar 10, 2020 0:35:45 GMT -8
I have gotten a SkyWeather Plus Solar WXLink remote through Kickstarter. I have encountered with the same problem. Looking at the message after typing in ^C, the test program is waiting for the responce of LoRa transceiver in WeatherRack.
Of course, those antennas were uncoiled at least 1m apart and third party antenna was not connected. I tried to swap out the LoRa transceivers and to rerun the test program, but nothing had changed.
Only power led was lighting on of Mini pro LP Board.
What should I do to fix it ?
Best regards, Horiuchi,
----------------------------------------- pi@switchdoclabs:~/SDL_Pi_SkyWeather $ sudo python testWXLink.py ('HW-Version: ', 18) Tick! The time is: 2020-03-10 16:55:39.888877 Tick! The time is: 2020-03-10 16:55:44.893037 Tick! The time is: 2020-03-10 16:55:49.897740 Tick! The time is: 2020-03-10 16:55:54.901636 Tick! The time is: 2020-03-10 16:55:59.906044 Tick! The time is: 2020-03-10 16:56:04.916122 Tick! The time is: 2020-03-10 16:56:09.925665 <- key in ^C ^CTraceback (most recent call last): File "testWXLink.py", line 67, in <module> readLoRa.readRawWXLink() File "/home/pi/SDL_Pi_SkyWeather/readLoRa.py", line 300, in readRawWXLink if state.ll.waitRX(timeout=5): File "./pyRFM/lib/ll/ll_rfm9x.py", line 407, in waitRX time.sleep(0.01) KeyboardInterrupt -------------------------------
|
|
|
Post by SDL on Mar 10, 2020 16:03:06 GMT -8
have you disabled the serial console using raspi-config on the Pi?
BP
|
|
|
Post by kazz2019 on Mar 11, 2020 19:31:28 GMT -8
Thank you very much for your advice. I set "No" to the login shell question and "Yes" to the serial port hardware by using raspi-config, but it did not bring to success. I guess any data would not come from a remote LoRa in WeatherRack.
I built a remote WeatherRack and SkyWeather Box with reference to the "SkyWeather WXLink Assembly and Testing Guide May 2019 V1.2",which guided to plug the Second LoRa Transciever into not I2C but the Serial Grove Connector on the Pi2Grover board.
I checked many times that the wiring was correct, and did not find any incorrect wirings. To build those units, I referred the following two documents: - SkyWeather WXLink Assembly and Testing Guide, May 2019, V1.2 - SkyWeather Assembly and Testing Guide, July 2019, V1.7
How do I check a remote WeatherRack is correctly working ?
Best regards, Horiuchi
|
|
|
Post by SDL on Mar 12, 2020 16:10:27 GMT -8
Kazz, I'd plug in an FTDI cable into the Grove Mini Pro LP and see what the serial interface says there. I just wonder if you have the right programming in that device. Post the results from the serial port here. The correct and latest software is: github.com/switchdoclabs/SDL_Arduino_WXLink_LoRa_TxBP
|
|
|
Post by Kazz on Mar 17, 2020 7:32:22 GMT -8
I have prepared a FTDI cable. But according to the Grove Pro Mini LP (rev.0097-060916-01), when it is connected to either a computer running Mac OS X or Linux, it automatically resets software each time a connection is made (via USB). Is it correct? After I plug in a FTDI cable into it, should I get an output by using "Serial Monitor" of arduino ICE ?
Kazz
|
|
|
Post by SDL on Mar 19, 2020 13:42:49 GMT -8
Kazz,
Yes, but make sure you set the baud rate to 115200
BP
|
|
|
Post by Kazz on Mar 23, 2020 7:04:26 GMT -8
Thank you for your reply. I have plugged a FTDI cable into the Grove Mini Pro LP and see what the serial interface says, and found out it says only "init failed" even after I've pushed the reset button on it. I wonder what is the problem ?
Best regards Kazz
|
|