Coder Social home page Coder Social logo

esp32-openwrt's Introduction

esp32-openwrt

ESP32-MDF (ESP-Mesh) and OpenWrt Socket using python3

Install

Setup & Toolchain & Path for ESP-MDF in ESP32:

cd ~/esp
git clone --recursive https://github.com/espressif/esp-mdf.git
cd ~/esp/esp-mdf/esp-idf
./install.sh
cd ~/esp/esp-mdf
source export.sh

Install with python3 in OpenWrt:

opkg update
opkg install python3 git python3-pip
git clone -b v1.0 https://github.com/Twodragon0/esp32-openwrt.git

Install with pip3:

pip3 install ipfshttpclient

raspberry pi USB storage in OpenWrt:
https://openwrt.org/docs/guide-user/storage/usb-drives

Socket communication ESP-OpenWrt using python3

  1. Socket Communication between ESP32 and OpenWrt
  2. Gathering ESP data file
  3. We can show ESP Mac address data and message in text file
python3 socket_server.py

Connect OpenWrt-IPFS using python3

Convert txt file to IPFS (working)

  1. Convert txt file to ipfs gateway using Python3
  2. Can get IPFS data
  3. Convert All ESP data to IPFS
ipfs daemon &
python3 ipfs_http_client.py

Result: IPFS hash
Qm

Error solutions

esp-mdf toolchain error version - release v3.2.2:
espressif/esp-mdf#66

esp32-openwrt's People

Contributors

twodragon0 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 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.