Code Monkey home page Code Monkey logo

sonoff-tasmota's Introduction

Install platformio & tools

pipenv install --dev

Config

  1. Copy sonoff/user_config_override_sample.h -> sonoff/user_config_override.h
  2. Add custom config

Upload firmware

  1. enter pipenv shell: pipenv shell
  2. keep button pressed while plugging usb
  3. get port path: pio device list
  4. upload: pio run -t upload --upload-port <port>

Tweak if not working:

platformio.ini: upload_speed

Useful Commands

  • Ping: esptool.py --port <port> chip_id
  • Monitor: pio device monitor --port <port>
    • Ip: when in monitor type ipaddress + <enter>

Using Arduino as USB to TTL adapter:

Arduino.RESET <-> Arduino.Ground
Arduino.TX <-> ESP8266.TX # try TX->RX if not working
Arduino.RX <-> ESP8266.RX # try RX->TX if not working
Arduino.Ground <-> ESP8266.Ground
Arduino.3_3V <-> ESP8266.3_3V

References

Tasmota Wiki

Youtube:

sonoff-tasmota's People

Contributors

altelch avatar arendst avatar don-willingham avatar pauloromeira avatar thomdietrich 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.