Giter VIP home page Giter VIP logo

esp32-mqtt-node's Introduction

Open in GitHub Codespaces (You will need a github account to do so)

ESP32 MQTT-Node

Firmware to demonstrate the use of the mqtt libary on a ESP32 node_mcu board using the esspresif development framework.

MQTT keywords addressed

  • MQTT Protocol V5.0
  • Secure Websocket transport (wss://)
  • Certificate Validation based on bundled root certififcates

Flash the pre-built firmware

Note: Wifi connection is limited to WPA2-PSK with the pre-built firmware. Configure other options in the menu before buidling a custom firmware by (idf.py menuconfig)

Use the Application after flashing

  • Point your browser to https://aschiffler.github.io/esp32-mqtt-node
  • Follow the instructions to connect your physical device
  • Start the serial console in the browser
  • Typ in your information: wifi, broker (wss://, ws://, mqtt:// and mqtts:// is supported, eg. mqtts://mqtt.cedalo.cloud:8883), protocol version 5 || 3, login credentials

Build and flash your own firmware right in the browser powered by gitpod.io

  • Open the development environment ```gitpod```` (github account needed)
  • Modify the code under main/app_main.c
  • Build the firmware with idf.py build
  • Flash the firmware by the Web Flash Tool -> Find the link under Ports

Based on MQTT Libary examples: https://github.com/espressif/esp-idf/blob/1c84cfde14dcffdc77d086a5204ce8a548dce935/examples/protocols/mqtt5/main/app_main.c#L191

esp32-mqtt-node's People

Contributors

aschiffler avatar zeatynis avatar

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.