Revisiting this issue Raspistill in manual exposure
I found that the shutter time of the photo I got from this command
raspistill -ss 6000000 -t 30000 -o long_exposure.jpg
is 6 seconds as expected but when I run this script
from picamera import PiCamera
from time import sleep
from datetime import datetime
camera = PiCamera()
camera.start_preview()
camera.resolution = (3280,2464)
camera.awb_mode = 'off'
red, blue = (1.5, 1.45) # 5500K
camera.iso = 100
camera.shutter_speed = 6000000 # 6 secs
datedate = datetime.now().strftime("%a-%d.%m.%Y-%H:%M:%S")
nombre = '/home/pi/Pictures/IMG-' + datedate + '.jpg'
sleep(2)
camera.capture(nombre)
camera.stop_preview()
shutter time is 1/30 secs = 33333 nano secs
What am I missing?