Page 2 of 3

Re: FC components and AI (ideas?)

Posted: Wed Jan 21, 2026 9:40 am
by Steve-Matrix
External code can be included in Supplementary Code. See: https://www.flowcode.co.uk/wiki/index.p ... ntary_Code

Instead of adding the code directly to Flowcode, add statements into Supplementary Code such as the following to point it at external files:

Code: Select all

#include "C:\MyFolder\MyCode.h"

Code: Select all

#include "C:\MyFolder\MyCode.c"
You can then call any external C functions in your code by adding a C icon to your Flowcode macros.

Re: FC components and AI (ideas?)

Posted: Mon Jan 26, 2026 7:49 pm
by Bijumon
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

Re: FC components and AI (ideas?)

Posted: Mon Jan 26, 2026 8:00 pm
by mnfisher
That's very neat, thankyou.

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.

Martin

Re: FC components and AI (ideas?)

Posted: Mon Jan 26, 2026 8:18 pm
by chipfryer27
Hi

This sounds a very cool component. Thank you for creating and sharing.

I hope to test it for myself soom.

Regards

Re: FC components and AI (ideas?) ESP32 Webserver Wifi Configurator with NVS Storage

Posted: Mon Feb 16, 2026 9:17 pm
by Bijumon
Hi Everyone,

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.

Re: FC components and AI (ideas?) ESP32 Webserver Wifi Configurator with NVS Storage

Posted: Mon Feb 16, 2026 9:20 pm
by Bijumon
Bijumon wrote:
Mon Feb 16, 2026 9:17 pm
Hi Everyone,

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.

Re: FC components and AI (ideas?)

Posted: Tue Feb 17, 2026 2:38 pm
by BenR
That looks very professional well done and many thanks for sharing.

Would you mind if we took it and made it into a component that's part of the package?

Re: FC components and AI (ideas?)

Posted: Tue Feb 17, 2026 3:13 pm
by chipfryer27
Hi Ben and Bijumon

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"? :lol:

This would make any User Interface much more friendly and helps to provide a stand alone product that doesn't need hard coding.

Regards

Re: FC components and AI (ideas?)

Posted: Tue Feb 17, 2026 7:13 pm
by Bijumon
Hi Ben, chipfryer27

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

Re: FC components and AI (ideas?)

Posted: Sat Feb 21, 2026 8:21 pm
by Bijumon
Hi Everyone,

custom fields Buffer Overflow Fixed.
Added a "Dark" and "Light" mode toggle.
Added a Base64-encoded png custom logo.
Added spinner on WiFi scanning button.