You made the simulator in a week..? Am I bad at what I do?
I have written a bit about the process here: https://www.crowdsupply.com/networked-artifacts/air-lab/upda....
TLDR: It compiles the stock firmware to WASM using emscripten. Thus, I did not build all of it in one week and rather just the web app around the firmware.