-
Notifications
You must be signed in to change notification settings - Fork 805
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
Feature Request: Responsive Web Dashboard for Local Device Configuration on ESP-IDF (AEGHB-545) #332
Comments
@hayschan Thanks for your detailed proposal. Yes, I agree that Web Dashboard is a useful feature, which provides a unified, lightweight configuration experience for multiple platforms. We already have some good examples using this Web based Dashboard, like usb_cdc_4g_module using a webpage to config the 4G Wi-Fi router's behaviors and monitor the devices' status, the other project like esp-who using the webpage for camera control and result display. But. there is no such Official Web Dashboard framework (and we don't have related development plans at the moment, but there are some excellent third-party projects, like ESPUI, I think it's good enough for most projects and simplify the development process. |
Thanks for the suggestion. ESPUI is indeed a promising project, but currently, it lacks official ESP-IDF support. While some users have managed partial ports, it mainly supports PlatformIO and Arduino, as highlighted in this discussion. The issue seems tied to Async web implementation compatibility with ESP-IDF. A similar approach to Espressif's LVGL port could be a viable pathway for integrating ESPUI with ESP-IDF. |
@hayschan Thanks for your propose! We will further evaluate what espressif can do for the ESPUI project. |
@hayschan does https://github.com/espressif/esp-idf/tree/master/examples/protocols/http_server/restful_server example provide something that you are looking for? |
Thanks for the suggestion. This one does help. I will try to use this This is not the perfect library for me. But better than my other options. As you can see in the code for this example, there are a lot of code about network connection and restful API. This is not the skillset of a usual embedded system software engineer. The better solution would be something similar to ESPUI, a framework packing in all the network related things. |
Answers checklist.
General issue report
Dear Espressif Team,
I am reaching out to propose a valuable addition to the ESP-IoT-Solution that I believe will significantly enhance the user interface and configuration capabilities of devices built with Espressif chips.
Recognizing the prevalent use of mobile devices in managing IoT applications, this proposal focuses on a responsive and secure web dashboard for local device configuration, ensuring seamless interaction across various platforms including mobile phones and desktops.
Imagine you have a printer and you want to connect it to your WiFi or change print settings. Instead of using small buttons on the printer or installing special software, you just connect your phone or computer to the printer's network. There, you find a simple web page where you can easily change settings. This web page is what we want to make for all devices using ESP-IDF. It's like a printer's web page, but for different devices. You can use your phone or computer to change device settings quickly and without hassle. This makes it easier for everyone to manage their devices, especially in places like offices or schools where you often need to change settings fast.
Feature Description
The envisioned feature is an embedded, responsive web dashboard allowing end-users to configure and manage device settings directly from the device via a local network. This approach is particularly beneficial for devices lacking traditional input mechanisms, aligning with the modern trend of mobile-first interactions.
Detailed Feature Components
Responsive and Adaptive Web UI:
User Authentication:
Intuitive and Dynamic Setting Controls:
Embedded and Resilient Design:
Efficient Resource Management:
API-Driven Configuration:
api/settings/get
,api/settings/set
).Rationale & Benefits
The proposal addresses a crucial need in the IoT sector – the need for a versatile, secure, and user-friendly configuration interface that caters to the increasing use of mobile devices for device management. The benefits of introducing this feature include:
Leveraging the existing capabilities of ESP-IDF, especially in HTTP server support, filesystems, and WiFi connectivity, I believe this feature would integrate seamlessly and provide substantial value to the ESP community.
I am keen to contribute to the discussion, development, or testing phases of this feature and eagerly await your feedback.
Thank you for considering this proposal.
Warm regards,
Hays Chan
The text was updated successfully, but these errors were encountered: