Created an another component using AI for ESP32 that a single macro call enables direct email dispatch via SMTP (SSL/TLS) for simple notifications like sensor reading or system alerts. Ensure that ESP32 has an active WiFi connection before calling the macro.
Input Parameters
HOST_ADDRESS: SMTP server (e.g., "smtp.gmail.com").
PORT: SSL/TLS port number. (465 for Gmail)
USER_NAME: Full sender email address. (e.g., "yourname@gmail.com")
PASSWORD: 16-character Google App Password (e.g.,"xgdihlrtexusksta") not login password
DESTINATION: Recipient list (e.g., "a@mail.com, b@mail.com")
SUBJECT: The title of the email. (e.g., “Temperature Alert")
MSG_LINE 1 - 4 : Four lines for your data strings (128B per line)
Please note that I have specifically tested this component only on the ESP32 Wroom 32 module with Gmail account
One suggestion - if you have a string as a parameter to a macro - untick the 'make local copy' check box - this saves duplicating the string (which takes time and memory) - and you can then pass strings of any size.
So - you could have string msg_text[10000] as the parameter to the function - and this is just passed as a 32bit pointer (and a length FCsz_MSG_TEXT) - if the 'make local copy' is ticked it will copy the string to a local (10000 byte) buffer - but otherwise doesn't.
Sharing here an another component for ESP32 that allows users to configure Wi-Fi credentials and up to 15 custom parameters
(like API keys, IP addresses, E-mail address, URLs etc) via a mobile-friendly web browser.
Sharing here an another component for ESP32 that allows users to configure Wi-Fi credentials and up to 15 custom parameters
(like API keys, IP addresses, E-mail address, URLs etc) via a mobile-friendly web browser.
Attachments
WhatsApp Image 2026-02-17 at 00.18.33.jpeg (13.72 KiB) Viewed 5247 times
WhatsApp Image 2026-02-17 at 00.18.33 (1).jpeg (22.96 KiB) Viewed 5247 times
It would be great to have something like this as an official component. Whilst the idea of scanning for WiFi etc isn't new I particularly like the custom options as Bijumon suggests to enter your api-key or similar. Such an obvious and great idea, one that surely makes us all think "why didn't I think on that"?
This would make any User Interface much more friendly and helps to provide a stand alone product that doesn't need hard coding.
I am incredibly honored by your interest! I would be absolutely delighted to see this integrated as an official Flowcode component.
As a hobbyist, I’ve always enjoyed pushing the boundaries of what I can build.
This project was a collaborative effort of my vision and AI Gemini, which helped me create the C-code and CSS.
I have updated the code include a Restart Device and Back to Setting button features.
I am really looking forward to seeing this as an official component in Flowcode
Warmest Regards
Attachments
WhatsApp Image 2026-02-17 at 22.06.53.jpeg (15.95 KiB) Viewed 5138 times