Giter Site home page Giter Site logo

inlanger / esp8266-relay-controller Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ignisor/esp8266-relay-controller

0.0 2.0 0.0 16 KB

Relay controller on base of ESP8266 written using MicroPython

License: MIT License

Python 93.21% HTML 2.36% Shell 4.43%

esp8266-relay-controller's Introduction

ESP8266 Relay controller

Relay controller on base of ESP8266 written using MicroPython. In our case we use it to control magnet lock on door in our office. It has simple http server to serve web interface with button for opening the relay. And also supports push switch.

Getting Started

Prerequisites

  • Firs of all you need a board with an ESP8266 chip (we was using NodeMCU DEVKIT on base of ESP-12 module)

  • Get the MicroPython (Downloads)

  • Install python requirements

    pip install -r requirements.txt

  • Deploy MicroPython on your board. You can do it using esp_erase.sh script (or you can find detailed instructions here). Run it like this:

    sh esp_erase.sh [path_to_micropython_binary]

Installing

  • Specify SSID and PASSWORD in esp/data/conf.py

  • Upload files from esp folder to ESP board. It can be done using esp_pus.sh script. Just run

    sh esp_push.sh

  • Reset the board

Connection scheme

scheme_img

Built with

MicroPython v1.9.3

Authors

License

This project is licensed under the MIT License - see the LICENSE.md file for details

esp8266-relay-controller's People

Contributors

ignisor avatar

Watchers

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