WIFI API Error - Exposure

Hi, I am getting an error when using the WIFI API.

The switches I am using are this:

./360.sh -W y -I 4 -C 500 -m 1 -r h -i 200 -s 0.033 -w auto

And the output from the camera looks like this:

You can see there is an error… I think it might be the exposure time that is the issue.

Would love any thoughts.

Cheers.

Phil

Connecting to camera with WIFI
session ID 0002
Setting mode via WIFI
{"name":"camera.setOptions","state":"error","error":{"code":"invalidParameterValue","message":"Any input parameter or option name is recognized, but its value is invalid."}}{
  "name": "camera.setOptions",
  "parameters": {
    "sessionId": "SID_0002",
    "options": {
	  "fileFormat": {
          "type": "jpeg",
		  "width": 5376,
		  "height": 2688
	  },  
	"exposureProgram": 1,
	"iso": 200,
	"whiteBalance":"auto",
	"shutterSpeed": 0.033,
	"sleepDelay": 65535,
	"offDelay": 65535,
	"_shutterVolume": 100

	}
  }
}

I’m using the program you sent to me at the meetup.

You mentioned that the exposure value was changing. There is an error in the script or command line parameters that is preventing the options from being set.

I looked at the exposureProgram value after running the script.

If I send this command,

{"name": "camera.getOptions",
    "parameters": 
	{
    	"sessionId": "SID_0003",
    	"optionNames": [
            "iso", 
            "exposureCompensation",
            "exposureProgram"
    	]
	}
}

I looked at the program script a bit and can’t figure out what the root of the problem is.

As the original author is primarily using the script with the USB API, it might be a good strategy to get a raspberry pi and copy his exact hardware. You can then tape it to your tripod with a small battery. If you put a WiFi on the Raspberry Pi or get a Raspberry Pi 3 with integrated WiFi, you can ssh into the RaspberryPi 3 to set the parameters of the program from your macbook.

in the meantime, I’ll take another look at the script, but the solution wasn’t immediately obvious.

I believe the issue comes with the shutter speed parameter.

If I remember correctly, if I use -s 0.5 it works

I wanted to keep it running on my Mac instead of the Pi as I always have that with me

Phil

It works. The settings are being saved to the camera. There’s no obvious indication that that the exposure would shift. Is there any other setting that would cause the iso to change?

$ ./phil_360.sh -W y -I 4 -C 500 -m 1 -r h -i 200 -s 0.5 -w auto
Connecting to camera with WIFI
session ID 0001
Setting mode via WIFI
{"name":"camera.setOptions","state":"done"}{
  "name": "camera.setOptions",
  "parameters": {
    "sessionId": "SID_0001",
    "options": {
	  "fileFormat": {
          "type": "jpeg",
		  "width": 5376,
		  "height": 2688
	  },  
	"exposureProgram": 1,
	"iso": 200,
	"whiteBalance":"auto",
	"shutterSpeed": 0.5,
	"sleepDelay": 65535,
	"offDelay": 65535,
	"_shutterVolume": 100

	}
  }
}

I wasn’t using the 0.5 for shutter, I was using 0…033 which seems like it caused an error but still got close to 200 ISO

Phil