sharandac / defaultIoT

Here is the matching one for all completely over-engineered firmware.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

   


Supported Targets ESP32

Table of Contents

defaultIoT

Again and again, the wish came up that all the little helpers don't have to reinvent the wheel over and over again. Here is the matching completely over-engineered firmware. It is neatly divided into modules that can be activated or deactivated individually. The configuration is also saved dutifully. So it is possible for all my little helpers always one and the same firmware to use and everything in one pass to update if necessary.

Install

Clone this repository and open it with platformIO. Remember, the SPIFF must also be flashed. The wifi access credentials can be entered in the config.h file. If no credentials is available, a separate wifi is opened. On a terminal in vscode you can do it with

pio run -t uploadfs
pio run -t upload

After that, take a look at your monitorport ...

[I][core.cpp:79] core_setup(): start defaultIoT
[I][core.cpp:105] core_setup(): watchdog enabled
[I][core.cpp:127] core_setup(): custom arduino-esp32 framework detected, enable PM/DFS support, 240/40MHz with light sleep enabled
[I][wificlient.cpp:108] Task(): Start Wifi-Client on Core: 1
[I][ntp.cpp:80] Task(): Start NTP Task on Core: 1
[I][webserver.cpp:71] Task(): Start Webserver on Core: 1
[I][mqttclient.cpp:288] Task(): Start MQTT-Client on Core: 1
[I][core.cpp:154] core_setup(): core module initialized
[I][modul_mgmt.cpp:242] module_setup(): module mgmt initialized
[I][mqttclient.cpp:93] onMqttConnect(): MQTT-Client: connected to [192.168.2.23]
[I][wificlient.cpp:139] Task(): connected, IP address: 192.168.2.110

When the output look like this, congratulation!

If no wifi credentials is available an access point will be opened with an unique name like

defaultIoT_XXXXX

and an not so unique password

defaultIoT

After that you can configure the defaultIoT under the following IP-address with your favorite webbrowser

http://192.168.4.1

web interface

module

The following modules are implemented:

programming

module template

And for to ptogrammers, here is a small and easy to use template:

coding guide

Contributors

Every Contribution to this repository is highly welcome! Don't fear to create pull requests which enhance or fix the project, you are going to help everybody.

If you want to donate to the author then you can buy me a coffee.

About

Here is the matching one for all completely over-engineered firmware.

License:GNU General Public License v3.0


Languages

Language:C 59.6%Language:C++ 38.9%Language:CSS 0.8%Language:JavaScript 0.5%Language:Shell 0.1%Language:Python 0.1%Language:Makefile 0.0%