Chapter 8: Automating and Monitoring Your Home through the TinyGo Wasm Dashboard

In the previous chapter, we learned how to use the Wi-Fi chip on the Arduino Nano 33 IoT board in order to send Message Queuing Telemetry (MQTT) messages. We then consumed these messages containing weather data and weather alerts, to display them on a WebAssembly (Wasm) dashboard, but we were not able to control anything from inside the dashboard. We are now going to change this.

After working through this chapter, we will know how to secure our Wasm apps by adding a login page. We're also going to learn about security aspects when validating credentials on a client application. After building the login view, we are going to learn how to send and receive data inside ...

Get Creative DIY Microcontroller Projects with TinyGo and WebAssembly now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.