|
Post by SDL on Apr 9, 2018 16:32:52 GMT -8
Updated July 17, 2018Folks, We are collecting our bugs for BugWeek May 2018. Please submit your bugs to this thread and I will update it here. Bug #1: GroveWeatherPi - MySQL not properly guarded in DoAllGraphs: Fixed Version 3.01Bug #2: GroveWeatherPi - Sunlight Sensor not found (We think this is fixed) and has incorrect gain for outside sunlight: Fixed Version 3.02Bug #3: ThunderBoard - Not really a bug, but John is building a video to explain the fine tuning. Done and Posted. www.switchdoc.com/2018/07/tutorial-tuning-as3935-lightning-detector/
Bug #4: Custom ThunderBoard settings don't seem to be saved to EEPROM in OurWeather V031 Fixed OurWeather Admin Page 3.6 - Was being saved, but not reported as saved. Admin page was not reading variables back from OurWeatherBug #5: Maybe a problem with OurWeather V031 with reading the AirQuality sensor even without SunAirPlus being hooked up. Fixed in OurWeather V032 - set ADC address to 0x48 for AirQuality Sensor.
Bug #6: Thread I2C Read issues in GroveWeatherPi: Fixed Version 3.01Bug #7: Determine if the AM2315 Reliability drivers for the ESP8266 need to be added to the Raspberry Pi Drivers. Bug #8: GroveWeatherPi - ImportError: No module named Adafruit_BBIO.GPIO under Stretch (BP Note: I can't reproduce this) Best regards, BP
|
|
|
Post by doxidad on Apr 29, 2018 4:59:18 GMT -8
GroveWeatherPi - How about the problem with thread synchronization? Will that be worked on or is it considered part of #1? Thanks!
|
|
mcinflyre
Junior Member

