Code Monkey home page Code Monkey logo

defaultiot's Introduction

   


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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.