Delete all files from RICOH THETA with camera.delete

 

A new YouTube video explains how to delete all the files from the SC2 with a single API command. The video also explains an older bug in the SC2 firmware that prevented this feature from working properly prior to the summer of 2020.

This will delete all the files in the camera.

String _baseUrl = 'http://192.168.1.1/osc/commands/execute';
...
    var data = {
      'name': 'camera.delete',
      'parameters': {
        'fileUrls': ['all']
      }

Official THETA Web API v2.1 documentation for camera.delete.

Other relevant commands include:

  • reset - reset all current settings (not including my settings)
  • resetMySetting - resets the settings saved in the camera
  • sleepDisable - disable auto-sleep so your camera doesn’t sleep in the middle of testing
  • offDisable - so your camera does not automatically turn off during testing

When doing testing, you can power the camera indefinitely with the USB cable.

Any problems or questions with the WebAPI, post questions in the theta360.guide forum.