Post by DanM on May 4, 2020 17:02:48 GMT -8
I am new to the forum and am hoping someone can help me with next steps. I deployed my SkyWeather about 2 weeks ago after a (really) slow build. Everything was going well and the unit passed all the tests. About 4 days ago after a really intense rain, the unit stopped working. At first I believed it was the reboot/clean-up job running so I logged into the device to reboot it. When it rebooted and I went to start the program I receive the following:
Based on my reading in this forum prior to posting I believe that my PiWeather card is bad, but how exactly can I confirm this (in my mind I imagine the fault could also lie with the Pi2Grover card)?
Below are the results of the first 2 tests in the guide which are both seeming to error:
I am pretty crushed that this wonderful project is now reduced to lights and am hoping someone can either spot the error or advise me what I can do to resolve this.
pi@mydevice:~/SDL_Pi_SkyWeather $ sudo python SkyWeather.py
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
('Pi Camera Revision', u'ov5647')
Error accessing 0x48: Check your I2C address
Error accessing 0x48: Check your I2C address
Type Error
I/O error(121): Remote I/O error
('after bme680', False)
as3935 start
as3935 present at 0x02
after SHT30
^C
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-05-04 20:56:19
----------------------
I2C Mux - TCA9545: Not Present
BME680: Not Present
BMP280: Not Present
SkyCam: Present
DS3231: Not Present
HDC1080: Not Present
SHT30: Not Present
AM2315: Not Present
ADS1015: Not Present
ADS1115: Not Present
AS3935: Present
OLED: Not Present
SunAirPlus/SunControl: Not Present
SolarMAX: Not Present
SI1145 Sun Sensor: Not Present
TSL2591 Sun Sensor: Not Present
DustSensor: Present
WXLink: Not Present
Dual SolarMAX/WXLink: Not Present
UseBlynk: Not Present
UseMySQL: Not Present
Check WLAN: Not Present
WeatherUnderground: Present
UseWeatherStem: Not Present
----------------------
sendmail exception raised
-----------------
Sample and Display
-----------------
-----------------
Weather Sampling
-----------------
-----------------
Traceback (most recent call last):
File "SkyWeather.py", line 1762, in <module>
sampleAndDisplay()
File "SkyWeather.py", line 1291, in sampleAndDisplay
sampleWeather()
File "SkyWeather.py", line 995, in sampleWeather
HTUhumidity = bmp180Humidity
UnboundLocalError: local variable 'bmp180Humidity' referenced before assignment
Based on my reading in this forum prior to posting I believe that my PiWeather card is bad, but how exactly can I confirm this (in my mind I imagine the fault could also lie with the Pi2Grover card)?
Below are the results of the first 2 tests in the guide which are both seeming to error:
pi@mydevice:~/SDL_Pi_SkyWeather $ sudo python testSDL_Pi_TCA9545.py
Test SDL_Pi_TCA9545 Version 1.0 - SwitchDoc Labs
Sample uses 0x73
Program Started at:2020-05-04 20:58:17
Traceback (most recent call last):
File "testSDL_Pi_TCA9545.py", line 51, in <module>
tca9545 = SDL_Pi_TCA9545.SDL_Pi_TCA9545(addr=TCA9545_ADDRESS, bus_enable = TCA9545_CONFIG_BUS0)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 47, in __init__
self._write(TCA9545_REG_CONFIG, config)
File "./SDL_Pi_TCA9545/SDL_Pi_TCA9545.py", line 52, in _write
self._bus.write_byte_data(self._addr, register, data)
IOError: [Errno 121] Remote I/O error
pi@mydevice:~/SDL_Pi_SkyWeather $ sudo python testAM2315.py
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
TCA9545 I2C Mux Not Present
>>>>>>>>>>>>>>>>>>><<<<<<<<<<<
./SDL_Pi_AM2315/AM2315.py:36: RuntimeWarning: This channel is already in use, continuing anyway. Use GPIO.setwarnings(False) to disable warnings.
GPIO.setup(self.powerpin, GPIO.OUT)
^CTraceback (most recent call last):
File "testAM2315.py", line 51, in <module>
outsideHumidity, outsideTemperature, crc_check = am2315.read_humidity_temperature_crc()
File "./SDL_Pi_AM2315/AM2315.py", line 246, in read_humidity_temperature_crc
self._read_data()
File "./SDL_Pi_AM2315/AM2315.py", line 193, in _read_data
self.powerCycleAM2315()
File "./SDL_Pi_AM2315/AM2315.py", line 56, in powerCycleAM2315
time.sleep(10.50)
KeyboardInterrupt
I am pretty crushed that this wonderful project is now reduced to lights and am hoping someone can either spot the error or advise me what I can do to resolve this.