FC components and AI (ideas?)

Post and discuss new components that you have created.
Steve-Matrix
Matrix Staff
Posts: 1760
http://meble-kuchenne.info.pl
Joined: Sat Dec 05, 2020 10:32 am
Has thanked: 256 times
Been thanked: 410 times

Re: FC components and AI (ideas?)

Post 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.

Bijumon
Posts: 37
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 14 times
Been thanked: 18 times

Re: FC components and AI (ideas?)

Post 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
Attachments
ESP_Mail_Client.fcfx
(14.91 KiB) Downloaded 40 times
ESP_Mail_Client.fcpx
(3.78 KiB) Downloaded 32 times

mnfisher
Valued Contributor
Posts: 1856
Joined: Wed Dec 09, 2020 9:37 pm
Has thanked: 154 times
Been thanked: 876 times

Re: FC components and AI (ideas?)

Post 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

chipfryer27
Valued Contributor
Posts: 1929
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 421 times
Been thanked: 644 times

Re: FC components and AI (ideas?)

Post by chipfryer27 »

Hi

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

I hope to test it for myself soom.

Regards

Bijumon
Posts: 37
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 14 times
Been thanked: 18 times

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

Post 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.
Attachments
ESP_Wifi_Manager_Webserver.fcpx
(5.06 KiB) Downloaded 15 times
Wifi Manager.fcfx
(23.94 KiB) Downloaded 13 times
Wifi Manager Test.fcfx
(21.14 KiB) Downloaded 14 times
Last edited by Bijumon on Mon Feb 16, 2026 9:33 pm, edited 1 time in total.

Bijumon
Posts: 37
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 14 times
Been thanked: 18 times

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

Post 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.
Attachments
WhatsApp Image 2026-02-17 at 00.18.33.jpeg
WhatsApp Image 2026-02-17 at 00.18.33.jpeg (13.72 KiB) Viewed 301 times
WhatsApp Image 2026-02-17 at 00.18.33 (1).jpeg
WhatsApp Image 2026-02-17 at 00.18.33 (1).jpeg (22.96 KiB) Viewed 301 times

BenR
Matrix Staff
Posts: 2132
Joined: Mon Dec 07, 2020 10:06 am
Has thanked: 568 times
Been thanked: 752 times

Re: FC components and AI (ideas?)

Post 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?

chipfryer27
Valued Contributor
Posts: 1929
Joined: Thu Dec 03, 2020 10:57 am
Has thanked: 421 times
Been thanked: 644 times

Re: FC components and AI (ideas?)

Post 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

Bijumon
Posts: 37
Joined: Fri Dec 30, 2022 11:44 am
Has thanked: 14 times
Been thanked: 18 times

Re: FC components and AI (ideas?)

Post 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
Attachments
WhatsApp Image 2026-02-17 at 22.06.53.jpeg
WhatsApp Image 2026-02-17 at 22.06.53.jpeg (15.95 KiB) Viewed 192 times
Wifi Config Webserver.fcfx
(42.53 KiB) Downloaded 19 times

Post Reply