RICOH THETA SC2 API
Build Android iOS mobile apps for the SC2 and connect your mobile app to the camera with Wi-Fi using this API.
The RICOH THETA SC2 is a great, lightweight camera that takes good-looking 360° pictures. Many people in the developer community have asked about building applications for the SC2. Although the SC2 camera appears to conform to the RICOH THETA Wi-Fi API, it is not listed on the official RICOH API site which we all use as our reference. Some developers have reported problems with the SC2 and the RICOH THETA SDK for features such as live preview. Other people have reported problems using the SC2 with the Google Streetview mobile app.
The SC2 uses a slower MCU than the RICOH THETA V and Z1. The slower speed of the SC2 results in longer processing times for all API commands. This can cause problems if you run multiple API commands in sequence and do not check for completion of each command. There are extensive examples in this document and sample code that show how to use POST /osc/commands/status and POST /osc/state to verify that your previous API command is finished processing.
This article organizes usage of the SC2 Wi-Fi API based on community testing. It is not an official RICOH document. Please contact RICOH for official information.
HTTP API Testing Tools
Dart was chosen for many tests as it almost as easy to use as Bash or Python for command line scripts and provides a smooth and easy way to test mobile apps on iOS and Android with Flutter.
Connect Your Computer to the SC2
Turn the SC2 on and put it into Wi-Fi mode.
You must connect your workstation to the SC2 with Wi-Fi. The hotspot password is the serial number (just the numerical digits).
On Windows, click on the Wi-Fi icon in the lower-right of your screen. Select the THETAYP hotspot.
In this example, the password is 20001005. There are no letters or dots in the default password.
Once connected, the Wi-Fi icon on the front of the SC2 will be solid. If the Wi-Fi icon is still flashing, the camera is not connected.
The THETA SC2 Wi-Fi only functions at 2.4GHz. The THETA V and the Z1 operate at both 2.4GHz and 5GHz. If you have an unstable Wi-Fi connection with the SC, try a different Wi-Fi dongle or laptop to isolate the problem.
If you are working with multiple devices, make sure you are connecting to the correct camera.
Put the camera right next to your development workstation. Moving the camera 5 feet away can make a difference.
Turn off other Wi-Fi routers in the test area that may be causing Wi-Fi interference.
If you have two network interfaces in your development workstation, make sure that your primary router is not at 192.168.1.1. The THETA SC2 will always be 192.168.1.1 in Access Point (AP) mode.
Connection Limitations Compared to THETA V and Z1
- SC2 only operates at 2.4GHz. The V and Z1 can also connect at 5GHz
- SC2 can only operate in Access Point (AP) mode. The V and Z1 can also operate in Client Mode (CL)
You can use the official RICOH mobile app to check camera features.
Compare the available SC2 settings in the image above to the THETA V settings in the image below.