Read our changelog announcement to know about recommended use cases for this simulator
Our device simulator is built specifically to help you quickly test the use case that you are building in various scenarios without relying on a real device.
Consider the simulator flow like any other OEM account (ex. Tesla, Easee, Mitsubishi etc) :
You sign up on the website -> Add device to your account -> Ready to fetch status / issue commands to the device
We have kept the simulator flow as close to real world to help developers test flows that their customers will go through.
Start with creating an account on the Telematica Simulator. Simply sign up with your email and password, and confirm your email.
For the type of device you want to test, add a by clicking on
Create new device button
Spin up a new Connect UI session, and append
devMode=true in query params. The URL should look like this:
select-brand page, choose Telematica Simulator as OEM and enter the same email and password that you signed up with in Step 1. After logging in, you should be able to see the devices you created and connect them to you client.
Now you can treat the simulated device as any other device in your backend. All the API endpoints should respond with data, and should also respond appropriately to commands (ex. calling Start charging will change
isCharging to true).
You can control what data the endpoints return for a device by going to simulator, selecting the device in device list and changing the state of the device and clicking on "Update" button at the bottom as shown.
Updated about 2 months ago