-
Notifications
You must be signed in to change notification settings - Fork 1
Prerequisite
- One of the supported ESP8266 modules
- A really good quality USB-to-Serial Converter that can supply sufficient 3.3V to power the device (or a separate 3.3V power supply).
- Beefy FTDI (example) - this one should provide enough power to work correctly.
- CH340G based USB-Serial board (example - many people have had good luck with these types of boards and the generic ones seem to work just fine.
- Basic FTDI USB-to-Serial Converter/Programmer (example) - this works for some people but some people have trouble using this to power the device and flashing does not always work. Using an external 3V3 supply might be necessary, since the FTDI part is only rated to supply 50mA and that is much less than the esp8266 requires.
- RaspberryPi - this can work, but it is trickier to get to work and some people struggle with it.
- Or, start with a NodeMCU or Wemos D1, which have a built-in USB connector and can make learning how to flash much easier
- Please note that there are some programmers that can be switched between 3.3 V and 5 V for the data pins, but still provide 5V on the power pin. This might fry your devices. You MUST make sure both the data and power pins are set for 3.3V.
- Soldering iron and header pins
There are now binaries available to download and install. Installing a binary is much easier than configuring PlatformIO or Arduino to build this project. Look at the links on the right for Esptool (under upload tools) for instructions on how to use it to flash a pre-built binary to your device.
If you need/want to modify the code or default settings, you can use either of the following:
- PlatformIO (all needed libraries and settings are pre-configured in platformio.ini)
See the PlatformIO or Visual Studio Code links in the right hand menu.
See the Arduino IDE link in the right hand menu.
- The willingness to solder and tinker
- The firmware source code found here
- An MQTT broker
- An MQTT client to interact with the Sonoff module (Desktop Client, Android App, Home Automation Software, ...)
Home | Wiki | What's new | Tutorials | FAQ | Troubleshooting | Button usage | Commands | Rules
Home
Theo's Tasmota Tips
What's New
Getting Started
Upload tools
- SonOTA
- OTA over SCP
- Esptool
- Arduino IDE
- PlatformIO
- PlatformIO CLI
- Visual Studio Code
- Python HTTP OTA server
- Node Red OTA server and firmware manager
Usage
- Button Functionality
- MQTT Features
- Supported Commands
- Using Rules
- Sensor Configuration
- PowerOnState Configuration
- SwitchMode/SwitchTopic
- Button Multipress
- Energy Saving
- KNX Features
- Misc. Tips
Devices - Additional Info
- Sonoff Basic
- Sonoff SV
- Sonoff S20 Smart Socket
- Sonoff S26 Smart Socket
- Sonoff Dual / Dual R2
- Sonoff 4CH / 4CH Pro
- Sonoff RF and Slampher
- Sonoff RF Bridge 433
- Sonoff Pow / Pow R2
- Sonoff Touch
- Sonoff T1
- Sonoff B1 / B1 R2
- Sonoff iFan02
- Sonoff SC
- Sonoff PSA
- Sonoff S31
- Shelly 1 and 2
- Wemos D1 R1 & R2
- Wemos D1 Mini
- HuaFan Smart Socket
- Hyleton-313 Smart Plug
- MagicHome LED controller
- H801
- Arilux LC02
- SP108E LED controller
- Blitzwolf SHP2
- Tuya Dimmer
- PS-16-DZ Dimmer
- Armtronix Dimmers
- Other Devices
- retired
Home Automation Integration
- OpenHAB
- Home Assistant
- Domoticz - Manual configuaration
- Domoticz - Automatic discovery
- HomeBridge
- HomeSeer
- SmartThings
- IP-Symcon
- IOBroker
- TasmoAdmin
- Alexa
- Yeti
- NodeRed Examples
- Securing your Setup
Other Integrations
Further Topics
- MQTT Overview
- Remote Button
- Modified Kaku
- PZEM004T Energy Monitor
- IR Extension
- S20 sensor
- Wiring additional things to a module
- Sonoff Basic DHT11 Wiring
- Expand Sonoff 4CH with jack plug
- Defining new module types
- GPIO Locations
- JSON Status Responses
- Expand Sonoff Basic to 4MB Flash
- Time Proportioned Output support
- PID Control with Sonoff Devices
- Sensor-API
- Sensors Supported by Tasmota
- Syslog Setup
ESP32
Misc