Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use case: Configuring of IOT device with web interface #47

Open
wijnsema opened this issue Jun 6, 2021 · 0 comments
Open

Use case: Configuring of IOT device with web interface #47

wijnsema opened this issue Jun 6, 2021 · 0 comments

Comments

@wijnsema
Copy link

wijnsema commented Jun 6, 2021

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant