Post by SkyCamera issue on Jun 4, 2020 19:55:08 GMT -8
I am having a problem with the SkyCamera running on a Pi Zero with Buster (I have also tried this on a RPi 1A and a RPi4B with the same results). The SkyWeather logs for the camera look like this:
tail -f -n 200 SkyWeather.log
nohup: ignoring input
(29.376000000000012, 40, 20)
()
('Pi Camera Revision', u'ov5647')
('after bme680', True)
as3935 start
as3935 present at 0x02
after SHT30
outsideTemperature: 24.8 C
outsideHumidity: 49.9 %
crc: 0xa501
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-06-04 20:44:26
----------------------
I2C Mux - TCA9545: Present
BME680: Present
BMP280: Not Present
SkyCam: Present
DS3231: Not Present
HDC1080: Not Present
SHT30: Not Present
AM2315: Present
ADS1015: Present
ADS1115: Not 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: Present
UseMySQL: Not Present
Check WLAN: Not Present
WeatherUnderground: Not Present
UseWeatherStem: Not Present
----------------------
Entering blynkInit:
state.EnglishMetric = 0
Exiting blynkInit:
blynkEventUpdate: SW Startup Version 055
blynkEventUpdate:POST:r.status_code: 200
blynkStateUpdate:Pre:put_body: ["2020-06-04 20:44:28: SW Startup Version 055\n"]
blynkStateUpdate:POST:r.status_code: 200
sendmail exception raised
-----------------
Sample and Display
-----------------
-----------------
Weather Sampling
-----------------
(' value = ', 4479.0)
(' voltageValue = ', 4.479)
-----------------
AM2315 Stats: (g,br,bc,rt,pc) (2, 0, 0, 2, 0)
-----------------
SunAirPlus Not Present
-----------------
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-------------
Current State
-------------
currentOutsideTemperature = 24.9
currentOutsideHumidity = 49.7
currentInsideTemperature = 26.37
currentInsideHumidity = 31.605
currentRain60Minutes = 0.0
currentSunlightVisible = 29.376
currentSunlightIR = 20
currentSunlightUV = 0
currentSunlightUVIndex = 0.0
ScurrentWindSpeed = 0.0
ScurrentWindGust = 0
ScurrentWindDirection = 270.0
currentTotalRain = 0.0
currentBarometricPressure = 996.65
currentAltitude = 110.0
currentSeaLevel = 1009.74748377
barometricTrend = True
pastBarometricReading = 996.65
Outdoor_AirQuality_Sensor_Value = 0
Hour24_Outdoor_AirQuality_Sensor_Value = 0
Indoor_AirQuality_Sensor_Value = 0
-------------
currentAs3935Interrupt = 0
currentAs3935LastInterrupt = 0
currentAs3935LastDistance = 0
currentAs3935LastStatus = 0
currentAs3935LastLightningTimeStamp = 0
-------------
<snip>
-----------------
Sample and Display Done
-----------------
taking SkyPicture
--------------------
SkyCam Picture Taken
--------------------
Traceback (most recent call last):
File "/home/pi/SDL_Pi_SkyWeather/SkyCamera.py", line 47, in takeSkyPicture
camera.capture('static/skycamera.jpg')
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 1423, in capture
'Timed out waiting for capture to end')
PiCameraRuntimeError: Timed out waiting for capture to end
--------------------
SkyCam Picture Failed
--
Running raspistill I get the following result:
pi@piz:~ $ vcgencmd get_camera
supported=1 detected=1
pi@piz:~ $ raspistill -v -o test.jpg
"raspistill" Camera App (commit 06bc6daa0213 Tainted)
Camera Name ov5647
Width 2592, Height 1944, filename test.jpg
Using camera 0, sensor mode 0
GPS output Disabled
Quality 85, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Time delay 5000, Timelapse 0
Link to latest frame enabled no
Full resolution preview No
Capture method : Single capture
Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Flicker Avoid Mode 'off'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Opening output file test.jpg
Enabling encoder output port
Starting capture -1
Camera control callback cmd=0x4f525245mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board
I was hoping someone had seen this before and knew the process to fix this issue.
Thanks
Richard
tail -f -n 200 SkyWeather.log
nohup: ignoring input
(29.376000000000012, 40, 20)
()
('Pi Camera Revision', u'ov5647')
('after bme680', True)
as3935 start
as3935 present at 0x02
after SHT30
outsideTemperature: 24.8 C
outsideHumidity: 49.9 %
crc: 0xa501
SkyWeather Weather Station Version 055 - SwitchDoc Labs
Program Started at:2020-06-04 20:44:26
----------------------
I2C Mux - TCA9545: Present
BME680: Present
BMP280: Not Present
SkyCam: Present
DS3231: Not Present
HDC1080: Not Present
SHT30: Not Present
AM2315: Present
ADS1015: Present
ADS1115: Not 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: Present
UseMySQL: Not Present
Check WLAN: Not Present
WeatherUnderground: Not Present
UseWeatherStem: Not Present
----------------------
Entering blynkInit:
state.EnglishMetric = 0
Exiting blynkInit:
blynkEventUpdate: SW Startup Version 055
blynkEventUpdate:POST:r.status_code: 200
blynkStateUpdate:Pre:put_body: ["2020-06-04 20:44:28: SW Startup Version 055\n"]
blynkStateUpdate:POST:r.status_code: 200
sendmail exception raised
-----------------
Sample and Display
-----------------
-----------------
Weather Sampling
-----------------
(' value = ', 4479.0)
(' voltageValue = ', 4.479)
-----------------
AM2315 Stats: (g,br,bc,rt,pc) (2, 0, 0, 2, 0)
-----------------
SunAirPlus Not Present
-----------------
-----------------
-----------------
-----------------
AS3935 Lightning Detector
-----------------
Last result from AS3935:
----No Lightning detected---
Lightning Count = 0
-----------------
-------------
Current State
-------------
currentOutsideTemperature = 24.9
currentOutsideHumidity = 49.7
currentInsideTemperature = 26.37
currentInsideHumidity = 31.605
currentRain60Minutes = 0.0
currentSunlightVisible = 29.376
currentSunlightIR = 20
currentSunlightUV = 0
currentSunlightUVIndex = 0.0
ScurrentWindSpeed = 0.0
ScurrentWindGust = 0
ScurrentWindDirection = 270.0
currentTotalRain = 0.0
currentBarometricPressure = 996.65
currentAltitude = 110.0
currentSeaLevel = 1009.74748377
barometricTrend = True
pastBarometricReading = 996.65
Outdoor_AirQuality_Sensor_Value = 0
Hour24_Outdoor_AirQuality_Sensor_Value = 0
Indoor_AirQuality_Sensor_Value = 0
-------------
currentAs3935Interrupt = 0
currentAs3935LastInterrupt = 0
currentAs3935LastDistance = 0
currentAs3935LastStatus = 0
currentAs3935LastLightningTimeStamp = 0
-------------
<snip>
-----------------
Sample and Display Done
-----------------
taking SkyPicture
--------------------
SkyCam Picture Taken
--------------------
Traceback (most recent call last):
File "/home/pi/SDL_Pi_SkyWeather/SkyCamera.py", line 47, in takeSkyPicture
camera.capture('static/skycamera.jpg')
File "/usr/lib/python2.7/dist-packages/picamera/camera.py", line 1423, in capture
'Timed out waiting for capture to end')
PiCameraRuntimeError: Timed out waiting for capture to end
--------------------
SkyCam Picture Failed
--
Running raspistill I get the following result:
pi@piz:~ $ vcgencmd get_camera
supported=1 detected=1
pi@piz:~ $ raspistill -v -o test.jpg
"raspistill" Camera App (commit 06bc6daa0213 Tainted)
Camera Name ov5647
Width 2592, Height 1944, filename test.jpg
Using camera 0, sensor mode 0
GPS output Disabled
Quality 85, Raw no
Thumbnail enabled Yes, width 64, height 48, quality 35
Time delay 5000, Timelapse 0
Link to latest frame enabled no
Full resolution preview No
Capture method : Single capture
Preview Yes, Full screen Yes
Preview window 0,0,1024,768
Opacity 255
Sharpness 0, Contrast 0, Brightness 50
Saturation 0, ISO 0, Video Stabilisation No, Exposure compensation 0
Exposure Mode 'auto', AWB Mode 'auto', Image Effect 'none'
Flicker Avoid Mode 'off'
Metering Mode 'average', Colour Effect Enabled No with U = 128, V = 128
Rotation 0, hflip No, vflip No
ROI x 0.000000, y 0.000000, w 1.000000 h 1.000000
Camera component done
Encoder component done
Starting component connection stage
Connecting camera preview port to video render.
Connecting camera stills port to encoder input port
Opening output file test.jpg
Enabling encoder output port
Starting capture -1
Camera control callback cmd=0x4f525245mmal: No data received from sensor. Check all connections, including the Sunny one on the camera board
I was hoping someone had seen this before and knew the process to fix this issue.
Thanks
Richard