wokwi-features icon indicating copy to clipboard operation
wokwi-features copied to clipboard

Offline version of the simulator

Open urish opened this issue 4 years ago • 32 comments
trafficstars

A version of the simulator you can use without an internet connection. Either by making the online version a PWA (progressive web app) that is available offline, or by providing a downloadable version of the application. In any case, this will require installing an Arduino compiler on the local machine (in order to compile the code).

Note that the Offline version is very likely to be a paid feature. Anyone who votes for this feature (before the first version is released) will get this feature, including one year of updates. Wokwi club members will also get access to the offline version.

urish avatar Oct 09 '21 19:10 urish

A version that can be integrated into an LMS (e.g. Moodle) will be great.

MykolaKyrylenko avatar Oct 21 '21 03:10 MykolaKyrylenko

A version that can be integrated into an LMS (e.g. Moodle) will be great.

You mean, a way to embed simulation projects into Moodle? Or do you have in mind a different kind of integration?

urish avatar Oct 21 '21 19:10 urish

What what I have seen, there are several ways to add to Moodle.

  • With Falstad, I managed to compile the code and upload the resultant website as a file onto Moodle. Details here: https://help.lafayette.edu/importing-a-website-into-moodle/
  • I have not done this, but another option could be H5P, which is HTML5 content

Note: the Falstad implementation includes AVR8js which works well on our Moodle

MykolaKyrylenko avatar Oct 21 '21 23:10 MykolaKyrylenko

Interesting! I'm not very familiar with Moodle, so this is useful for me. Mind opening a different issue for the possible Moodle integration?

urish avatar Oct 22 '21 20:10 urish

Hi. I'm very interested in an offline version of the simulator. Please, tell me how I can get it. Will I get source code too? Will it be compiled in the same website as wokwi.com? Will it have Arduino and Raspberry Pi Pico? Is it allowed to make it available online and embed it on my website for others for free?

homevk15 avatar Apr 13 '23 20:04 homevk15

cannot we use limited data for IoT gateway http server. always having club feature is not possible

gauravacad avatar Aug 23 '23 10:08 gauravacad

@gauravacad Assuming there is no solution, is there a way to mark this as unaddable or so? As disappointing as it is, if it actually cannot happen, most members shouldn't waste their votepowers on it.

sasdallas avatar Dec 05 '23 01:12 sasdallas

As disappointing as it is, if it actually cannot happen, most members shouldn't waste their votepowers on it.

Are you asking about Offline version of the simulator? It's in development. It'll be available as a feature in Wokwi for VS Code, and perhaps also as a totally standalone version after, depending on demand.

urish avatar Dec 10 '23 10:12 urish

Wokwi for VS Code now has initial support for offline operation, as a paid add-on. You can purchase it when you activate your Wokwi for VS Code license, from this page: https://wokwi.com/license.

I would love to hear your feedback - does it answer your needs? Is anything missing?

urish avatar Dec 27 '23 21:12 urish

@urish While I understand the fact that bills need to be paid, $97 a year seems quite pricy, especially for those with big projects who just want to compile it faster. I haven't tried it out yet but maybe adding a monthly payment option or a free trial might be helpful! This definitely seems like something bigger than Wokwi Club, so it does make sense to have it as an addon.

Thank you for your work!

sasdallas avatar Jan 10 '24 23:01 sasdallas

Thanks for the feedback @sasdallas! I'll look into adding a monthly payment option.

urish avatar Jan 14 '24 22:01 urish

I think it would be worth clarifying somewhere whether Wokwi sends code to your servers or not if you don't buy the offline feature. Your privacy policy doesn't say anything about this - is the online requirement for the free version of the VSCode extension just a "check we're online" type thing or is it actually sending stuff to servers?

Timmmm avatar Mar 12 '24 22:03 Timmmm

I think it would be worth clarifying somewhere whether Wokwi sends code to your servers or not if you don't buy the offline feature. Your privacy policy doesn't say anything about this - is the online requirement for the free version of the VSCode extension just a "check we're online" type thing or is it actually sending stuff to servers?

Thanks for the feedback!

Wokwi for VS Code currently does not send your code or your compiled firmware binaries to the server. It does send some pseudo anonymized telemetry which includes information about your VS Code version, workspace type (detected by checking if files such as platformio.ini, CMakeFiles.txt, or Cargo.toml) exists, OS version, etc, unless VS Code tells it not to send any telemetry.

In case we learn people are using the free version of Wokwi for VS Code to work on non open source projects, we may decide to introduce a mechanism that actually verifies if the project is open source. For this reason, the privacy policy leaves this question open.

I hope this helps!

urish avatar Mar 16 '24 12:03 urish

Very helpful thanks! Though I'm not sure you can "leave questions open" in your privacy policy. If you don't say you are using some data then you aren't allowed to use it. However I think you can just update the privacy policy if/when you want to change it.

Timmmm avatar Mar 16 '24 13:03 Timmmm

@urish I have complied an offline version using only ESP32 / micropython for educational use only ( we teach using wokwi in our secondary schools in Tunisia and some schools have internet issues ) is this ok ?

selmen2004 avatar Mar 17 '24 14:03 selmen2004

@urish I have complied an offline version using only ESP32 / micropython for educational use only ( we teach using wokwi in our secondary schools in Tunisia and some schools have internet issues )

Would love to see what you compiled - how can I check it out?

urish avatar Mar 18 '24 12:03 urish

@urish I have complied an offline version using only ESP32 / micropython for educational use only ( we teach using wokwi in our secondary schools in Tunisia and some schools have internet issues )

Would love to see what you compiled - how can I check it out?

Sure , here : https://selmen.tn/2023/04/28/wokwi-esp32-micropython-simulator-offline/

selmen2004 avatar Mar 18 '24 22:03 selmen2004

Any update on an offline version of the non-vs code one? From what I'm reading, its a maybe?

saturnquack avatar Apr 04 '24 02:04 saturnquack

Any update on an offline version of the non-vs code one? From what I'm reading, its a maybe?

Nothing official at the moment :)

urish avatar Apr 07 '24 12:04 urish

I would also like an offline version of the non VSCode one

I want to use it in my open source ESPHome Simulator if possible https://github.com/the-mentor/ESPHome-Device-Sim/

Keep up the amazing work !!

the-mentor avatar Jun 04 '24 08:06 the-mentor