-
Notifications
You must be signed in to change notification settings - Fork 11
Description
IOT devices like sensors and actuators are usually small microcontrollers with some kind of network connection. These devices needs to be setup for communication with some edge server.
This setup is mostly done with an internal webserver. This service can be enhanced with a web interface.
My particular case is an ESP32 microcontroller is controlling several buttons and displays. This device has many settings:
- which MQTT server is used
- what are the MQTT topics published
- what MQTT topics are displayed on the display
- many more
Also the firmware must be upgradable.
To update these settings a JSON object can be downloaded and uploaded which contains the settings. I created an React (javascript) web application which makes this user friendly. This application is hosted on a secure https domain. However, if you make http (no https) call to the ESP32 these call are blocked because they are 'Mixed content'. So the webserver on ESP32 must support https!