Using Offline Instances

Let's go back to the Simuli projects page. The project that we created earlier can be seen listed here on the right side.

Let's click on the Copy Token button on the project card. This will copy the project token to your clipboard. Now go back to the Simuli Offline VM and paste this project token into the Load Project input field and click on the Send button.

The project config will be loaded into the VM and an offline project will be set up inside the VM. This process can take a few minutes depending on the project and your machine configuration.

Once the project has been set up, a message will pop up letting you know that the project is ready. Click on the Open button and a new tab with the project interface will open.

You can now work on the project as usual. In this case, the Arduino interface will open up and you can work on Arduino projects. For your convenience, the VM comes with the Arduino IDE installed.

This workflow for creating an offline project is the same for all the supported boards. Go through the project wizard and click on Create Offline Instance and then copy the token from the Simuli dashboard and paste it into the VM.

Working on a different project

Let's now start a Raspberry Pi project. Go to the Simuli dashboard and create a Raspberry Pi project as usual by clicking on the Launch button and then naming the project and selecting the sensors. On the review page for the new project, again click on the Create Offline Instance button instead of the Launch button. The new project is now ready.

You will be able to see the new project listed on the Simuli dashboard. Copy the token for the new project by clicking on the Copy Token button.

Now go back to the VM and close the tab where the old project was running. Once you don't have other projects running go back to the Load Project page and click on the Reset VM button on the top right. This will free up the resources from the older projects. You are now ready to load another project.

Paste the token for the Raspberry Pi project in the input field and click on Send. The config will once again be fetched and the project will be set up. It can again take a few minutes. Once the project has been set up, you will be prompted with a message. Click on the Open button and the Raspberry Pi interface will be loaded on the new tab.

Now that you know how to create offline projects on Simuli. Follow our guides to start working on different IoT projects.

Last updated