Post by bean on Sept 12, 2020 22:52:07 GMT -8
Greetings,
I am putting this project together with my son and we are stuck. We are using a raspberry pi 4.
We are thinking there is an error with the Camera "I/O error(121): Remote I/O error"
Then we get to the end and have some traceback errors:
pi@raspberrypi:~ $ cd SDL_Pi_SkyWeather
pi@raspberrypi:~/SDL_Pi_SkyWeather $ sudo pigpiod
pi@raspberrypi:~/SDL_Pi_SkyWeather $ sudo python SkyWeather.py
(0.0, 0, 0)
()
('Pi Camera Revision', u'ov5647')
I/O error(121): Remote I/O error
('after bme680', False)
as3935 start
as3935 present at 0x02
as3935 Interrupt
tmp= [101, 90, 6, 156, 34, 156]
outsideTemperature: 24.3 C
outsideHumidity: 61.0 %
crcH: 0x9c
crcT 0x06
after SHT30
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-09-13 01:39:44
----------------------
I2C Mux - TCA9545: Present
BME680: Not Present
BMP280: Not Present
SkyCam: Present
DS3231: Not Present
HDC1080: Not Present
SHT30: Present
AM2315: Not Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus/SunControl: Not Present
SolarMAX: Not Present
SI1145 Sun Sensor: Not Present
TSL2591 Sun Sensor: Present
DustSensor: Present
WXLink: Not Present
Dual SolarMAX/WXLink: Not Present
UseBlynk: Not Present
UseMySQL: Not Present
Check WLAN: Not Present
WeatherUnderground: Not Present
UseWeatherStem: Not Present
----------------------
sendmail exception raised
-----------------
Sample and Display
-----------------
-----------------
Weather Sampling
-----------------
(' value = ', 4530.5625)
(' voltageValue = ', 4.5305625)
-----------------
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
pi@raspberrypi:~/SDL_Pi_SkyWeather $
Any thoughts as to why the traceback and how we can get around this?
Thanks,
Bean
I am putting this project together with my son and we are stuck. We are using a raspberry pi 4.
We are thinking there is an error with the Camera "I/O error(121): Remote I/O error"
Then we get to the end and have some traceback errors:
pi@raspberrypi:~ $ cd SDL_Pi_SkyWeather
pi@raspberrypi:~/SDL_Pi_SkyWeather $ sudo pigpiod
pi@raspberrypi:~/SDL_Pi_SkyWeather $ sudo python SkyWeather.py
(0.0, 0, 0)
()
('Pi Camera Revision', u'ov5647')
I/O error(121): Remote I/O error
('after bme680', False)
as3935 start
as3935 present at 0x02
as3935 Interrupt
tmp= [101, 90, 6, 156, 34, 156]
outsideTemperature: 24.3 C
outsideHumidity: 61.0 %
crcH: 0x9c
crcT 0x06
after SHT30
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-09-13 01:39:44
----------------------
I2C Mux - TCA9545: Present
BME680: Not Present
BMP280: Not Present
SkyCam: Present
DS3231: Not Present
HDC1080: Not Present
SHT30: Present
AM2315: Not Present
ADS1015: Not Present
ADS1115: Present
AS3935: Present
OLED: Not Present
SunAirPlus/SunControl: Not Present
SolarMAX: Not Present
SI1145 Sun Sensor: Not Present
TSL2591 Sun Sensor: Present
DustSensor: Present
WXLink: Not Present
Dual SolarMAX/WXLink: Not Present
UseBlynk: Not Present
UseMySQL: Not Present
Check WLAN: Not Present
WeatherUnderground: Not Present
UseWeatherStem: Not Present
----------------------
sendmail exception raised
-----------------
Sample and Display
-----------------
-----------------
Weather Sampling
-----------------
(' value = ', 4530.5625)
(' voltageValue = ', 4.5305625)
-----------------
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
pi@raspberrypi:~/SDL_Pi_SkyWeather $
Any thoughts as to why the traceback and how we can get around this?
Thanks,
Bean