Hello craig,
thanks for your help!
I can confirm that the state changes when the picture is taken via the API.
My test was pressing the hardware button, which should result in exactly the same behavior, but doesn’t.
I have the output from my Flutter app here. Notice the changed _latestFileUrl
has changed due to taking an image via the hardware button on the camera. The batteryLevel
also changed in the same time frame, confirming your tests above.
flutter: [INFO] 10:58:56.386999 ThetaService: Checking for update with fingerprint: FIG_0007
flutter: {fingerprint: FIG_0007, state: {_apiVersion: 2, _batteryInsert: true, batteryLevel: 0.39, _batteryState: charging, _cameraError: [], _captureStatus: idle, _capturedPictures: 0, _currentMicrophone: Internal, _currentStorage: IN, _function: normal, _latestFileUrl: http://192.168.1.1/files/100RICOH/R0010032.JPG, _mySettingChanged: false, _pluginRunning: false, _pluginWebServer: false, _recordableTime: 3864, _recordedTime: 0, _storageID: 412176649172527ab3d5edabb50a7d69, storageUri: http://192.168.1.1/files/}}
flutter: [INFO] 10:58:56.693844 ThetaService: Fingerprint has not changed, skipping state update
flutter: [INFO] 10:59:06.387389 ThetaService: Checking for update with fingerprint: FIG_0007
flutter: {fingerprint: FIG_0007, state: {_apiVersion: 2, _batteryInsert: true, batteryLevel: 0.4, _batteryState: charging, _cameraError: [], _captureStatus: idle, _capturedPictures: 0, _currentMicrophone: Internal, _currentStorage: IN, _function: normal, _latestFileUrl: http://192.168.1.1/files/100RICOH/R0010033.JPG, _mySettingChanged: false, _pluginRunning: false, _pluginWebServer: false, _recordableTime: 3864, _recordedTime: 0, _storageID: 412176649172527ab3d5edabb50a7d69, storageUri: http://192.168.1.1/files/}}
flutter: [INFO] 10:59:06.725702 ThetaService: Fingerprint has not changed, skipping state update
Here is the same test output from a Z1 with firmware 2.10.3.
State change also via taking the image with the hardware button.
flutter: [INFO] 11:07:25.307153 ThetaService: Checking for update with fingerprint: FIG_0002
flutter: {fingerprint: FIG_0002, state: {_apiVersion: 2, batteryLevel: 0.89, _batteryState: disconnect, _cameraError: [], _captureStatus: idle, _capturedPictures: 0, _compositeShootingElapsedTime: 0, _function: normal, _latestFileUrl: , _mySettingChanged: false, _pluginRunning: false, _pluginWebServer: true, _recordableTime: 0, _recordedTime: 0, storageUri: http://192.168.1.1/files/150100524436344d420176e307c71500/}}
flutter: [INFO] 11:07:26.819069 ThetaService: Fingerprint has not changed, skipping state update
flutter: [INFO] 11:07:35.307408 ThetaService: Checking for update with fingerprint: FIG_0002
flutter: {stateFingerprint: FIG_0004, throttleTimeout: 1}
flutter: {fingerprint: FIG_0004, state: {_apiVersion: 2, batteryLevel: 0.89, _batteryState: disconnect, _cameraError: [], _captureStatus: idle, _capturedPictures: 0, _compositeShootingElapsedTime: 0, _function: normal, _latestFileUrl: http://192.168.1.1/files/150100524436344d420176e307c71500/100RICOH/R0010075.JPG, _mySettingChanged: false, _pluginRunning: false, _pluginWebServer: true, _recordableTime: 0, _recordedTime: 0, storageUri: http://192.168.1.1/files/150100524436344d420176e307c71500/}}
flutter: [INFO] 11:07:35.870400 ThetaService: Got new state with fingerprint: FIG_0004
I hope you can include this in your report.
Thanks!