The Device Simulator is now available in the Watson IoT Platform as an experimental feature. Developers can now build and test the IoT applications without deploying physical devices beforehand. Developers can simulate the existing registered devices or whole new devices. The Device Simulator allows developers to customize the schedules and payloads. Backups can be imported and exported.

The Device Simulator on the Watson IoT Platform has three benefits.

1. Allow easy IoT application development and testing – can simulate and test up to 50 devices as if they were actually connected to the Watson IoT Platform

2. Simulate devices in the IoT Platform UI – can directly see simulated devices and payloads in the UI without switching to other applications

3. Explore and learn the Watson IoT Platform without physical devices – can dive directly into the IoT application development and Watson IoT Platform REST APIs

To unlock this experimental feature, please follow these steps.

1. Go to the Settings tab and scroll to Experimental Features to activate the Device Simulator.

2. After activating the Device Simulator, we would see the Device Simulator window on the lower right hand side.

3. Click the Device Simulator window on the lower right hand side, and we would see the full Device Simulator dashboard.

Feel free to explore the Device Simulator. Or you can check out the following instructions.

1. I prefer going to the Device tab so that I can see the list of registered and simulated devices later.

2. As you can see from the background, I already registered a device iot-conveyor-belt-1. Click Add First Simulation to start the configuration.

3. We can create a new device type or select an existing one.

4. After we select / create a device type, we can create events. We can name the event, set the schedule and create the payload. In the JSON we can add both static values and a value range which the simulator will randomly run across.

5. After we create an event, we can simulate registered devices (iot-conveyor-belt-1 in this case) or a new device.

6. I selected the registered device and created two new devices. The S mark means that this device is a new / simulated device.

7. Now I can see the simulated payloads coming from the registered device and new / simulated devices.

8. I can import / export the simulated events and share with my teammates.

BONUS: We can also send simulated payloads by clicking the Send button.

1. Go to the event setup.

2. Click Send, and we will see the simulated payloads.

Are you ready for building some IoT applications? Sign up today to enjoy the free trial on the Lite Plan!

Try Watson IoT Platform

Join The Discussion

Your email address will not be published. Required fields are marked *