Posts: 53
Raspberry Pi: Yes
Other Device: PC, Mac and Android devices.
|
Post by mcinflyre on Apr 29, 2018 7:27:07 GMT -8
The new ThunderBoard section in OurWeather Admin does not appear to be saving changes. I've tested it on multiple browsers and devices as well as 2 separate OurWeather builds. The admin page indicates the changes were made, however, when you refresh or go back to the page later, they are not saved.
|
|
|
Post by SDL on Apr 30, 2018 12:55:46 GMT -8
That is on our list to check out. I've put it up on the bug week list now to make sure it does not fall off the plate.
BP
|
|
ruch
New Member
Posts: 12
|
Post by ruch on May 5, 2018 14:46:45 GMT -8
Hi BP,
Any update on the status of May bug list?
Ruch
|
|
|
Post by SDL on May 5, 2018 14:51:41 GMT -8
Ruch,
We are starting the bug list on Monday, May 14th. Woohoo! Our beloved president has decreed this.
BP
|
|
ruch
New Member
Posts: 12
|
Post by ruch on May 19, 2018 6:14:22 GMT -8
Hi BP,
Any update on this?
Ruch
|
|
ruch
New Member
Posts: 12
|
Post by ruch on May 24, 2018 22:14:29 GMT -8
Hi BP,
Any update on Bug #1?
Thanks, Ruch
|
|
|
Post by SDL on May 25, 2018 13:58:05 GMT -8
It will be uploaded this weekend. John is coming in to get all caught up. He was out of the Lab for a couple of days last week.
BP
|
|
ruch
New Member
Posts: 12
|
Post by ruch on Jun 5, 2018 22:46:46 GMT -8
Is the update already available?
|
|
|
Post by SDL on Jun 6, 2018 7:08:10 GMT -8
Yes, it is up there on GitHub.com/switchdoclabs
BP
|
|
|
Post by doxidad on Jun 9, 2018 4:44:19 GMT -8
With V3.01 I still have the threading problem:
SunAirPlus Currents / Voltage ----------------- [Errno 121] Remote I/O error File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/pi/SDL_Pi_GroveWeatherPi/GroveWeatherPi.py", line 1399, in sampleAndDisplay shuntvoltage1 = sunAirPlus.getShuntVoltage_mV(LIPO_BATTERY_CHANNEL) File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 156, in getShuntVoltage_mV value = self._getShuntVoltage_raw(channel) File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 139, in _getShuntVoltage_raw value = self._read_register_little_endian(INA3221_REG_SHUNTVOLTAGE_1+(channel -1) *2) File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 108, in _read_register_little_endian result = self._bus.read_word_data(self._addr,register) & 0xFFFF
|
|
|
Post by SDL on Jun 19, 2018 10:31:48 GMT -8
Dox,
Try it again with 3.02. If it reoccurs, please post a hundred lines or so above the error.
BP
|
|
|
Post by doxidad on Jun 19, 2018 15:39:11 GMT -8
Ok - This is still happening. Here's the first part of the log that shows what devices I have. >>>>>>>>>>>>>>>>>>>>>>>>
GroveWeatherPi Solar Powered Weather Station Version 3.02 - SwitchDoc Labs
Program Started at:2018-06-19 17:27:33
---------------------- I2C Mux - TCA9545: Present BMP280: Present DS3231: Present HDC1080: Present HTU21DF: Not Present AM2315: Present ADS1015: Not Present ADS1115: Present AS3935: Present OLED: Present SunAirPlus: Present Sunlight Sensor: Not Present WXLink: Not Present
UseMySQL: Present Check WLAN: Present WeatherUnderground: Not Present
<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< A section showing the error >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
----------------- Local WeatherRack Weather Sensors Sampling ----------------- Rain Total= 0.00 in Rain Last 60 Minutes= 0.00 in Wind Speed= 0.00 MPH MPH wind_gust= 0.00 MPH ------Patting The Dog------- Wind Direction= 0.00 Degrees Wind Direction Voltage= 3.859 V ----------------- ----------------- DS3231 Real Time Clock ----------------- Raspberry Pi= 2018-06-19 17:32:26 DS3231= 2018-06-19 17:32:26 DS3231 Temperature= 26.25 C ----------------- ----------------- BMP280 Barometer ----------------- Temperature = 26.04 C Pressure = 98.23 KPa Altitude = 260.66 m Sealevel Pressure = 101.87 KPa ----------------- ----------------- Sunlight Vi/IR/UV Sensor Not Present ----------------- ----------------- HDC1080 Temp/Hum ----------------- Temperature = 26.00 C Humidity = 46.27 % ----------------- HTU21DF Temp/Hum Not Present ----------------- ----------------- ----------------- AS3935 Lightning Detector ----------------- Last result from AS3935: ----No Lightning detected--- Lightning Count = 0 ----------------- ----------------- AM2315 Temperature/Humidity Sensor ----------------- outsideTemperature: 25.5 C outsideHumidity: 39.8 % crc: 1 ----------------- ----------------- ----------------- ----------------- SunAirPlus Currents / Voltage ----------------- LIPO_Battery Bus Voltage: 4.19 V LIPO_Battery Shunt Voltage: 0.00 mV LIPO_Battery Load Voltage: 4.19 V LIPO_Battery Current 1: 0.00 mA Battery Power 1: 0.00 W
Solar Cell Bus Voltage 2: 0.78 V Solar Cell Shunt Voltage 2: 0.00 mV Solar Cell Load Voltage 2: 0.78 V Solar Cell Current 2: -0.00 mA Solar Cell Power 2: -0.00 W
Output Bus Voltage 3: 5.13 V Output Shunt Voltage 3: 20.24 mV Output Load Voltage 3: 5.13 V Output Current 3: 202.40 mA Output Power 3: 1.04 W
------------------------------ Tick! The time is: 2018-06-19 17:32:35.888277 ----------------- Local WeatherRack Weather Sensors Sampling ----------------- Rain Total= 0.00 in Rain Last 60 Minutes= 0.00 in Wind Speed= 0.00 MPH MPH wind_gust= 0.00 MPH ------Patting The Dog------- Wind Direction= 0.00 Degrees Wind Direction Voltage= 3.859 V ----------------- SunAirPlus Sampling ----------------- trying database trying database before query query=INSERT INTO WeatherData(TimeStamp,as3935LightningCount, as3935LastInterrupt, as3935LastDistance, as3935LastStatus, currentWindSpeed, currentWindGust, totalRain, bmp180Temperature, bmp180Pressure, bmp180Altitude, bmp180SeaLevel, outsideTemperature, outsideHumidity, currentWindDirection, currentWindDirectionVoltage, insideTemperature, insideHumidity) VALUES(UTC_TIMESTAMP(), 0.000, 0.000, 0.000, "", 0.000, 0.001, 0.000, 0, 0.000, 0.000, 0.000, 25.500, 39.800, 0.000, 0.000, 25.999, 46.274) rain in past 60 minute= 0.0 before query query=INSERT INTO PowerSystem(TimeStamp, batteryVoltage, batteryCurrent, solarVoltage, solarCurrent, loadVoltage, loadCurrent, batteryPower, solarPower, loadPower, batteryCharge) VALUES (UTC_TIMESTAMP (), 4.192, 0.000, 0.800, -0.000, 5.128, 186.000, 0.000, -0.000, 0.954, 100.000) [Errno 121] Remote I/O error File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/pi/SDL_Pi_GroveWeatherPi/GroveWeatherPi.py", line 1221, in sampleAndDisplay Scroll_SSD1306.addLineOLED(display, ("Wind Speed=\t%0.2f MPH")%(currentWindSpeed/1.6)) File "/home/pi/SDL_Pi_GroveWeatherPi/Scroll_SSD1306.py", line 65, in addLineOLED display.display() File "./Adafruit_Python_SSD1306/Adafruit_SSD1306/SSD1306.py", line 164, in display self.command(SSD1306_COLUMNADDR) File "./Adafruit_Python_SSD1306/Adafruit_SSD1306/SSD1306.py", line 128, in command self._i2c.write8(control, c) File "build/bdist.linux-armv7l/egg/Adafruit_GPIO/I2C.py", line 114, in write8 self._bus.write_byte_data(self._address, register, value) File "build/bdist.linux-armv7l/egg/Adafruit_PureIO/smbus.py", line 236, in write_byte_data self._device.write(data)
----------------- Weather Sampling ----------------- ----------------- [Errno 121] Remote I/O error File "/usr/local/lib/python2.7/dist-packages/apscheduler/executors/base.py", line 125, in run_job retval = job.func(*job.args, **job.kwargs) File "/home/pi/SDL_Pi_GroveWeatherPi/GroveWeatherPi.py", line 1093, in sampleSunAirPlus shuntvoltage1 = sunAirPlus.getShuntVoltage_mV(LIPO_BATTERY_CHANNEL) File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 156, in getShuntVoltage_mV value = self._getShuntVoltage_raw(channel) File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 139, in _getShuntVoltage_raw value = self._read_register_little_endian(INA3221_REG_SHUNTVOLTAGE_1+(channel -1) *2) File "./SDL_Pi_INA3221/SDL_Pi_INA3221.py", line 108, in _read_register_little_endian result = self._bus.read_word_data(self._addr,register) & 0xFFFF
----------------- Local WeatherRack Weather Sensors Sampling ----------------- Rain Total= 0.00 in Rain Last 60 Minutes= 0.00 in Wind Speed= 0.00 MPH MPH wind_gust= 0.00 MPH Wind Direction= 0.00 Degrees ------Patting The Dog------- Wind Direction Voltage= 3.857 V -----------------
|
|
|
Post by doxidad on Aug 11, 2018 6:21:31 GMT -8
Are there any plans for making the I/O in GroveWeatherPi thread safe?
|
|