Device Configuration using Web Pages
/I’ve had a lot of fun making the Agile Octopus Tariff display. It works a treat. The device is powered by a Raspberry Pi PICO-W which connects to your Wi-Fi and grabs the tariff information from the Octopus server. However, the display needs to be configured with Wi-Fi settings and the web address of the tariff information. You can do this by editing the MicroPython code in the device, but I wanted something easier. I wanted you to be able to take a display and configure it anywhere. So I’ve built a web page which connects your browser to the device over a serial connection. The display sends a little chunk of JSON to the webpage which builds a web page which will accept the configuration data. You make your changes, hit “Submit” and the values are all sent back to the display.
You can find the page here. The GitHub page with the source code for the project is here.