-
Notifications
You must be signed in to change notification settings - Fork 639
Hardware Itead Sonoff Basic
Property | Value |
---|---|
Manufacturer | Itead Studio |
Product page | https://www.itead.cc/sonoff-wifi-wireless-switch.html |
Wiki page | https://www.itead.cc/wiki/Sonoff |
Build flag | ITEAD_SONOFF_BASIC |
The original Sonoff (now renamed Sonoff Basic) has an ESP8266 on board with a 8Mbit flash memory chip, a mains to 3V3 transformer and a relay (GPIO12). It also features a button (GPIO0), an LED (GPIO13) and an unpopulated header you can use to reprogram it.
GPIO | Usage |
---|---|
0 | Main button |
1 | TX |
2 | (R2) Available in header |
3 | RX |
12 | Relay |
13 | LED (inverted logic) |
14 | (R1) Available in header |
The unpopulated header in the Sonoff has all the required pins. My board has a 5 pins header in-line with the button. They are (from the button outwards) 3V3, RX, TX, GND and GPIO14 (or GPIO2).
The last one is not necessary. The button is connected to GPIO0 on the ESP8266 / ESP8285 chip, so to enter flash mode you have to hold the button pressed while powering on the board, then you can release it again.
The original Sonoff has some connectivity issues. This is probably due to the antenna placement close to live lines. It works fine if it's near the AP, otherwise, it's often reported to lose connectivity.
If you're looking for support:
- Issues: this is the most dynamic channel at the moment, you might find an answer to your question by searching open or closed issues.
- Wiki pages: might not be as up-to-date as we all would like (hey, you can also contribute in the documentation!).
- Gitter channel: you have better chances to get fast answers from project contributors or other ESPurna users. (also available with any Matrix client!)
- Issue a question: as a last resort, you can open new question issue on GitHub. Just remember: the more info you provide the more chances you'll have to get an accurate answer.
- Backup the stock firmware
- Flash a pre-built binary image
- Flash a virgin Itead Sonoff device without opening
- Flash TUYA-based device without opening
- Flash Shelly device without opening
- Using PlatformIO
- from Visual Studio Code
- Using Arduino IDE
- Build the Web Interface
- Over-the-air updates
- Two-step updates
- ESPurna OTA Manager
- NoFUSS
- Troubleshooting
- MQTT
- REST API
- Domoticz
- Home Assistant
- InfluxDB
- Prometheus metrics
- Thingspeak
- Alexa
- Google Home
- Architecture
- 3rd Party Plugins
- Coding style
- Pull Requests