Skip to content

@arendst arendst released this Dec 25, 2019

Logo

RELEASE NOTES

Migration Information

See migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x
  5. Migrate to Tasmota 7.x

--- Major change in parameter storage layout ---

  1. Migrate to Tasmota 8.1
  2. Migrate to Tasmota 8.x

While fallback or downgrading is common practice it was never supported due to Settings additions or changes in newer releases. Starting with release v8.1.0 Doris the Settings are re-allocated in such a way that fallback is only allowed and possible to release v7.2.0 Constance. Once at v7.2.0 you're on your own when downgrading even further.

Supported Core versions

This release will be supported from ESP8266/Arduino library Core version 2.6.1 due to reported security and stability issues on previous Core version.

Although it might still compile on previous Core versions all support will be removed in the near future.

Support of TLS

To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. Read full documentation

Initial configuration tools

For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Support for WPS and SmartConfig has been removed.

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.6.1.

  • tasmota.bin = The Tasmota version with sensors. RECOMMENDED RELEASE BINARY
  • tasmota-BG.bin to tasmota-TW.bin = The Tasmota version in different languages.
  • tasmota-lite.bin = The Lite version without most sensors.
  • tasmota-knx.bin = The Knx version without some features but adds KNX support.
  • tasmota-sensors.bin = The Sensors version adds more useful sensors.
  • tasmota-ir = The InfraRed Receiver and transmitter version allowing all available protocols provided by library IRremoteESP8266 but without most other features.
  • tasmota-display.bin = The Display version without Energy Monitoring but adds display support.
  • tasmota-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

List of embedded modules.

Complete list of available feature and sensors.

Changelog

Version 8.1.0 Doris

  • Change Settings text handling allowing variable length text within a total text pool of 699 characters
  • Change Smoother Fade using 100Hz instead of 20Hz animation (#7179)
  • Change number of rule Vars and Mems from 5 to 16 (#4933)
  • Change number of FriendlyNames from 4 to 8
  • Add commands WebButton1 until WebButton16 to support user defined GUI button text (#7166)
  • Add support for max 150 characters in most command parameter strings (#3686, #4754)
  • Add support for GPS as NTP server by Christian Baars and Adrian Scillato
  • Add support for AdcParam parameters to control ADC0 Moisture formula by Federico Leoni (#7309)
  • Add Zigbee coalesce sensor attributes into a single message
  • Add Zigbee better support for Xiaomi Double Switch and Xiaomi Vibration sensor
  • Add Deepsleep start delay based on Teleperiod if Teleperiod differs from 10 or 300
Assets 31

@arendst arendst released this Dec 22, 2019 · 76 commits to master since this release

Logo

RELEASE NOTES

Sonoff-Tasmota is now Tasmota

Migration Information

See migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x
  5. Migrate to Tasmota 7.x

Only this version will support fallback from version 8.x.

Supported Core versions

This release will be supported from ESP8266/Arduino library Core version 2.6.1 due to reported security and stability issues on previous Core version.

Although it might still compile on previous Core versions all support will be removed in the near future.

Support of TLS

To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. Read full documentation

Initial configuration tools

For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Support for WPS and SmartConfig has been removed.

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.6.1.

  • tasmota.bin = The Tasmota version with sensors. RECOMMENDED RELEASE BINARY
  • tasmota-BG.bin to tasmota-TW.bin = The Tasmota version in different languages.
  • tasmota-lite.bin = The Lite version without most sensors.
  • tasmota-knx.bin = The Knx version without some features but adds KNX support.
  • tasmota-sensors.bin = The Sensors version adds more useful sensors.
  • tasmota-ir = The InfraRed Receiver and transmitter version allowing all available protocols provided by library IRremoteESP8266 but without most other features.
  • tasmota-display.bin = The Display version without Energy Monitoring but adds display support.
  • tasmota-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

List of embedded modules.

Complete list of available feature and sensors.

Changelog

Version 7.2.0 Constance

  • Change Exception reporting removing exception details from Status 1 and consolidated in Status 12 if available
  • Change HTTP CORS from command SetOption73 0/1 to Cors <cors_domain> allowing user control of specific CORS domain by Shantur Rathore (#7066)
  • Change GUI Shutter button text to Up and Down Arrows based on PR by Xavier Muller (#7166)
  • Change amount of supported DHT sensors from 3 to 4 by Xavier Muller (#7167)
  • Change some Settings locations freeing up space for future single char allowing variable length text
  • Change tasmota-basic.bin and FIRMWARE_BASIC to tasmota-lite.bin and FIRMWARE_LITE
  • Fix flashing H801 led at boot by Stefan Hadinger (#7165, #649)
  • Fix duplicated Backlog when using Event inside a Backlog by Adrian Scillato (#7178, #7147)
  • Fix Gui Timer when using a negative zero offset of -00:00 by Peter Ooms (#7174)
  • Fix DeepSleep in case there is no wifi by Stefan Bode (#7213)
  • Fix Fade would ignore savedata 0 and store to flash anyways (#7262)
  • Fix Arduino IDE compile error (#7277)
  • Fix restore ShutterAccuracy, MqttLog, WifiConfig, WifiPower and SerialConfig (#7281)
  • Fix no AP on initial install (#7282)
  • Fix failing downgrade (#7285)
  • Add command SerialConfig 0..23 or SerialConfig 8N1 to select Serial Config based in PR by Luis Teixeira (#7108)
  • Add command Sensor34 9 <weight code> to set minimum delta to trigger JSON message by @tobox (#7188)
  • Add rule var %topic% by Adrian Scillato (#5522)
  • Add rule triggers tele-wifi1#xxx by Adrian Scillato (#7093)
  • Add SML bus decoder syntax support for byte order by Gerhard Mutz (#7112)
  • Add experimental support for stepper motor shutter control by Stefan Bode
  • Add optional USE_MQTT_TLS to tasmota-minimal.bin by Bohdan Kmit (#7115)
  • Add save call stack in RTC memory in case of crash, command Status 12 to dump the stack by Stefan Hadinger
  • Add Home Assistant force update by Frederico Leoni (#7140, #7074)
  • Add Wifi Signal Strength in dBm in addition to RSSI Wifi Experience by Andreas Schultz (#7145)
  • Add Yaw, Pitch and Roll support for MPU6050 by Philip Barclay (#7058)
  • Add reporting of raw weight to JSON from HX711 to overcome auto-tare functionality by @tobox (#7171)
  • Add Zigbee support for Xiaomi Aqara Vibration Sensor and Presence Sensor by Stefan Hadinger
  • Add Shutter functions ramp up/down and MQTT reporting by Stefan Bode
  • Add fallback support from version 8.x
  • Add restriction if fallback firmware is incompatible with settings resulting in unreachable device
  • Add support for DHT12 Temperature and Humidity sensor by Stefan Oskamp
Assets 31

@arendst arendst released this Dec 6, 2019 · 266 commits to master since this release

Logo

RELEASE NOTES

Sonoff-Tasmota is now Tasmota

Migration Information

See migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x
  5. Migrate to Tasmota 7.x

Supported Core versions

This release will be supported from ESP8266/Arduino library Core version 2.6.1 due to reported security and stability issues on previous Core version.

Although it might still compile on previous Core versions all support will be removed in the near future.

Support of TLS

To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. Read full documentation

Initial configuration tools

For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Support for WPS and SmartConfig has been removed.

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.6.1.

  • tasmota.bin = The Tasmota version with sensors. RECOMMENDED RELEASE BINARY
  • tasmota-BG.bin to tasmota-TW.bin = The Tasmota version in different languages.
  • tasmota-basic.bin = The Basic version without most sensors.
  • tasmota-knx.bin = The Knx version without some features but adds KNX support.
  • tasmota-sensors.bin = The Sensors version adds more useful sensors.
  • tasmota-ir = The InfraRed Receiver and transmitter version allowing all available protocols provided by library IRremoteESP8266 but without most other features.
  • tasmota-display.bin = The Display version without Energy Monitoring but adds display support.
  • tasmota-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

List of embedded modules.

Complete list of available feature and sensors.

Changelog

Version 7.1.2 Betty

  • Fix lost functionality of GPIO9 and GPIO10 on some devices (#7080)
  • Fix Zigbee uses Hardware Serial if GPIO 1/3 or GPIO 13/15 and SerialLog 0 (#7071)
  • Fix WS2812 power control (#7090)
  • Change light color schemes 2, 3 and 4 from color wheel to Hue driven with user Saturation control
  • Change log buffer size from 520 to 700 characters accomodating full rule text (#7110)
Assets 31

@arendst arendst released this Dec 1, 2019 · 285 commits to master since this release

Logo

RELEASE NOTES

Sonoff-Tasmota is now Tasmota

Migration Information

See migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x
  5. Migrate to Tasmota 7.x

Supported Core versions

This release will be supported from ESP8266/Arduino library Core version 2.6.1 due to reported security and stability issues on previous Core version.

Although it might still compile on previous Core versions all support will be removed in the near future.

Support of TLS

To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. Read full documentation

Initial configuration tools

For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Support for WPS and SmartConfig has been removed.

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.6.1.

  • tasmota.bin = The Tasmota version with sensors. RECOMMENDED RELEASE BINARY
  • tasmota-BG.bin to tasmota-TW.bin = The Tasmota version in different languages.
  • tasmota-basic.bin = The Basic version without most sensors.
  • tasmota-knx.bin = The Knx version without some features but adds KNX support.
  • tasmota-sensors.bin = The Sensors version adds more useful sensors.
  • tasmota-ir = The InfraRed Receiver and transmitter version allowing all available protocols provided by library IRremoteESP8266 but without most other features.
  • tasmota-display.bin = The Display version without Energy Monitoring but adds display support.
  • tasmota-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

List of embedded modules.

Complete list of available feature and sensors.

Changelog

Version 7.1.1 Betty

  • Fix slider for devices with one or two channels like only white or white/yellow
  • Fix TasmotaSlave buffer overrun on Tele
  • Fix light scheme 4 speed (#7072)
  • Add support for TasmotaSlave executing commands on Tasmota
Assets 31

@arendst arendst released this Nov 29, 2019 · 300 commits to master since this release

Logo

RELEASE NOTES

Sonoff-Tasmota is now Tasmota

Migration Information

See migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x
  5. Migrate to Tasmota 7.x

Supported Core versions

This release will be supported from ESP8266/Arduino library Core version 2.6.1 due to reported security and stability issues on previous Core version.

Although it might still compile on previous Core versions all support will be removed in the near future.

Support of TLS

To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. Read full documentation

Initial configuration tools

For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Support for WPS and SmartConfig has been removed.

Supported Modules

The following hardware modules are supported.

Module Description
01 Sonoff Basic Sonoff Basic Wifi Smart Switch
02 Sonoff RF Sonoff RF Wifi Smart Switch with RF (434MHz) receiver
03 Sonoff SV Sonoff SV Safe Voltage Wifi Smart Switch
04 Sonoff TH Sonoff TH10/TH16 Wifi Smart Switch with Sensor connection
05 Sonoff Dual Sonoff Dual Wifi Smart Switch
06 Sonoff Pow Sonoff Pow Wifi Smart Switch with Energy Monitoring
07 Sonoff 4CH Sonoff 4CH 4-gang Wifi Smart Switch
08 Sonoff S2X Sonoff S20/S26 Wifi Smart Socket
09 Slampher Sonoff Slampher Wifi Smart Light Bulb Socket with RF (434MHz) receiver
10 Sonoff Touch Sonoff Touch Wifi Light Switch
11 Sonoff LED Sonoff Led Wifi Led Pack (Retired)
12 1 Channel 1 Channel Inching/Self Locking Wifi Switch 5V/12V
13 4 Channel 4 Channel Inching/Self Locking Wifi Switch (Retired)
14 Motor C/AC Motor Clockwise/Antoclockwise Wifi Switch (Retired)
15 ElectroDragon Electrodragon Wifi IoT Board
16 EXS Relay(s) Electronic Experience Store 1 or 2-gang Wifi Module
17 WiOn WiOn Wifi Smart Socket
18 Generic Any ESP8266/ESP8285 device like WeMos and NodeMCU
19 Sonoff Dev Sonoff Dev Wifi Development Board
20 H801 H801 Wifi RGBWW Led Controller
21 Sonoff SC Sonoff SC Wifi Environmental Monitor
22 Sonoff BN-SZ Sonoff BN-SZ01 Wifi Ceiling Led (Retired)
23 Sonoff 4CH Pro Sonoff 4CH Pro 4-gang Wifi Smart Switch
24 Huafan SS HuaFan Wifi Smart Socket
25 Sonoff Bridge Sonoff RF (434MHz) transceive to Wifi Bridge
26 Sonoff B1 Sonoff B1 Wifi RGBWW Led Bulb
27 AiLight Ai-Thinker RGBW Led Bulb
28 Sonoff T1 1CH Sonoff T1 1-gang Wifi Light Switch
29 Sonoff T1 2CH Sonoff T1 2-gang Wifi Light Switch
30 Sonoff T1 3CH Sonoff T1 3-gang Wifi Light Switch
31 Supla Espablo 2-gang Wifi Module
32 Witty Cloud Witty Cloud ESP8266 Wifi Development Board
33 Yunshan Relay ESP8266 Wifi Network Relay Module
34 MagicHome MagicHome, Flux-light and some Arilux LC10 RGB(W) Led Controller
35 Luani HVIO Luani ESP8266 Wifi I/O Module
36 KMC 70011 KMC Wifi Smart Socket with Energy Monitoring
37 Arilux LC01 Arilux AL-LC01 RGB Led Controller
38 Arilux LC11 Arilux AL-LC11 RGBWW Led Controller
39 Sonoff Dual R2 Sonoff Dual R2 Wifi Smart Switch
40 Arilux LC06 Arilux AL-LC06 RGB(WW) Led Controller
41 Sonoff S31 Sonoff S31 Wifi Smart Socket with Energy Monitoring
42 Zengge WF017 Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam Neo Coolcam Wifi Smart Socket
50 ESP Switch ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket OBI Wifi Smart Socket
52 Teckin Teckin SP22 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1 v23 Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
56 ARMTR Dimmer ARMtronix Wifi dimmer for Incandescent Lights and Led
57 SK03 Outdoor SK03 Outdoor Wifi Smart Switch with Energy Monitoring
58 PS-16-DZ PS-16-DZ Wifi dimmer for Incandescent Lights and Led
59 Teckin US Teckin SP20 and ZooZee SA102 Wifi Smart Switch with Energy Monitoring
60 Manzoku strip Manzoku Wifi Smart Power Strip with four Relays
61 OBI Socket 2 OBI 2 Wifi Smart Socket
62 YTF IR Bridge YTF Infra Red Wifi Bridge
63 Digoo DG-SP202 Digoo DG-SP202 Dual Wifi Smart Switch with Energy Monitoring
64 KA10 Smanergy KA10 Wifi Smart Wall Switch with Energy Monitoring
65 Luminea ZX2820 Luminea ZX2820 Wifi Smart Switch with Energy Monitoring
66 Mi Desk Lamp Mi Desk Lamp with rotary switch and Wifi
67 SP10 Tuya SP10 Wifi Smart Switch with Energy Monitoring
68 WAGA CHCZ02MB WAGA life CHCZ02MB Wifi Smart Switch with Energy Monitoring
69 SYF05 Sunyesmart SYF05 RGBWW Wifi Led Bulb
70 Sonoff L1 Sonoff L1 light strip
71 Sonoff iFan03 Sonoff iFan03 Wifi Smart Ceiling Fan with Light
72 EXS Dimmer EXS Wifi Dimmer v4

Over 500 additional devices are supported using templates.

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.6.1.

  • tasmota.bin = The Tasmota version with sensors. RECOMMENDED RELEASE BINARY
  • tasmota-BG.bin to tasmota-TW.bin = The Tasmota version in different languages.
  • tasmota-basic.bin = The Basic version without most sensors.
  • tasmota-knx.bin = The Knx version without some features but adds KNX support.
  • tasmota-sensors.bin = The Sensors version adds more useful sensors.
  • tasmota-ir = The InfraRed Receiver and transmitter version allowing all available protocols provided by library IRremoteESP8266 but without most other features.
  • tasmota-display.bin = The Display version without Energy Monitoring but adds display support.
  • tasmota-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

Complete list of available feature and sensors.

Changelog

Version 7.1.0 Betty

  • Remove update support for versions before 6.0
  • Remove driver xsns_12_ads1115_i2cdev replaced by xsns_12_ads1115
  • Remove most IR protocols from non dedicated IR firmware except NEC, RC5 and RC6
  • Change repository name from Sonoff-Tasmota to Tasmota and all code references from Sonoff to Tasmota
  • Change documentation from wiki to documentation repository by @blakadder
  • Change default GUI to dark theme
  • Change ArduinoSlave to TasmotaSlave
  • Change IRremoteESP8266 library to v2.7.1
  • Change supported PCF8574 I2C address range to 0x20 - 0x26 allowing other I2C devices with address 0x27 to be used at the same time
  • Change supported PCF8574A I2C address range to 0x39 - 0x3F allowing other I2C devices with address 0x38 to be used at the same time
  • Change supported MCP230xx I2C address range to 0x20 - 0x26 allowing other I2C devices with address 0x27 to be used at the same time
  • Change Reset erase end address from as seen by SDK (getFlashChipSize) to full flash size (getFlashChipRealSize)
  • Change new Fade system much smoother, Speed now up to 40 (#6942, #3714)
  • Fix better control of RGB/White when SetOption37 >128, added Dimmer1 and Dimmer2 commands (#6714)
  • Fix random crash caused by UPNP flood
  • Fix check deepsleep for valid values in Settings (#6961)
  • Fix Wifi instability when light is on, due to Sleep 0 (#6961, #6608)
  • Fix auto-power on/off when setting channel to non-zero or zero value, when SetOption68 1
  • Fix postpone saving settings to flash until Fade is complete, avoids pause in Fade
  • Add support for Tuya battery powered devices (#6735)
  • Add support for Honeywell I2C HIH series Humidity and Temperetaure sensor (#6808)
  • Add support for Honeywell HPMA115S0 particle concentration sensor by David Hunt (#6843)
  • Add support for I2C sensor TLS2591 Light Intensity sensor (#6873)
  • Add command SetOption73 0/1 to re-enable HTTP Cross-Origin Resource Sharing (CORS) now default disabled (#6767)
  • Add command SetOption74 0/1 to enable DS18x20 internal pull-up and remove define DS18B20_INTERNAL_PULLUP (#6795)
  • Add command SetOption75 0/1 to switch between grouptopic (0) using fulltopic replacing %topic% or (1) is cmnd/<grouptopic> (#6779)
  • Add command SetOption76 0/1 to enable incrementing bootcount when deepsleep is enabled (#6930)
  • Add command SetOption77 0/1 to keep power on when slider is far left
  • Add command I2cDriver for I2C driver runtime control using document I2CDEVICES.md
  • Add command TempOffset -12.6 .. 12.6 to set global temperature sensor offset (#6958)
  • Add command WebColor19 to control color of Module and Name (#6811)
  • Add command WifiPower 0 .. 20.5 to set Wifi Output Power which will be default set to 17dBm
  • Add frequency to ADE7953 energy monitor as used in Shelly 2.5 by ljakob (#6778)
  • Add hide Alexa objects with friendlyname starting with '$' (#6722, #6762)
  • Add Zigbee command support, considered as v1.0 for full Zigbee support
  • Add hardware detection to be overruled with SetOption51 (#6969)
  • Add Colorpicker to WebUI by Christian Staars (#6984)
Assets 31

@arendst arendst released this Oct 26, 2019 · 812 commits to master since this release

Logo

RELEASE NOTES

Migration Information

See wiki migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x

Supported Core versions

This release will be supported from ESP8266/Arduino library Core version pre-2.6.0 due to reported security and stability issues on previous Core version.

Although it might still compile on previous Core versions all support will be removed starting in the next Release.

Support of TLS

To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. See full documentation on https://github.com/arendst/Sonoff-Tasmota/wiki/AWS-IoT

Initial configuration tools

For initial configuration this release supports Webserver based WifiManager or Serial based command interface only. Support for WPS and SmartConfig has been removed.

Supported Modules

The following hardware modules are supported.

Module Description
01 Sonoff Basic Sonoff Basic Wifi Smart Switch
02 Sonoff RF Sonoff RF Wifi Smart Switch with RF (434MHz) receiver
03 Sonoff SV Sonoff SV Safe Voltage Wifi Smart Switch
04 Sonoff TH Sonoff TH10/TH16 Wifi Smart Switch with Sensor connection
05 Sonoff Dual Sonoff Dual Wifi Smart Switch
06 Sonoff Pow Sonoff Pow Wifi Smart Switch with Energy Monitoring
07 Sonoff 4CH Sonoff 4CH 4-gang Wifi Smart Switch
08 Sonoff S2X Sonoff S20/S26 Wifi Smart Socket
09 Slampher Sonoff Slampher Wifi Smart Light Bulb Socket with RF (434MHz) receiver
10 Sonoff Touch Sonoff Touch Wifi Light Switch
11 Sonoff LED Sonoff Led Wifi Led Pack (Retired)
12 1 Channel 1 Channel Inching/Self Locking Wifi Switch 5V/12V
13 4 Channel 4 Channel Inching/Self Locking Wifi Switch (Retired)
14 Motor C/AC Motor Clockwise/Antoclockwise Wifi Switch (Retired)
15 ElectroDragon Electrodragon Wifi IoT Board
16 EXS Relay(s) Electronic Experience Store 1 or 2-gang Wifi Module
17 WiOn WiOn Wifi Smart Socket
18 Generic Any ESP8266/ESP8285 device like WeMos and NodeMCU
19 Sonoff Dev Sonoff Dev Wifi Development Board
20 H801 H801 Wifi RGBWW Led Controller
21 Sonoff SC Sonoff SC Wifi Environmental Monitor
22 Sonoff BN-SZ Sonoff BN-SZ01 Wifi Ceiling Led (Retired)
23 Sonoff 4CH Pro Sonoff 4CH Pro 4-gang Wifi Smart Switch
24 Huafan SS HuaFan Wifi Smart Socket
25 Sonoff Bridge Sonoff RF (434MHz) transceive to Wifi Bridge
26 Sonoff B1 Sonoff B1 Wifi RGBWW Led Bulb
27 AiLight Ai-Thinker RGBW Led Bulb
28 Sonoff T1 1CH Sonoff T1 1-gang Wifi Light Switch
29 Sonoff T1 2CH Sonoff T1 2-gang Wifi Light Switch
30 Sonoff T1 3CH Sonoff T1 3-gang Wifi Light Switch
31 Supla Espablo 2-gang Wifi Module
32 Witty Cloud Witty Cloud ESP8266 Wifi Development Board
33 Yunshan Relay ESP8266 Wifi Network Relay Module
34 MagicHome MagicHome, Flux-light and some Arilux LC10 RGB(W) Led Controller
35 Luani HVIO Luani ESP8266 Wifi I/O Module
36 KMC 70011 KMC Wifi Smart Socket with Energy Monitoring
37 Arilux LC01 Arilux AL-LC01 RGB Led Controller
38 Arilux LC11 Arilux AL-LC11 RGBWW Led Controller
39 Sonoff Dual R2 Sonoff Dual R2 Wifi Smart Switch
40 Arilux LC06 Arilux AL-LC06 RGB(WW) Led Controller
41 Sonoff S31 Sonoff S31 Wifi Smart Socket with Energy Monitoring
42 Zengge WF017 Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam Neo Coolcam Wifi Smart Socket
50 ESP Switch ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket OBI Wifi Smart Socket
52 Teckin Teckin SP22 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1 v23 Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
56 ARMTR Dimmer ARMtronix Wifi dimmer for Incandescent Lights and Led
57 SK03 Outdoor SK03 Outdoor Wifi Smart Switch with Energy Monitoring
58 PS-16-DZ PS-16-DZ Wifi dimmer for Incandescent Lights and Led
59 Teckin US Teckin SP20 and ZooZee SA102 Wifi Smart Switch with Energy Monitoring
60 Manzoku strip Manzoku Wifi Smart Power Strip with four Relays
61 OBI Socket 2 OBI 2 Wifi Smart Socket
62 YTF IR Bridge YTF Infra Red Wifi Bridge
63 Digoo DG-SP202 Digoo DG-SP202 Dual Wifi Smart Switch with Energy Monitoring
64 KA10 Smanergy KA10 Wifi Smart Wall Switch with Energy Monitoring
65 Luminea ZX2820 Luminea ZX2820 Wifi Smart Switch with Energy Monitoring
66 Mi Desk Lamp Mi Desk Lamp with rotary switch and Wifi
67 SP10 Tuya SP10 Wifi Smart Switch with Energy Monitoring
68 WAGA CHCZ02MB WAGA life CHCZ02MB Wifi Smart Switch with Energy Monitoring
69 SYF05 Sunyesmart SYF05 RGBWW Wifi Led Bulb
70 Sonoff L1 Sonoff L1 light strip
71 Sonoff iFan03 Sonoff iFan03 Wifi Smart Ceiling Fan with Light
72 EXS Dimmer EXS Wifi Dimmer v4

Over 500 additional devices are supported using templates.

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version pre-2.6.0.

  • sonoff.bin = The Sonoff version with sensors. RECOMMENDED RELEASE BINARY
  • sonoff-BG.bin to sonoff-TW.bin = The Sonoff version in different languages.
  • sonoff-basic.bin = The Basic version without most sensors.
  • sonoff-knx.bin = The Knx version without some features but adds KNX support.
  • sonoff-sensors.bin = The Sensors version adds more useful sensors.
  • sonoff-ir = The InfraRed Receiver and transmitter version allowing all available protocols provided by library IRremoteESP8266 but without most other features.
  • sonoff-display.bin = The Display version without Energy Monitoring but adds display support.
  • sonoff-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

Available Features and Sensors

Feature or Sensor minimal basic sonoff knx sensors ir display Remarks
MY_LANGUAGE en-GB x x x x x x x
USE_ARDUINO_OTA - - - - - - -
USE_DOMOTICZ - - x x x x -
USE_HOME_ASSISTANT - - x x x x -
USE_MQTT_TLS - - - - - - -
USE_MQTT_TLS_CA_CERT - - - - - - -
USE_MQTT_AWS_IOT - - - - - - -
USE_KNX - - - x - - -
USE_WEBSERVER x x x x x x x
USE_JAVASCRIPT_ES6 - - - - - - -
USE_WEBSEND_RESPONSE - - - - - - -
USE_EMULATION_HUE - x x - x - -
USE_EMULATION_WEMO - x x - x - -
USE_DISCOVERY - - x x - - x
WEBSERVER_ADVERTISE - - x x - - x
MQTT_HOST_DISCOVERY - - x x - - x
USE_TIMERS - x x x x x x
USE_TIMERS_WEB - x x x x x x
USE_SUNRISE - x x x x x x
USE_RULES - x x x x x x
USE_SCRIPT - - - - - - -
USE_EXPRESSION - - - - - - -
SUPPORT_IF_STATEMENT - - - - - - -
Feature or Sensor minimal basic sonoff knx sensors ir display Remarks
ROTARY_V1 - - - - - - -
USE_SONOFF_RF - - x x x - -
USE_RF_FLASH - - x x x - -
USE_SONOFF_SC - - x - x - -
USE_TUYA_MCU - x x x x - x
USE_ARMTRONIX_DIMMERS - - x x - - -
USE_PS_16_DZ - - x x x - -
USE_SONOFF_IFAN - - x x x - -
USE_BUZZER - - x x x - -
USE_ARILUX_RF - - x x x - -
USE_SHUTTER - - - - - - -
USE_DEEPSLEEP - - - - - - -
USE_EXS_DIMMER - - x x - - -
Feature or Sensor minimal basic sonoff knx sensors ir display Remarks
USE_LIGHT - x x x x x x
USE_WS2812 - - x x x - x
USE_WS2812_DMA - - - - - - -
USE_MY92X1 - - x x x - x
USE_SM16716 - - x x x - x
USE_SM2135 - - x x x - x
USE_SONOFF_L1 - - x x x - x
USE_ENERGY_SENSOR - x x x x - -
USE_PZEM004T - - x x x - -
USE_PZEM_AC - - x x x - -
USE_PZEM_DC - - x x x - -
USE_MCP39F501 - x x x x - -
USE_SDM120 - - - - x - -
USE_SDM630 - - - - x - -
USE_DDS2382 - - - - x - -
USE_DDSU666 - - - - x - -
USE_SOLAX_X1 - - - - - - -
USE_ADC_VCC x x - - - - -
USE_COUNTER - - x x x x x
USE_DS18x20 - - x x x - x
USE_DHT - - x x x x x
USE_MAX31855 - - - - x - -
USE_MAX31865 - - - - - - -
Feature or Sensor minimal basic sonoff knx sensors ir display Remarks
USE_I2C - - x x x - x
USE_SHT - - x x x - x
USE_HTU - - x x x - x
USE_BMP - - x x x - x
USE_BME680 - - - - x - -
USE_BH1750 - - x x x - x
USE_VEML6070 - - - - x - -
USE_ADS1115 - - - - x - -
USE_ADS1115_I2CDEV - - - - - - -
USE_INA219 - - - - x - -
USE_INA226 - - - - - - -
USE_SHT3X - - x x x - x
USE_TSL2561 - - - - x - -
USE_MGS - - - - x - -
USE_SGP30 - - x x x - x
USE_SI1145 - - - - - - -
USE_LM75AD - - x x x - x
USE_APDS9960 - - - - - - -
USE_MCP230xx - - - - - - -
USE_PCA9685 - - - - - - -
USE_MPR121 - - - - - - -
USE_CCS811 - - - - - - -
USE_MPU6050 - - - - - - -
USE_DS3231 - - - - - - -
USE_MGC3130 - - - - - - -
USE_MAX44009 - - - - - - -
USE_SCD30 - - - - x - -
USE_SPS30 - - - - - - -
USE_ADE7953 - - x x x - x
USE_VL53L0X - - - - - - -
USE_MLX90614 - - - - - - -
USE_CHIRP - - - - - - -
USE_PAJ7620 - - - - - - -
USE_PCF8574 - - - - - - -
Feature or Sensor minimal basic sonoff knx sensors ir display Remarks
USE_SPI - - - - - - x
USE_MHZ19 - - x x x - x
USE_SENSEAIR - - x x x - x
USE_PMS5003 - - x x x - x
USE_NOVA_SDS - - x x x - x
USE_SERIAL_BRIDGE - - x x x - x
USE_MP3_PLAYER - - - - x - -
USE_AZ7798 - - - - - - -
USE_PN532_HSU - - - - x - -
USE_ZIGBEE - - - - - - - Experimental
USE_IR_REMOTE - - x x x x x
USE_IR_HVAC - - - - x x -
USE_IR_RECEIVE - - x x x x x
USE_SR04 - - x x x - x
USE_TM1638 - - - - x - -
USE_HX711 - - x x x - x
USE_TX20_WIND_SENSOR - - - - x - -
USE_RC_SWITCH - - - - x - -
USE_RF_SENSOR - - - - x - - AlectoV2 only
USE_HRE - - - - x - -
USE_A4988_STEPPER - - - - - - -
USE_ARDUINO_SLAVE - - - - - - - Experimental
Feature or Sensor minimal basic sonoff knx sensors ir display Remarks
USE_DISPLAY - - - - - - x
USE_DISPLAY_LCD - - - - - - x
USE_DISPLAY_SSD1306 - - - - - - x
USE_DISPLAY_MATRIX - - - - - - x
USE_DISPLAY_SH1106 - - - - - - x
USE_DISPLAY_ILI9341 - - - - - - x
USE_DISPLAY_EPAPER_29 - - - - - - x
USE_DISPLAY_EPAPER_42 - - - - - - x
USE_DISPLAY_ILI9488 - - - - - - -
USE_DISPLAY_SSD1351 - - - - - - -
USE_DISPLAY_RA8876 - - - - - - -

Changelog

Version 6.7.1 20191026

  • Remove support for WPS and SmartConfig in favour of Web server (!) based WifiManager (#6680)
  • Remove binary sonoff-classic (#6680)
  • Remove command SetOption2
  • Remove default DS18B20 driver and only support define USE_DS18x20 (#6647)
  • Remove support for define USE_DS18x20_LEGACY and legacy DS18x20 driver (#6486)
  • Replace xsns_23_sdm120 with xnrg_08_sdm120
  • Replace xsns_25_sdm630 with xnrg_10_sdm630
  • Replace xsns_49_solaxX1 with xnrg_12_solaxX1 (#6677)
  • Change Sonoff L1 support by adding define USE_SONOFF_L1
  • Change light drivers internals to ease management
  • Change command PulseTime JSON message format and allow display of all pulsetimer information (#6519)
  • Change command SetOption43 to make it more general. Now supports PS_16_DZ driver too (#6544)
  • Change command handling by moving buffers up in chain solving MQTTlog support (#6529)
  • Change commands Var and Mem to show all parameters when no index is given (#6107)
  • Change detection of non-MQTT commands by allowing non-space characters as delimiter (#6540)
  • Change rename "Data" to "Hash" and limit to 32 bits when receiving UNKNOWN IR protocol (see DECODE_HASH from IRremoteESP8266)
  • Change JSON output format for commands Adc, Adcs, Modules, Gpio and Gpios from list to dictionary (#6407)
  • Change energy sensors for three phase/channel support
  • Change Settings crc calculation allowing short term backward compatibility
  • Change Improve reliability of TasmotaSerial at 115200 bauds and reduce IRAM usage
  • Change Tuya support by Shantur Rathore removing tuya related commands SetOption34, 41, 44, 45, 46, 65, 66 and 69 (#6353)
  • Change theoretical baudrate range to 300..19660500 bps in 300 increments (#6294)
  • Change Settings area to 4k for future use
  • Change some table locations from RAM to Flash
  • Change filename of configuration backup from using FriendlyName1 to Hostname solving diacritic issues (#2422)
  • Change Store AWS IoT Private Key and Certificate in SPI Flash avoiding device-specific compilations
  • Change defines USE_TX20_WIND_SENSOR and USE_RC_SWITCH in my_user_config.h to disable to lower iram usage enabling latest core compilation (#6060, #6062)
  • Fix PowerDelta related exception0: epc1:0x4000dce5 (#6750)
  • Fix handling of ligth channels when pwm_multichannel (SetOption68) is enabled
  • Fix better handling of PWM White Temperature mode for Module 48 (#6534)
  • Fix TasmotaSerial: move serial send to IRAM for high speed baud rates
  • Fix Domoticz battery level set to 100 if define USE_ADC_VCC is not used (#6033)
  • Fix Force Elliptic Curve for Letsencrypt TLS #6042
  • Fix WeMo emulation for 1G echo and 2G echo dot (#6086)
  • Fix Xiaomi Philips brightness (#6091)
  • Add support for EX-Store WiFi Dimmer V4 (#5856)
  • Add support for Arduino serial connection (EXPERIMENTAL)
  • Add support for Zigbee devices Xiaomi lumi.weather air quality sensor, Osram mini-switch
  • Add support for Zigbee device cc2530 initialization and basic ZCL decoding
  • Add support for PMS3003 dust particle sensor
  • Add support for Chint DDSU666 Modbus energy meter by Pablo Zerón
  • Add support for SM2135 as used in Action LSC Smart Led E14 (#6495)
  • Add support for Shelly 2.5 dual energy (#6160)
  • Add support for shutters by Stefan Bode (#288)
  • Add support for PCF8574 I2C I/O Expander (currently output only) by Stefan Bode
  • Add support for up to three PZEM-014/-016 on one serial modbus connection with addresses 1 (default), 2 and 3 (#2315)
  • Add support for up to three PZEM-004T on one serial connection with addresses 192.168.1.1 (default), 2 and 3 (#2315)
  • Add support for up to three PZEM-003/-017 on one serial modbus connection with addresses 1 (default), 2 and 3 (#2315)
  • Add support for up to 4 INA226 Voltage and Current sensors by Steve Rogers (#6342)
  • Add support for A4988 stepper-motor-driver-circuit by Tim Leuschner (#6370)
  • Add support for Hiking DDS238-2 Modbus energy meter by Matteo Campanella (#6384)
  • Add support for HM17 bluetooth LE passive scan of ibeacon devices by Gerhard Mutz
  • Add support for Solax X1 inverter by Pablo Zerón
  • Add support for PAJ7620 gesture sensor by Christian Baars
  • Add support for MAX31865 Thermocouple sensor by Alberto Lopez Siemens
  • Add support for RDM6300 125kHz RFID Reader by Gerhard Mutz
  • Add support for CHIRP soil moisture sensor by Christian Baars
  • Add support for Sonoff iFan03 as module 71 (#5988)
  • Add support for a buzzer
  • Add support for IRSend long press ('repeat' feature from IRRemoteESP8266) (#6074)
  • Add support for IRHVAC Midea/Komeco protocol (#3227)
  • Add support for more IRSend protocols enabled in my_user_config.h
  • Add support for IRSend Pioneer protocol (#6100)
  • Add support for up to 4 INA219 sensors (#6046)
  • Add support for I2C display driver SH1106 oled by Gerhard Mutz
  • Add support for SPI display drivers epaper 4.2 inch, ILI9488 TFT, SSD1351 Color oled and RA8876 TFT by Gerhard Mutz
  • Add command Buzzer with optional parameters ,<duration of beep in 100mS steps>,<duration of silence in 100mS steps> enabled when a buzzer is configured (#5988)
  • Add command DimmerRange in Light module to support 2 byte dimming ranges from Tuya
  • Add command DisplayHeight to set pixel height on supported devices
  • Add command DisplayWidth to set pixel width on supported devices
  • Add command EnergyReset4 x,x to initialize total usage for two tarrifs
  • Add command EnergyReset5 x,x to initialize total export (or production) for two tarrifs
  • Add command Gpio 255/All to show physical GPIO configuration of all non-flash pins (#6407)
  • Add command Gpios 255/All to show all available GPIO components (#6407)
  • Add command ModuleAddress 1/2/3 to set Pzem module address when a single module is connected (#2315)
  • Add command MqttLog <loglevel> for support of MQTT logging (#6498)
  • Add command Power0 0/1/2/Off/On/Toggle to control all power outputs at once (#6340)
  • Add command PowerDelta 101..32000 for absolute power delta where 101 = 101-100 = 1W, 202 = 202-100 = 102W (#5901)
  • Add command Reset 99 to reset bootcount to zero (#684, #6351)
  • Add command Sensor29 pin,0/1/2 for OFF/ON/TOGGLE
  • Add command Sensor34 8,0 and Sensor34 8,1 to disable/enable JSON message on weight change over 4 gram
  • Add command SetOption34 0..255 to set backlog delay. Default value is 200 (mSeconds) (#6562)
  • Add command SetOption42 0..255 to set overtemperature (Celsius only) threshold resulting in power off all on energy monitoring devices. Default setting is 90 (#6036)
  • Add command SetOption65 0/1 to disable (1) fast power cycle detection fixing unwanted brownout trigger
  • Add command SetOption67 0/1 to disable or enable a buzzer as used in iFan03
  • Add command SetOption68 0/1 to enable multi-channel PWM instead of a single light (#6134)
  • Add command SetOption71 0/1 to switch between different Modbus Active Energy registers on DDS238-2 energy meters (#6531)
  • Add command SetOption72 0/1 to switch between software (0) or hardware (1) energy total counter (#6561)
  • Add command Time to disable NTP and set UTC time as Epoch value if above 1451602800 (=20160101). Time 0 re-enables NTP (#5279)
  • Add command Time 1/2/3 to select JSON time format ISO + Epoch, ISO or Epoch
  • Add command Tariff to default to 0 (=disabled) and allowing to set both Standard Time (ST) and Daylight Savings Time (DST) start hour
    ex. Tariff1 22,23 = Tariff1 (Off-Peak) ST,DST Tariff2 6,7 = Tariff2 (Standard) ST,DST Tariff9 0/1 = Weekend toggle (1 = Off-Peak during weekend)
  • Add command WebSensor<sensor number> 0/1 to control display of sensor data in web GUI (#6085)
  • Add command ZigbeeRead (#6095)
  • Add define USE_DEEPSLEEP and command DeepSleepTime 0 or 10..86400 (seconds) to enter deepsleep mode (#6638)
  • Add define USE_ENERGY_MARGIN_DETECTION to disable Energy Margin and Power Limit detection
  • Add define USE_ENERGY_POWER_LIMIT to disable Energy Power Limit detection while Energy Margin detection is active
  • Add define USE_SONOFF_RF to enable/disable Sonoff Rf support (#6648)
  • Add define USE_WS2812_HARDWARE to select hardware type WS2812, WS2812X, WS2813, SK6812, LC8812 or APA106 (DMA mode only)
  • Add incremental beeps to Ifan03 remote control fan speed buttons (#6636)
  • Add rule support after every command execution like Fanspeed#Data=2 (#6636)
  • Add WebUI for multiple, independent PWM channels
  • Add JSON array index support to rules evaluation allowing trigger on ENERGY#POWER[2]>0.60 from JSON ..,"Power":[0.00,0.68],.. (#6160)
  • Add Full support of all protocols in IRremoteESP8266, to be used on dedicated-IR Tasmota version. Warning: +81k Flash when compiling with USE_IR_REMOTE_FULL
  • Add 'sonoff-ir' pre-packaged IR-dedicated firmware and 'sonoff-ircustom' to customize firmware with IR Full protocol support
  • Add Tuya Energy monitoring by Shantur Rathore
  • Add Domoticz P1 Smart Meter support using energy sensors handled by xdrv_03_energy.ino based on an idea by pablozg
  • Add debug compile features using defines DEBUG_TASMOTA_CORE, DEBUG_TASMOTA_DRIVER and DEBUG_TASMOTA_SENSOR.
    See DEBUG_CORE_LOG example in sonoff.ino and DEBUG_DRIVER_LOG example in xdrv_09_timers.ino
  • Add option 0 to Width1 (Marker), Width2 (Second), Width3 (Minute) and Width4 (Hour) disabling display (#6152)
  • Add MqttCount metric to STATE (#6155)
  • Add allow repeat/longpress for IRSend raw, introduced IRSend<r> option (#6074)
  • Add Oled reset GPIO option "OLED reset"
  • Add blend RGB leds with White leds for better whites (#5895, #5704)
  • Add AZ7798 automatic setting of clock display (#6034)
  • Add Epoch and UptimeSec to JSON messages (#6068)
Assets 30

@arendst arendst released this Jul 6, 2019 · 3890 commits to master since this release

Logo

RELEASE NOTES

Migration Information

See wiki migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x

Support of TLS

TLS support for core 2.3.0 is removed.

TLS is supported on core 2.4.2 and up. To save resources when TLS is enabled mDNS needs to be disabled. In addition to TLS using fingerprints now also user supplied CA certs and AWS IoT is supported. See full documentation on https://github.com/arendst/Sonoff-Tasmota/wiki/AWS-IoT

Core version 2.3.0 vs 2.4.2 vs 2.5.2

This release is based on ESP8266/Arduino library core 2.3.0 as some people encountered wifi related issues on core 2.4.2 and 2.5.2. For others core 2.4.2 or 2.5.2 is working just fine. All version are available from http://thehackbox.org/tasmota/release/

Change in default initial configuration tool

Firmware binary sonoff-classic.bin supports WifiManager, Wps and SmartConfig for initial configuration. The default tool is Wps.

To save memory space all other binaries support WifiManager only.

Supported Modules

The following hardware modules are supported.

Module Description
01 Sonoff Basic Sonoff Basic Wifi Smart Switch
02 Sonoff RF Sonoff RF Wifi Smart Switch with RF (434MHz) receiver
03 Sonoff SV Sonoff SV Safe Voltage Wifi Smart Switch
04 Sonoff TH Sonoff TH10/TH16 Wifi Smart Switch with Sensor connection
05 Sonoff Dual Sonoff Dual Wifi Smart Switch
06 Sonoff Pow Sonoff Pow Wifi Smart Switch with Energy Monitoring
07 Sonoff 4CH Sonoff 4CH 4-gang Wifi Smart Switch
08 Sonoff S2X Sonoff S20/S26 Wifi Smart Socket
09 Slampher Sonoff Slampher Wifi Smart Light Bulb Socket with RF (434MHz) receiver
10 Sonoff Touch Sonoff Touch Wifi Light Switch
11 Sonoff LED Sonoff Led Wifi Led Pack (Retired)
12 1 Channel 1 Channel Inching/Self Locking Wifi Switch 5V/12V
13 4 Channel 4 Channel Inching/Self Locking Wifi Switch (Retired)
14 Motor C/AC Motor Clockwise/Antoclockwise Wifi Switch (Retired)
15 ElectroDragon Electrodragon Wifi IoT Board
16 EXS Relay(s) Electronic Experience Store 1 or 2-gang Wifi Module
17 WiOn WiOn Wifi Smart Socket
18 Generic Any ESP8266/ESP8285 device like WeMos and NodeMCU
19 Sonoff Dev Sonoff Dev Wifi Development Board
20 H801 H801 Wifi RGBWW Led Controller
21 Sonoff SC Sonoff SC Wifi Environmental Monitor
22 Sonoff BN-SZ Sonoff BN-SZ01 Wifi Ceiling Led (Retired)
23 Sonoff 4CH Pro Sonoff 4CH Pro 4-gang Wifi Smart Switch
24 Huafan SS HuaFan Wifi Smart Socket
25 Sonoff Bridge Sonoff RF (434MHz) transceive to Wifi Bridge
26 Sonoff B1 Sonoff B1 Wifi RGBWW Led Bulb
27 AiLight Ai-Thinker RGBW Led Bulb
28 Sonoff T1 1CH Sonoff T1 1-gang Wifi Light Switch
29 Sonoff T1 2CH Sonoff T1 2-gang Wifi Light Switch
30 Sonoff T1 3CH Sonoff T1 3-gang Wifi Light Switch
31 Supla Espablo 2-gang Wifi Module
32 Witty Cloud Witty Cloud ESP8266 Wifi Development Board
33 Yunshan Relay ESP8266 Wifi Network Relay Module
34 MagicHome MagicHome, Flux-light and some Arilux LC10 RGB(W) Led Controller
35 Luani HVIO Luani ESP8266 Wifi I/O Module
36 KMC 70011 KMC Wifi Smart Socket with Energy Monitoring
37 Arilux LC01 Arilux AL-LC01 RGB Led Controller
38 Arilux LC11 Arilux AL-LC11 RGBWW Led Controller
39 Sonoff Dual R2 Sonoff Dual R2 Wifi Smart Switch
40 Arilux LC06 Arilux AL-LC06 RGB(WW) Led Controller
41 Sonoff S31 Sonoff S31 Wifi Smart Socket with Energy Monitoring
42 Zengge WF017 Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam Neo Coolcam Wifi Smart Socket
50 ESP Switch ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket OBI Wifi Smart Socket
52 Teckin Teckin SP22 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1 v23 Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
56 ARMTR Dimmer ARMtronix Wifi dimmer for Incandescent Lights and Led
57 SK03 Outdoor SK03 Outdoor Wifi Smart Switch with Energy Monitoring
58 PS-16-DZ PS-16-DZ Wifi dimmer for Incandescent Lights and Led
59 Teckin US Teckin SP20 and ZooZee SA102 Wifi Smart Switch with Energy Monitoring
60 Manzoku strip Manzoku Wifi Smart Power Strip with four Relays
61 OBI Socket 2 OBI 2 Wifi Smart Socket
62 YTF IR Bridge YTF Infra Red Wifi Bridge
63 Digoo DG-SP202 Digoo DG-SP202 Dual Wifi Smart Switch with Energy Monitoring
64 KA10 Smanergy KA10 Wifi Smart Wall Switch with Energy Monitoring
65 Luminea ZX2820 Luminea ZX2820 Wifi Smart Switch with Energy Monitoring
66 Mi Desk Lamp Mi Desk Lamp with rotary switch and Wifi
67 SP10 Tuya SP10 Wifi Smart Switch with Energy Monitoring
68 WAGA CHCZ02MB WAGA life CHCZ02MB Wifi Smart Switch with Energy Monitoring
69 SYF05 Sunyesmart SYF05 RGBWW Wifi Led Bulb
70 Sonoff L1 Sonoff L1 light strip

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.3.0.

  • sonoff.bin = The Sonoff version without Wps and SmartConfig configuration but adds more sensors. RECOMMENDED RELEASE BINARY
  • sonoff-basic.bin = The Basic version without Wps and SmartConfig configuration and most sensors.
  • sonoff-classic.bin = The Classic version allows initial installation using either WifiManager, Wps or SmartConfig.
  • sonoff-BG.bin to sonoff-TW.bin = The Sonoff version without Wps and SmartConfig configuration in different languages.
  • sonoff-knx.bin = The Knx version without Wps and SmartConfig configuration and some other features but adds KNX support.
  • sonoff-sensors.bin = The Sensors version without Wps and SmartConfig configuration but adds even more useful sensors.
  • sonoff-display.bin = The Display version without Wps and SmartConfig configuration and Energy Monitoring but adds display support.
  • sonoff-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

Core version 2.4.2 binaries can be found at http://thehackbox.org/tasmota/release/020402/

Core version 2.5.2 binaries can be found at http://thehackbox.org/tasmota/release/020502/

Available Features and Sensors

Feature or Sensor minimal basic classic sonoff knx sensors display Remarks
MY_LANGUAGE en-GB x x x x x x x
USE_WPS - - x - - - - WPS
USE_SMARTCONFIG - - x - - - - SmartConfig
USE_ARDUINO_OTA - - - - - - -
USE_DOMOTICZ - - x x x x -
USE_HOME_ASSISTANT - - - x x x -
USE_MQTT_TLS - - - - - - -
USE_MQTT_TLS_CA_CERT - - - - - - -
USE_MQTT_AWS_IOT - - - - - - -
USE_KNX - - - - x - -
USE_WEBSERVER x x x x x x x WifiManager
USE_EMULATION_HUE - x x x - x -
USE_EMULATION_WEMO - x x x - x -
USE_DISCOVERY - - x x x x x
WEBSERVER_ADVERTISE - - x x x x x
MQTT_HOST_DISCOVERY - - x x x x x
USE_TIMERS - x - x x x x
USE_TIMERS_WEB - x - x x x x
USE_SUNRISE - x - x x x x
USE_RULES - x - x x x x
USE_SCRIPT - - - - - - -
USE_EXPRESSION - - - - - - -
USE_ADC_VCC x x x - - - -
USE_COUNTER - - - x x x x
USE_DS18B20 - - - - - - - Single sensor
USE_DS18x20 - - x x x x x Multiple sensors
USE_DS18x20_LEGACY - - - - - - - Multiple sensors
USE_DHT - - x x x x x
Feature or Sensor minimal basic classic sonoff knx sensors display Remarks
USE_I2C - - - x x x x
USE_SHT - - - x x x x
USE_HTU - - - x x x x
USE_BMP - - - x x x x
USE_BME680 - - - - - x -
USE_BH1750 - - - x x x x
USE_VEML6070 - - - - - x -
USE_ADS1115 - - - - - x -
USE_ADS1115_I2CDEV - - - - - - -
USE_INA219 - - - - - x -
USE_SHT3X - - - x x x x
USE_TSL2561 - - - - - x -
USE_MGS - - - - - x -
USE_SGP30 - - - x x x x
USE_SI1145 - - - - - - -
USE_LM75AD - - - x x x x
USE_APDS9960 - - - - - - -
USE_MCP230xx - - - - - - -
USE_PCA9685 - - - - - - -
USE_MPR121 - - - - - - -
USE_CCS811 - - - - - - -
USE_MPU6050 - - - - - - -
USE_DS3231 - - - - - - -
USE_MGC3130 - - - - - - -
USE_MAX44009 - - - - - - -
USE_SCD30 - - - - - x -
USE_SPS30 - - - - - - -
USE_ADE7953 - - - x x x x
USE_VL53L0X - - - - - - -
USE_MLX90614 - - - - - - -
Feature or Sensor minimal basic classic sonoff knx sensors display Remarks
USE_SPI - - - - - - x
USE_MHZ19 - - - x x x x
USE_SENSEAIR - - - x x x x
USE_PMS5003 - - - x x x x
USE_NOVA_SDS - - - x x x x
USE_ENERGY_SENSOR - x x x x x -
USE_PZEM004T - - - x x x -
USE_PZEM_AC - - - x x x -
USE_PZEM_DC - - - x x x -
USE_MCP39F501 - x - x x x -
USE_SERIAL_BRIDGE - - - x x x x
USE_SDM120 - - - - - x -
USE_SDM630 - - - - - x -
USE_MP3_PLAYER - - - - - x -
USE_TUYA_DIMMER - x - x x x x
USE_ARMTRONIX_DIMMERS - x - x x x x
USE_PS_16_DZ - x - x x x x
USE_AZ7798 - - - - - - -
USE_PN532_HSU - - - - - x -
USE_IR_REMOTE - - - x x x x
USE_IR_HVAC - - - - - x -
USE_IR_RECEIVE - - - x x x x
USE_WS2812 - - x x x x x
USE_WS2812_DMA - - - - - - -
USE_ARILUX_RF - - - x x x -
USE_SR04 - - - x x x x
USE_TM1638 - - - - - x -
USE_HX711 - - - x x x x
USE_RF_FLASH - - - x x x -
USE_TX20_WIND_SENSOR - - - x x x x
USE_RC_SWITCH - - - x x x x
USE_RF_SENSOR - - - - - x - AlectoV2 only
USE_SM16716 - x x x x x x
USE_HRE - - - - - x -
USE_DISPLAY - - - - - - x
USE_DISPLAY_LCD - - - - - - x
USE_DISPLAY_SSD1306 - - - - - - x
USE_DISPLAY_MATRIX - - - - - - x
USE_DISPLAY_ILI9341 - - - - - - x
USE_DISPLAY_EPAPER_29 - - - - - - x Disabled for core 2.3.0

Changelog

Version 6.6.0 20190707

  • Remove support of TLS on core 2.3.0 and extent support on core 2.4.2 and up
  • Remove MQTT uptime message every hour
  • Refactor some defines to const
  • Refactor webserver HTML input, button, textarea, and select name based on id
  • Refactor webserver sensor data collection
  • Refactor TLS based on BearSSL, warning breaking change for fingerprints validation
  • Refactor management of lights, using classes and integers instead of floats
  • Refactor UDP initial message handling from string to char using static memory and add debug info (#5505)
  • Refactor IRsend and receive for 64-bit support (#5523)
  • Refactor MQTT which might solve issue (#5755)
  • Refactor IRSend by using heap when more than 199 values need to be send. May need increase of define MQTT_MAX_PACKET_SIZE too (#5950)
  • Refactor double to float in rules, and replaced trigonometric functions from stdlib with smaller versions (#6005)
  • Change pubsubclient MQTT_KEEPALIVE from 10 to 30 seconds for AWS IoT support
  • Change gamma correction as default behavior, ie "Ledtable 1"
  • Change PWM resolution from 8 to 10 bits for low brightness lights
  • Change IRSend Panasonic protocol to 64-bit (#5523)
  • Change ADC0 to enabled by default in my_user_config.h (#5671)
  • Change define USE_EMULATION by USE_EMULATION_HUE and USE_EMULATION_WEMO (#5826)
  • Change default PowerDelta from 80% to 0% on new installations (#5858, #5028, #4813, #4130, #4145, #3795, #3778, #3660, #3648)
  • Fix display Bug in KNX webmenu for Physical Address
  • Fix the Unescape() function and the SendSerial3 behaviour
  • Fix webserver multiple Javascript window.onload functionality
  • Fix TasmotaSerial at 9600 bps solving DFPlayer comms (#5528)
  • Fix Configure Timer Web GUI (#5568)
  • Fix Shelly 2.5 I2C address priority issue when VEML6070 code is present by disabling VEML6070 for Shelly 2.5 (#5592)
  • Fix use of SerialDelimiter value 128 (#5634)
  • Fix Sonoff Pow R2 / S31 invalid energy increments (#5789)
  • Fix core 2.5.x ISR not in IRAM exception (#5837)
  • Fix Philips Hue emulation Alexa issue by using part of MAC address for LightId (#5849)
  • Fix missing white channel for WS2812 (#5869)
  • Fix PZem startup issue (#5875)
  • Fix exception 9 when syslog is enabled and NTP is just synced (#5917)
  • Fix Toggle functionality to button double press when one button and two devices are detected (#5935)
  • Fix command Channel for dual dimmers (#5940)
  • Fix not restoring white value on power off/power on (#5993)
  • Add command AdcParam to control ADC0 Temperature and Light formula parameters
  • Add command LedMask to assign which relay has access to power LED (#5602, #5612)
  • Add extended LED power control using command LedPowerX where X is 1 to 4. Enabled when "LedLink(i)" is configured too (#5709)
  • Add command Sensor20 1..255 to change Nova Fitness SDS01 working period in minutes (#5452)
  • Add command SetOption38 6..255 to set IRReceive protocol detection sensitivity mimizing UNKNOWN protocols (#5853)
  • Add command SetOption39 1..255 to control CSE7766 (Pow R2) or HLW8032 (Blitzwolf SHP5) handling of power loads below 6W. Default setting is 128 (#5756)
  • Add command SetOption40 0..250 to disable button functionality if activated for over 0.1 second. Needs SetOption1 1 and SetOption13 0 (#5449)
  • Add command SetOption63 0/1 to disable relay state feedback scan at restart (#5594, #5663)
  • Add command SetOption64 0/1 to switch between "-" or "_" as sensor index separator impacting DS18X20, DHT, BMP and SHT3X sensor names (#5689)
  • Add command SetOption65 0/1 and more Tuya Serial based device support (#5815)
  • Add command WebColor to change GUI colors on the fly
  • Add support for AWS IoT with TLS 1.2 on core 2.4.2 and up. Full doc here: https://github.com/arendst/Sonoff-Tasmota/wiki/AWS-IoT
  • Add support for Badger HR-E Water Meter (#5539)
  • Add support for Shelly 2.5 Energy and overtemp Monitoring (#5592)
  • Add support for color and colortone for Philips Hue emulation via Alexa (#5600 #4809)
  • Add support for Scripts as replacement for Rules. Default disabled but can be enabled in my_user_config.h (#5689)
  • Add support for up to four LEDs related to four power outputs. Enabled when "LedLink(i)" is configured too (#5709)
  • Add support for Shelly 1PM Template {"NAME":"Shelly 1PM","GPIO":[56,0,0,0,82,134,0,0,0,0,0,21,0],"FLAG":2,"BASE":18} (#5716)
  • Add support for SPS30 Particle sensor thanks to Gerhard Mutz (#5830)
  • Add support for VL53L0x time of flight sensor. Might interfere with TSL2561 using same I2C address (#5845)
  • Add support for Sonoff L1 thanks to reef-actor (#6002)
  • Add rule Http#Initialized
  • Add rule System#Save executed just before a planned restart
  • Add rule support for single JSON value pair like {"SSerialReceived":"on"} by expanding it to {"SSerialReceived":{"Data":"on"}} allowing for trigger SSerialReceived#Data=on (#5638)
  • Add define USE_COUNTER to my_user_config.h to save space in sonoff-basic.bin and sonoff-minimal.bin
  • Add define USE_DHT to my_user_config.h to save space in sonoff-basic.bin
  • Add defines USE_EMULATION_WEMO and USE_EMULATION_HUE to my_user_config.h to control emulation features at compile time (#5826)
  • Add Toggle functionality to button double press when more devices are detected
  • Add device OverTemp (>73 Celsius) detection to Energy Monitoring devices with temperature sensor powering off all outputs
  • Add Tuya Dimmer 10 second heartbeat serial packet required by some Tuya dimmer secondary MCUs
  • Add all temperature, humidity and pressure for global access
  • Add validation check when loading settings from flash
  • Add HX711 weight restore after controlled restart or after power restore just before executing command Sensor34 7 (#5367, #5786)
  • Add GUI hexadecimal color options in my_user_config.h (#5586)
  • Add alternative IRSend command syntax IRSend raw,<freq>,<header mark>,<header space>,<bit mark>,<zero space>,<one space>,<bit stream> (#5610)
  • Add user configurable ADC0 to Module and Template configuration compatible with current FLAG options (#5671)
  • Add AriLux RF control GPIO option "ALux IrSel" (159) replacing "Led4i" (59) for full LED control (#5709)
  • Add LED GPIO option "LedLink" (157) and "LedLinki" (158) to select dedicated link status LED (#5709)
  • Add all 5 PWM channels individually adressable with LEDs. (#5741)
  • Add reset of Energy values when connection to sensor is lost for over 4 seconds (#5874, #5881)
  • Add checkbox to GUI password field enabling visibility during password entry only (#5934)
Assets 30

@arendst arendst released this Mar 19, 2019 · 3906 commits to master since this release

Migration Information

See wiki migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x

Release notes

Core version 2.3.0 vs 2.4.2

This release is based on ESP8266/Arduino library core 2.3.0 (again) as some people encountered wifi related issues on core 2.4.2. For others core 2.4.2 is working just fine. Both version are available from http://thehackbox.org/tasmota/release/

Change in default initial configuration tool

Firmware binary sonoff-classic.bin supports WifiManager, Wps and SmartConfig for initial configuration. The default tool is Wps.

To save memory space all other binaries support WifiManager only.

Supported Modules

The following hardware modules are supported.

Module Description
01 Sonoff Basic Sonoff Basic Wifi Smart Switch
02 Sonoff RF Sonoff RF Wifi Smart Switch with RF (434MHz) receiver
03 Sonoff SV Sonoff SV Safe Voltage Wifi Smart Switch
04 Sonoff TH Sonoff TH10/TH16 Wifi Smart Switch with Sensor connection
05 Sonoff Dual Sonoff Dual Wifi Smart Switch
06 Sonoff Pow Sonoff Pow Wifi Smart Switch with Energy Monitoring
07 Sonoff 4CH Sonoff 4CH 4-gang Wifi Smart Switch
08 Sonoff S2X Sonoff S20/S26 Wifi Smart Socket
09 Slampher Sonoff Slampher Wifi Smart Light Bulb Socket with RF (434MHz) receiver
10 Sonoff Touch Sonoff Touch Wifi Light Switch
11 Sonoff LED Sonoff Led Wifi Led Pack (Retired)
12 1 Channel 1 Channel Inching/Self Locking Wifi Switch 5V/12V
13 4 Channel 4 Channel Inching/Self Locking Wifi Switch (Retired)
14 Motor C/AC Motor Clockwise/Antoclockwise Wifi Switch (Retired)
15 ElectroDragon Electrodragon Wifi IoT Board
16 EXS Relay(s) Electronic Experience Store 1 or 2-gang Wifi Module
17 WiOn WiOn Wifi Smart Socket
18 Generic Any ESP8266/ESP8285 device like WeMos and NodeMCU
19 Sonoff Dev Sonoff Dev Wifi Development Board
20 H801 H801 Wifi RGBWW Led Controller
21 Sonoff SC Sonoff SC Wifi Environmental Monitor
22 Sonoff BN-SZ Sonoff BN-SZ01 Wifi Ceiling Led (Retired)
23 Sonoff 4CH Pro Sonoff 4CH Pro 4-gang Wifi Smart Switch
24 Huafan SS HuaFan Wifi Smart Socket
25 Sonoff Bridge Sonoff RF (434MHz) transceive to Wifi Bridge
26 Sonoff B1 Sonoff B1 Wifi RGBWW Led Bulb
27 AiLight Ai-Thinker RGBW Led Bulb
28 Sonoff T1 1CH Sonoff T1 1-gang Wifi Light Switch
29 Sonoff T1 2CH Sonoff T1 2-gang Wifi Light Switch
30 Sonoff T1 3CH Sonoff T1 3-gang Wifi Light Switch
31 Supla Espablo 2-gang Wifi Module
32 Witty Cloud Witty Cloud ESP8266 Wifi Development Board
33 Yunshan Relay ESP8266 Wifi Network Relay Module
34 MagicHome MagicHome, Flux-light and some Arilux LC10 RGB(W) Led Controller
35 Luani HVIO Luani ESP8266 Wifi I/O Module
36 KMC 70011 KMC Wifi Smart Socket with Energy Monitoring
37 Arilux LC01 Arilux AL-LC01 RGB Led Controller
38 Arilux LC11 Arilux AL-LC11 RGBWW Led Controller
39 Sonoff Dual R2 Sonoff Dual R2 Wifi Smart Switch
40 Arilux LC06 Arilux AL-LC06 RGB(WW) Led Controller
41 Sonoff S31 Sonoff S31 Wifi Smart Socket with Energy Monitoring
42 Zengge WF017 Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam Neo Coolcam Wifi Smart Socket
50 ESP Switch ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket OBI Wifi Smart Socket
52 Teckin Teckin SP20 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1 v23 Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
56 ARMTR Dimmer ARMtronix Wifi dimmer for Incandescent Lights and Led
57 SK03 Outdoor SK03 Outdoor Wifi Smart Switch with Energy Monitoring
58 PS-16-DZ PS-16-DZ Wifi dimmer for Incandescent Lights and Led
59 Teckin US Teckin US and ZooZee SA102 Wifi Smart Switch with Energy Monitoring
60 Manzoku strip Manzoku Wifi Smart Power Strip with four Relays
61 OBI Socket 2 OBI 2 Wifi Smart Socket
62 YTF IR Bridge YTF Infra Red Wifi Bridge
63 Digoo DG-SP202 Digoo DG-SP202 Dual Wifi Smart Switch with Energy Monitoring
64 KA10 Smanergy KA10 Wifi Smart Wall Switch with Energy Monitoring
65 Luminea ZX2820 Luminea ZX2820 Wifi Smart Switch with Energy Monitoring
66 Mi Desk Lamp Mi Desk Lamp with rotary switch and Wifi
67 SP10 Tuya SP10 Wifi Smart Switch with Energy Monitoring
68 WAGA CHCZ02MB WAGA life CHCZ02MB Wifi Smart Switch with Energy Monitoring
69 SYF05 Sunyesmart SYF05 RGBWW Wifi Led Bulb

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.3.0.

  • sonoff.bin = The Sonoff version without Wps and SmartConfig configuration but adds more sensors. RECOMMENDED RELEASE BINARY
  • sonoff-basic.bin = The Basic version without Wps and SmartConfig configuration and most sensors.
  • sonoff-classic.bin = The Classic version allows initial installation using either WifiManager, Wps or SmartConfig.
  • sonoff-BG.bin to sonoff-TW.bin = The Sonoff version without Wps and SmartConfig configuration in different languages.
  • sonoff-knx.bin = The Knx version without Wps and SmartConfig configuration and some other features but adds KNX support.
  • sonoff-sensors.bin = The Sensors version without Wps and SmartConfig configuration but adds even more useful sensors.
  • sonoff-display.bin = The Display version without Wps and SmartConfig configuration and Energy Monitoring but adds display support.
  • sonoff-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.

Core version 2.4.2 binaries can be found at http://thehackbox.org/tasmota/release/020402/

Available Features and Sensors

Feature or Sensor minimal basic classic sonoff knx sensors display Remarks
MY_LANGUAGE en-GB x x x x x x x
USE_WPS - - x - - - - WPS
USE_SMARTCONFIG - - x - - - - SmartConfig
USE_ARDUINO_OTA - - - - - - -
USE_DOMOTICZ - - x x x x -
USE_HOME_ASSISTANT - - - x x x -
USE_MQTT_TLS - - - - - - -
USE_KNX - - - - x - -
USE_WEBSERVER x x x x x x x WifiManager
USE_EMULATION - x x x - x -
USE_DISCOVERY - - x x x x x
WEBSERVER_ADVERTISE - - x x x x x
MQTT_HOST_DISCOVERY - - x x x x x
USE_TIMERS - x - x x x x
USE_TIMERS_WEB - x - x x x x
USE_SUNRISE - x - x x x x
USE_RULES - x - x x x x
USE_EXPRESSION - - - - - - -
USE_ADC_VCC x x x x x - x
USE_DS18B20 - - - - - - - Single sensor
USE_DS18x20 - - x x x x x Multiple sensors
USE_DS18x20_LEGACY - - - - - - - Multiple sensors
Feature or Sensor minimal basic classic sonoff knx sensors display Remarks
USE_I2C - - - x x x x
USE_SHT - - - x x x x
USE_HTU - - - x x x x
USE_BMP - - - x x x x
USE_BME680 - - - - - x -
USE_BH1750 - - - x x x x
USE_VEML6070 - - - - - x -
USE_ADS1115 - - - - - x -
USE_ADS1115_I2CDEV - - - - - - -
USE_INA219 - - - - - x -
USE_SHT3X - - - x x x x
USE_TSL2561 - - - - - x -
USE_MGS - - - - - x -
USE_SGP30 - - - x x x x
USE_SI1145 - - - - - - -
USE_LM75AD - - - x x x x
USE_APDS9960 - - - - - - -
USE_MCP230xx - - - - - - -
USE_PCA9685 - - - - - - -
USE_MPR121 - - - - - - -
USE_CCS811 - - - - - - -
USE_MPU6050 - - - - - - -
USE_DS3231 - - - - - - -
USE_MGC3130 - - - - - - -
USE_MAX44009 - - - - - - -
USE_SCD30 - - - - - x -
Feature or Sensor minimal basic classic sonoff knx sensors display Remarks
USE_SPI - - - - - - x
USE_MHZ19 - - - x x x x
USE_SENSEAIR - - - x x x x
USE_PMS5003 - - - x x x x
USE_NOVA_SDS - - - x x x x
USE_ENERGY_SENSOR - x x x x x -
USE_PZEM004T - - - x x x -
USE_PZEM_AC - - - x x x -
USE_PZEM_DC - - - x x x -
USE_MCP39F501 - x - x x x -
USE_SERIAL_BRIDGE - - - x x x x
USE_SDM120 - - - - - x -
USE_SDM630 - - - - - x -
USE_MP3_PLAYER - - - - - x -
USE_TUYA_DIMMER - x - x x x x
USE_ARMTRONIX_DIMMERS - x - x x x x
USE_PS_16_DZ - x - x x x x
USE_AZ7798 - - - - - - -
USE_PN532_HSU - - - - - x -
USE_IR_REMOTE - - - x x x x
USE_IR_HVAC - - - - - x -
USE_IR_RECEIVE - - - x x x x
USE_WS2812 - - x x x x x
USE_WS2812_DMA - - - - - - -
USE_ARILUX_RF - - - x x x -
USE_SR04 - - - x x x x
USE_TM1638 - - - - - x -
USE_HX711 - - - x x x x
USE_RF_FLASH - - - x x x -
USE_TX20_WIND_SENSOR - - - x x x x
USE_RC_SWITCH - - - x x x x
USE_RF_SENSOR - - - - - x - AlectoV2 only
USE_SM16716 - x x x x x x
USE_DISPLAY - - - - - - x
USE_DISPLAY_LCD - - - - - - x
USE_DISPLAY_SSD1306 - - - - - - x
USE_DISPLAY_MATRIX - - - - - - x
USE_DISPLAY_ILI9341 - - - - - - x
USE_DISPLAY_EPAPER_29 - - - - - - x Disabled for core 2.3.0

Changelog

Version 6.5.0 20190319

  • Remove commands SetOption14 and SetOption63 as it has been superseded by command Interlock
  • Remove command SetOption35 0-255 for mDNS start-up delay (#4793)
  • Remove support for MQTT_LIBRARY_TYPE, MQTT_ARDUINOMQTT and MQTT_TASMOTAMQTT (#5474)
  • Change webserver content handling from single String to small Chunks increasing RAM
  • Change code use of boolean to bool and byte to uint8_t
  • Change code uint8_t flags to bool flags
  • Change sonoff_template.h layout regarding optional module flags like ADC0
  • Change sonoff_template.h module lay-out by removing non-configurable GPIOs
  • Change button driver making it modular
  • Change switch driver making it modular and introduce input filter (#4665, #4724)
  • Change switch input detection by optimizing switch debounce (#4724)
  • Change web authentication (#4865)
  • Change image name BE_MINIMAL to FIRMWARE_MINIMAL and USE_xyz to FIRMWARE_xyz (#5106)
  • Change GUI weblog from XML to plain text solving possible empty screens (#5154)
  • Fix most compiler warnings
  • Fix Display exception 28 when JSON value is NULL received
  • Fix epaper driver (#4785)
  • Fix HAss Sensor Discovery Software Watchdog restart (#4831, #4988)
  • Fix allowable MAX_RULE_VARS to 16 (#4933)
  • Fix mDNS addService (#4938, #4951)
  • Fix HAss discovery of MHZ19(B) sensors (#4992)
  • Fix some exceptions and watchdogs due to lack of stack space (#5215)
  • Fix GUI wifi password acception starting with asteriks (*) (#5231, #5242)
  • Fix command WebSend intermittent results (#5273, #5304)
  • Fix additional characters in fallbacktopic, hostname and mqttclient on core 2.5.0 (#5359, #5417)
  • Fix Energy TotalStartTime when commands EnergyReset0 and/or EnergyReset3 used (#5373)
  • Fix DS18S20 temperature calculation (#5375)
  • Fix float calculations in range from 0 to -1 (#5386)
  • Fix exception on GUI Configure Logging and Configure Other (#5424)
  • Add commands PowerCal, VoltageCal and CurrentCal for HLW8012, HJL01 and BL0937 based energy sensors
  • Add command SerialDelimiter 128 to filter reception of only characters between ASCII 32 and 127 (#5131)
  • Add command SSerialSend5 <hexdata> to SerialBridge
  • Add command Interlock 0 / 1 / 1,2 3,4 .. to control interlock ON/OFF and add up to 8 relays in 1 to 4 interlock groups (#4910, #5014)
  • Add command Template 255 to copy module configuration over to current active template and store as user template named Merged (#5371)
  • Add command WifiConfig 7 to allow reset of device in AP mode without admin password (#5297)
  • Add command SetOption36 to control boot loop default restoration (#4645, #5063)
  • Add command SetOption37 for RGBCW color mapping (#5326)
  • Add command SetOption55 0/1 and define MDNS_ENABLE to disable/enable mDNS (#4793, #4923)
  • Add command SetOption62 0/1 to disable retain on Button or Switch hold messages (#5299)
  • Add support for Smanergy KA10 Smart Wall Socket with Energy monitoring
  • Add support for commands in sensor drivers
  • Add support for MAX31855 K-Type thermocouple sensor using softSPI (#4764)
  • Add support for Near Field Communication (NFC) controller PN532 using Serial (#4791, #5162)
  • Add support for OBI Power Socket 2 (#4829)
  • Add support for YTF IR Bridge (#4855)
  • Add support for Mi LED Desk Lamp with rotary switch (#4887)
  • Add support for Digoo DG-SP202 Smart Socket with Energy monitoring (#4891)
  • Add support for MAX44009 Ambient Light sensor (#4907)
  • Add support for inverted buttons and inverted buttons without pullup (#4914)
  • Add support for Luminea ZX2820 Smart Socket with Energy monitoring (#4921)
  • Add support for multiple ADS1115 I2C devices (#5083)
  • Add support for online template change using command Template or GUI Configure Other (#5177)
  • Add support for Korean language translations (#5344)
  • Add support for sensor SCD30 (#5434)
  • Add parameter CFG_HOLDER to status 1 message (#5206)
  • Add SetOption32 until SetOption49 diagnostic information to Status 3 report as replacement for second property value in SetOption property name
  • Add Resolution property to Status 3 report providing previous SetOption second value property
  • Add property MqttCount to status 6 message representing number of Mqtt re-connections
  • Add property LinkCount to state and status 11 message representing number of Wifi Link re-connections
  • Add property Downtime to state and status 11 message representing the duration of wifi connection loss
  • Add variable %timestamp% to rules (#4749)
  • Add rule support for "==", "!=" ">=" and "<=" (#5122)
  • Add rule expression enabled by define USE_EXPRESSION in my_user_config.h (#5210)
  • Add Power status functionality to LED2 when configured leaving LED1 for Link status indication
  • Add user configuration of HLW8012 and HJL-01/BL0937 Energy Monitoring as used in Sonoff Pow and many Tuya based devices
  • Add user configuration of MCP39F501 Energy Monitoring as used in Shelly2
  • Add online template configuration using both commands and Configure Template menu option in GUI
  • Add (S)SerialSend3 escape sequence \x to allow hexadecimal byte value (#3560, #4947)
  • Add define DS18B20_INTERNAL_PULLUP to select internal input pullup when only one DS18B20 sensor is connected eliminating external resistor (#4738)
  • Add button control when no relay configured (#4682)
  • Add startup delay of 4 seconds to button control (#4829)
  • Add core version conditional compile options to provided PWM files (#4917)
  • Add resiliency to saved Settings (#5065)
  • Add MHZ19 Temperature as Domoticz Temperature selection (#5128)
  • Add HAss status sensor (#5139)
  • Add status message to former declined group commands (#5145)
  • Add 0x to IRRemote (SetOption29) and RCSwitch (SetOption28) received hexadecimal data (#5431)
Assets 30

@arendst arendst released this Dec 24, 2018 · 3925 commits to master since this release

Migration Information

See wiki migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x

Release notes

Change in default initial configuration tool

Firmware binary sonoff-classic.bin supports WifiManager, Wps and SmartConfig for initial configuration. The default tool is Wps.

To save memory space all other binaries support WifiManager only.

See _changelog.ino how to enable them again.

  • Define WIFI_CONFIG_TOOL now contains the default behaviour once a SSID has been configured.
  • If no SSID is configured making a wifi connection impossible the new define WIFI_CONFIG_NO_SSID will be used.
  • While define WIFI_CONFIG_NO_SSID is set to WIFI_WPSCONFIG in my_user_config.h the compiler will check for define USE_WPS and if not enabled WIFI_CONFIG_NO_SSID will default to WIFI_MANAGER using the webserver. If define USE_WEBSERVER is also not enabled WIFI_CONFIG_NO_SSID will default to WIFI_SMARTCONFIG. If define USE_SMARTCONFIG is also not enabled WIFI_CONFIG_NO_SSID will default to a new option WIFI_SERIAL allowing to enter wifi parameters to serial which is always possible.

Supported Modules

The following hardware modules are supported.

Module Description
01 Sonoff Basic Sonoff Basic Wifi Smart Switch
02 Sonoff RF Sonoff RF Wifi Smart Switch with RF (434MHz) receiver
03 Sonoff SV Sonoff SV Safe Voltage Wifi Smart Switch
04 Sonoff TH Sonoff TH10/TH16 Wifi Smart Switch with Sensor connection
05 Sonoff Dual Sonoff Dual Wifi Smart Switch
06 Sonoff Pow Sonoff Pow Wifi Smart Switch with Energy Monitoring
07 Sonoff 4CH Sonoff 4CH 4-gang Wifi Smart Switch
08 Sonoff S2X Sonoff S20/S26 Wifi Smart Socket
09 Slampher Sonoff Slampher Wifi Smart Light Bulb Socket with RF (434MHz) receiver
10 Sonoff Touch Sonoff Touch Wifi Light Switch
11 Sonoff LED Sonoff Led Wifi Led Pack (Retired)
12 1 Channel 1 Channel Inching/Self Locking Wifi Switch 5V/12V
13 4 Channel 4 Channel Inching/Self Locking Wifi Switch (Retired)
14 Motor C/AC Motor Clockwise/Antoclockwise Wifi Switch (Retired)
15 ElectroDragon Electrodragon Wifi IoT Board
16 EXS Relay(s) Electronic Experience Store 1 or 2-gang Wifi Module
17 WiOn WiOn Wifi Smart Socket
18 Generic Any ESP8266/ESP8285 device like WeMos and NodeMCU
19 Sonoff Dev Sonoff Dev Wifi Development Board
20 H801 H801 Wifi RGBWW Led Controller
21 Sonoff SC Sonoff SC Wifi Environmental Monitor
22 Sonoff BN-SZ Sonoff BN-SZ01 Wifi Ceiling Led (Retired)
23 Sonoff 4CH Pro Sonoff 4CH Pro 4-gang Wifi Smart Switch
24 Huafan SS HuaFan Wifi Smart Socket
25 Sonoff Bridge Sonoff RF (434MHz) transceive to Wifi Bridge
26 Sonoff B1 Sonoff B1 Wifi RGBWW Led Bulb
27 AiLight Ai-Thinker RGBW Led Bulb
28 Sonoff T1 1CH Sonoff T1 1-gang Wifi Light Switch
29 Sonoff T1 2CH Sonoff T1 2-gang Wifi Light Switch
30 Sonoff T1 3CH Sonoff T1 3-gang Wifi Light Switch
31 Supla Espablo 2-gang Wifi Module
32 Witty Cloud Witty Cloud ESP8266 Wifi Development Board
33 Yunshan Relay ESP8266 Wifi Network Relay Module
34 MagicHome MagicHome, Flux-light and some Arilux LC10 RGB(W) Led Controller
35 Luani HVIO Luani ESP8266 Wifi I/O Module
36 KMC 70011 KMC Wifi Smart Socket with Energy Monitoring
37 Arilux LC01 Arilux AL-LC01 RGB Led Controller
38 Arilux LC11 Arilux AL-LC11 RGBWW Led Controller
39 Sonoff Dual R2 Sonoff Dual R2 Wifi Smart Switch
40 Arilux LC06 Arilux AL-LC06 RGB(WW) Led Controller
41 Sonoff S31 Sonoff S31 Wifi Smart Socket with Energy Monitoring
42 Zengge WF017 Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam Neo Coolcam Wifi Smart Socket
50 ESP Switch ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket OBI Wifi Smart Socket
52 Teckin Teckin SP20 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1 v23 Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
56 ARMTR Dimmer ARMtronix Wifi dimmer for Incandescent Lights and Led
57 SK03 Outdoor SK03 Outdoor Wifi Smart Switch with Energy Monitoring
58 PS-16-DZ PS-16-DZ Wifi dimmer for Incandescent Lights and Led
59 Teckin US Teckin US and ZooZee SA102 Wifi Smart Switch with Energy Monitoring
60 Manzoku strip Manzoku Wifi Smart Power Strip with four Relays

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.4.2 patched with the Alexa fix.

  • sonoff-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.
  • sonoff-classic.bin = The Classic version allows initial installation using either WifiManager, Wps or SmartConfig.
  • sonoff.bin = The Sonoff version without Wps and SmartConfig configuration but adds more sensors.
  • sonoff-BG.bin to sonoff-TW.bin = The Sonoff version without Wps and SmartConfig configuration in different languages.
  • sonoff-sensors.bin = The Sensors version without Wps and SmartConfig configuration but adds even more useful sensors.
  • sonoff-display.bin = The Display version without Wps and SmartConfig configuration but adds display support.
  • sonoff-knx.bin = The Knx version without Wps and SmartConfig configuration and some other features but adds KNX support.

Available Features and Sensors

Feature or Sensor minimal basic classic sonoff knx sensors Remarks
ESP/Arduino lib v2.3.0 346k 429k 482k 504k 522k 535k
ESP/Arduino lib v2.4.2 366k 446k 496k 522k 538k 551k No wifi sleep
MY_LANGUAGE en-GB x x x x x x
MQTT_LIBRARY_TYPE PUBSUBCLIENT x x x x x x
USE_WPS - - x - - - WPS
USE_SMARTCONFIG - - x - - - SmartConfig
USE_ARDUINO_OTA - - - - - -
USE_DOMOTICZ - - x x x x
USE_HOME_ASSISTANT - - - x x x
USE_MQTT_TLS - - - - - -
USE_KNX - - - - x -
USE_WEBSERVER x x x x x x WifiManager
USE_EMULATION - x x x - x
USE_DISCOVERY - - x x x x
WEBSERVER_ADVERTISE - - x x x x
MQTT_HOST_DISCOVERY - - x x x x
USE_TIMERS - x - x x x
USE_TIMERS_WEB - x - x x x
USE_SUNRISE - x - x x x
USE_RULES - x - x x x
USE_ADC_VCC x x x x x -
USE_DS18B20 - - - - - - Single sensor
USE_DS18x20 - - x x x x Multiple sensors
USE_DS18x20_LEGACY - - - - - - Multiple sensors
Feature or Sensor minimal basic classic sonoff knx sensors
USE_I2C - - - x x x
USE_SHT - - - x x x
USE_HTU - - - x x x
USE_BMP - - - x x x
USE_BME680 - - - - - x
USE_BH1750 - - - x x x
USE_VEML6070 - - - - - x
USE_ADS1115 - - - - - x
USE_ADS1115_I2CDEV - - - - - -
USE_INA219 - - - - - x
USE_SHT3X - - - x x x
USE_TSL2561 - - - - - x
USE_MGS - - - - - x
USE_SGP30 - - - x x x
USE_SI1145 - - - - - x
USE_LM75AD - - - x x x
USE_APDS9960 - - - - - -
USE_MCP230xx - - - - - -
USE_PCA9685 - - - - - -
USE_MPR121 - - - - - -
USE_CCS811 - - - - - -
USE_MPU6050 - - - - - -
USE_DS3231 - - - - - -
USE_MGC3130 - - - - - -
Feature or Sensor minimal basic classic sonoff knx sensors
USE_SPI - - - - - -
USE_MHZ19 - - - x x x
USE_SENSEAIR - - - x x x
USE_PMS5003 - - - x x x
USE_NOVA_SDS - - - x x x
USE_PZEM004T - - - x x x
USE_PZEM_AC - - - x x x
USE_PZEM_DC - - - x x x
USE_MCP39F501 - x - x x x
USE_SERIAL_BRIDGE - - - x x x
USE_SDM120 - - - - - x
USE_SDM630 - - - - - x
USE_MP3_PLAYER - - - - - x
USE_TUYA_DIMMER - x - x x x
USE_ARMTRONIX_DIMMERS - x - x x x
USE_PS_16_DZ - x - x x x
USE_AZ7798 - - - - - -
USE_IR_REMOTE - - - x x x
USE_IR_HVAC - - - - - x
USE_IR_RECEIVE - - - x x x
USE_WS2812 - - x x x x
USE_WS2812_DMA - - - - - -
USE_ARILUX_RF - - - x x x
USE_SR04 - - - x x x
USE_TM1638 - - - - - x
USE_HX711 - - - x x x
USE_RF_FLASH - - - x x x
USE_TX20_WIND_SENSOR - - - x x x
USE_RC_SWITCH - - - x x x
USE_RF_SENSOR - - - - - x AlectoV2 only
USE_DISPLAY - - - - - -

Changelog

Version 6.4.1 20181225

  • Change RAM usage BMP/BME I2C sensors
  • Change FallbackTopic from cmnd/<mqttclient>/ to cmnd/<mqttclient>_fb/ to discriminate from Topic (#1528)
  • Change FallbackTopic detection (#4706)
  • Change Hass discovery to short MQTT messages as used by Hass 0.81 and up (#4711)
  • Change MQTT GUI password handling (#4723)
  • Fix possible dtostrf buffer overflows by increasing buffers
  • Fix wifi strongest signal detection (#4704)
  • Fix Alexa "this value is outside the range of the device". Needs power cycle and Alexa deletion/discovery cycle. (#3159, #4712)
  • Add Slovak language file (#4663)
  • Add support for AZ-Instrument 7798 CO2 meter/datalogger (#4672)
  • Add define WIFI_SOFT_AP_CHANNEL in my_user_config.h to set Soft Access Point Channel number between 1 and 13 as used by Wifi Manager web GUI (#4673)
  • Add define USE_MQTT_TLS_CA_CERT for checking MQTT TLS against root ca using Let's Encrypt cert from sonoff_letsencrypt.h - not supported with core 2.3.0 (#4703)

Version 6.4.0 20181217

  • Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%.
    In case of web page errors clear your browser cache or do Page Reload (F5 or Ctrl+R)
  • Change enforcing flashmode dout but it is still mandatory
  • Change bootcount update (being first) flash write to 10 seconds after restart
  • Change display and epaper drivers
  • Change command WebSend Host header field from IP address to hostname (#4331)
  • Change log buffer size from 512 to 520 to accommodate http sensor data (#4354)
  • Change default WIFI_CONFIG_TOOL from WIFI_WAIT to WIFI_RETRY in my_user_config.h (#4400)
  • Change webgui refresh time delay for Save Settings and local OTA Upload (#4423)
  • Change SR-04 driver to use NewPing library (#4488)
  • Change MCP230xx driver to support interrupt retention over teleperiod (#4547)
  • Change support for MPU6050 using DMP (#4581)
  • Fix unintended function overload of WifiState
  • Fix wifi connection errors using wifi disconnect and ESP.reset instead of ESP.restart
  • Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by Sonoff Basic R2 driver delay implementation (and possibly core bug)
  • Fix MQTT connection error after restart
  • Fix wifi re-scan connection baseline
  • Fix possible strncat buffer overflows
  • Fix intermittent Pzem sensor energy overflow calculation error
  • Fix shelly2 ghost switching caused by lack of pull-up inputs (#4255)
  • Fix hardware serial pin configuration. To keep using hardware serial swap current Rx/Tx pin configuration only (#4280)
  • Fix MqttRetry values above 255 seconds (#4424)
  • Fix WifiManager functionality on initial installation (#4433)
  • Fix ArduinoOTA for Core 2.5.0 (#4620)
  • Add minutes to commands Timezone to allow all possible world timezones
  • Add more strict checks for GPIO selections
  • Add code image and optional commit number to version
  • Add dynamic delay to main loop providing time for wifi background tasks
  • Add additional start-up delay during initial wifi connection
  • Add support for decoding Theo V2 sensors as documented on https://sidweb.nl using 434MHz RF sensor receiver
  • Add support for decoding Alecto V2 sensors like ACH2010, WS3000 and DKW2012 weather stations using 868MHz RF sensor receiver
  • Add user definition of defines WIFI_RSSI_THRESHOLD (default 10) and WIFI_RESCAN_MINUTES (default 44)
  • Add command SetOption58 0/1 to enable IR raw data info in JSON message (#2116)
  • Add command IRSend <frequency>|0,<rawdata1>,<rawdata2>,.. to allow raw data transmission (#2116)
  • Add command SetOption56 0/1 to enable wifi network scan and select highest RSSI (#3173)
  • Add command SetOption57 0/1 to enable wifi network re-scan every 44 minutes with a rssi threshold of 10 to select highest RSSI (#3173)
  • Add support for SDM220 (#3610)
  • Add default sleep 1 to sonoff-basic to lower energy consumption (#4217)
  • Add wifi status to Tuya (#4221)
  • Add delays to reduce CPU usage at boot time (#4233)
  • Add command SetOption24 0/1 to select pressure unit as hPa or mmHg (#4241)
  • Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
  • Add support for Gosund SP1 v2.3 Power Socket with Energy Monitoring (#4297)
  • Add support for Armtronix dimmers. See wiki for info (#4321)
  • Add to command WebSend option to send a direct path when command starts with a slash (#4329)
  • Add support for LG HVac and IrRemote (#4377)
  • Add initial support for Hass sensor discovery (#4380)
  • Add support for Fujitsu HVac and IrRemote (#4387)
  • Add support for I2C MGC3130 Electric Field Effect sensor by Christian Baars (#3774, #4404)
  • Add command CalcRes to set number of decimals (0 - 7) used in commands ADD, SUB, MULT and SCALE (#4420)
  • Add CPU average load to state message (#4431)
  • Add command SetOption59 0/1 to change state topic from tele/STATE to stat/RESULT (#4450)
  • Add support for SM Smart Wifi Dimmer PS-16-DZ (#4465)
  • Add support for Teckin US Power Socket with Energy Monitoring (#4481)
  • Add command SetOption60 0/1 to select dynamic sleep (0) or sleep (1) (#4497)
  • Add support for iFan02 Fanspeed in Domoticz using a selector (#4517)
  • Add support for GPIO02 for newer Sonoff Basic (#4518)
  • Add Announce Switches to MQTT Discovery (#4531)
  • Add support for Manzoku Power Strip (#4590)
Assets 29

@arendst arendst released this Dec 16, 2018 · 3929 commits to master since this release

Migration Information

See wiki migration path for instructions how to migrate to a major version. Pay attention to the following version breaks due to dynamic settings updates:

  1. Migrate to Sonoff-Tasmota 3.9.x
  2. Migrate to Sonoff-Tasmota 4.x
  3. Migrate to Sonoff-Tasmota 5.14
  4. Migrate to Sonoff-Tasmota 6.x

Release notes

Change in default initial configuration tool

Firmware binary sonoff-classic.bin supports WifiManager, Wps and SmartConfig for initial configuration. The default tool is Wps.

To save memory space all other binaries support WifiManager only.

See _changelog.ino how to enable them again.

  • Define WIFI_CONFIG_TOOL now contains the default behaviour once a SSID has been configured.
  • If no SSID is configured making a wifi connection impossible the new define WIFI_CONFIG_NO_SSID will be used.
  • While define WIFI_CONFIG_NO_SSID is set to WIFI_WPSCONFIG in my_user_config.h the compiler will check for define USE_WPS and if not enabled WIFI_CONFIG_NO_SSID will default to WIFI_MANAGER using the webserver. If define USE_WEBSERVER is also not enabled WIFI_CONFIG_NO_SSID will default to WIFI_SMARTCONFIG. If define USE_SMARTCONFIG is also not enabled WIFI_CONFIG_NO_SSID will default to a new option WIFI_SERIAL allowing to enter wifi parameters to serial which is always possible.

Supported Modules

The following hardware modules are supported.

Module Description
01 Sonoff Basic Sonoff Basic Wifi Smart Switch
02 Sonoff RF Sonoff RF Wifi Smart Switch with RF (434MHz) receiver
03 Sonoff SV Sonoff SV Safe Voltage Wifi Smart Switch
04 Sonoff TH Sonoff TH10/TH16 Wifi Smart Switch with Sensor connection
05 Sonoff Dual Sonoff Dual Wifi Smart Switch
06 Sonoff Pow Sonoff Pow Wifi Smart Switch with Energy Monitoring
07 Sonoff 4CH Sonoff 4CH 4-gang Wifi Smart Switch
08 Sonoff S2X Sonoff S20/S26 Wifi Smart Socket
09 Slampher Sonoff Slampher Wifi Smart Light Bulb Socket with RF (434MHz) receiver
10 Sonoff Touch Sonoff Touch Wifi Light Switch
11 Sonoff LED Sonoff Led Wifi Led Pack (Retired)
12 1 Channel 1 Channel Inching/Self Locking Wifi Switch 5V/12V
13 4 Channel 4 Channel Inching/Self Locking Wifi Switch (Retired)
14 Motor C/AC Motor Clockwise/Antoclockwise Wifi Switch (Retired)
15 ElectroDragon Electrodragon Wifi IoT Board
16 EXS Relay(s) Electronic Experience Store 1 or 2-gang Wifi Module
17 WiOn WiOn Wifi Smart Socket
18 Generic Any ESP8266/ESP8285 device like WeMos and NodeMCU
19 Sonoff Dev Sonoff Dev Wifi Development Board
20 H801 H801 Wifi RGBWW Led Controller
21 Sonoff SC Sonoff SC Wifi Environmental Monitor
22 Sonoff BN-SZ Sonoff BN-SZ01 Wifi Ceiling Led (Retired)
23 Sonoff 4CH Pro Sonoff 4CH Pro 4-gang Wifi Smart Switch
24 Huafan SS HuaFan Wifi Smart Socket
25 Sonoff Bridge Sonoff RF (434MHz) transceive to Wifi Bridge
26 Sonoff B1 Sonoff B1 Wifi RGBWW Led Bulb
27 AiLight Ai-Thinker RGBW Led Bulb
28 Sonoff T1 1CH Sonoff T1 1-gang Wifi Light Switch
29 Sonoff T1 2CH Sonoff T1 2-gang Wifi Light Switch
30 Sonoff T1 3CH Sonoff T1 3-gang Wifi Light Switch
31 Supla Espablo 2-gang Wifi Module
32 Witty Cloud Witty Cloud ESP8266 Wifi Development Board
33 Yunshan Relay ESP8266 Wifi Network Relay Module
34 MagicHome MagicHome, Flux-light and some Arilux LC10 RGB(W) Led Controller
35 Luani HVIO Luani ESP8266 Wifi I/O Module
36 KMC 70011 KMC Wifi Smart Socket with Energy Monitoring
37 Arilux LC01 Arilux AL-LC01 RGB Led Controller
38 Arilux LC11 Arilux AL-LC11 RGBWW Led Controller
39 Sonoff Dual R2 Sonoff Dual R2 Wifi Smart Switch
40 Arilux LC06 Arilux AL-LC06 RGB(WW) Led Controller
41 Sonoff S31 Sonoff S31 Wifi Smart Socket with Energy Monitoring
42 Zengge WF017 Zengge WF017 Wifi RGB(W) Led Controller
43 Sonoff Pow R2 Sonoff Pow R2 Wifi Smart Switch with Energy Monitoring
44 Sonoff iFan02 Sonoff iFan02 Wifi Smart Ceiling Fan with Light
45 BlitzWolf SHP BlitzWolf BW-SHP2, BW-SHP6, HomeCube SP1, Gosund SP111, Teckin SP22 Wifi Smart Switch with Energy Monitoring
46 Shelly 1 Shelly 1 Open Source Wifi Relay Module
47 Shelly 2 Shelly 2 Wifi 2-gang Relay Module with Energy Monitoring
48 Xiaomi Philips Xiaomi Philips Wifi WW Led Bulb
49 Neo Coolcam Neo Coolcam Wifi Smart Socket
50 ESP Switch ESP Switch 4-gang Wifi Switch with Leds
51 OBI Socket OBI Wifi Smart Socket
52 Teckin Teckin SP20 Wifi Smart Switch with Energy Monitoring
53 AplicWDP303075 Aplic WDP 303075 CSL Wifi Smart Switch with Energy Monitoring
54 Tuya Dimmer MIUO (and other Tuya based) Wifi Dimmer for Incandescent Lights and Led
55 Gosund SP1 v23 Gosund SP1 v2.3 Wifi Smart Switch with Energy Monitoring
56 ARMTR Dimmer ARMtronix Wifi dimmer for Incandescent Lights and Led
57 SK03 Outdoor SK03 Outdoor Wifi Smart Switch with Energy Monitoring
58 PS-16-DZ PS-16-DZ Wifi dimmer for Incandescent Lights and Led
59 Teckin US Teckin US and ZooZee SA102 Wifi Smart Switch with Energy Monitoring
60 Manzoku strip Manzoku Wifi Smart Power Strip with four Relays

Provided Binary Downloads

The following binary downloads have been compiled with ESP8266/Arduino library core version 2.4.2 patched with the Alexa fix.

  • sonoff-minimal.bin = The Minimal version allows intermediate OTA uploads to support larger versions and does NOT change any persistent parameter. This version should NOT be used for initial installation.
  • sonoff-classic.bin = The Classic version allows initial installation using either WifiManager, Wps or SmartConfig.
  • sonoff.bin = The Sonoff version without Wps and SmartConfig configuration but adds more sensors.
  • sonoff-BG.bin to sonoff-TW.bin = The Sonoff version without Wps and SmartConfig configuration in different languages.
  • sonoff-sensors.bin = The Sensors version without Wps and SmartConfig configuration but adds even more useful sensors.
  • sonoff-display.bin = The Display version without Wps and SmartConfig configuration but adds display support.
  • sonoff-knx.bin = The Knx version without Wps and SmartConfig configuration and some other features but adds KNX support.

Available Features and Sensors

Feature or Sensor minimal basic classic sonoff knx sensors Remarks
ESP/Arduino lib v2.3.0 346k 429k 482k 504k 522k 535k
ESP/Arduino lib v2.4.2 366k 446k 496k 522k 538k 551k No wifi sleep
MY_LANGUAGE en-GB x x x x x x
MQTT_LIBRARY_TYPE PUBSUBCLIENT x x x x x x
USE_WPS - - x - - - WPS
USE_SMARTCONFIG - - x - - - SmartConfig
USE_ARDUINO_OTA - - - - - -
USE_DOMOTICZ - - x x x x
USE_HOME_ASSISTANT - - - x x x
USE_MQTT_TLS - - - - - -
USE_KNX - - - - x -
USE_WEBSERVER x x x x x x WifiManager
USE_EMULATION - x x x - x
USE_DISCOVERY - - x x x x
WEBSERVER_ADVERTISE - - x x x x
MQTT_HOST_DISCOVERY - - x x x x
USE_TIMERS - x - x x x
USE_TIMERS_WEB - x - x x x
USE_SUNRISE - x - x x x
USE_RULES - x - x x x
USE_ADC_VCC x x x x x -
USE_DS18B20 - - - - - - Single sensor
USE_DS18x20 - - x x x x Multiple sensors
USE_DS18x20_LEGACY - - - - - - Multiple sensors
Feature or Sensor minimal basic classic sonoff knx sensors
USE_I2C - - - x x x
USE_SHT - - - x x x
USE_HTU - - - x x x
USE_BMP - - - x x x
USE_BME680 - - - - - x
USE_BH1750 - - - x x x
USE_VEML6070 - - - - - x
USE_ADS1115 - - - - - x
USE_ADS1115_I2CDEV - - - - - -
USE_INA219 - - - - - x
USE_SHT3X - - - x x x
USE_TSL2561 - - - - - x
USE_MGS - - - - - x
USE_SGP30 - - - x x x
USE_SI1145 - - - - - x
USE_LM75AD - - - x x x
USE_APDS9960 - - - - - -
USE_MCP230xx - - - - - -
USE_PCA9685 - - - - - -
USE_MPR121 - - - - - -
USE_CCS811 - - - - - -
USE_MPU6050 - - - - - -
USE_DS3231 - - - - - -
USE_MGC3130 - - - - - -
Feature or Sensor minimal basic classic sonoff knx sensors
USE_SPI - - - - - -
USE_MHZ19 - - - x x x
USE_SENSEAIR - - - x x x
USE_PMS5003 - - - x x x
USE_NOVA_SDS - - - x x x
USE_PZEM004T - - - x x x
USE_PZEM_AC - - - x x x
USE_PZEM_DC - - - x x x
USE_MCP39F501 - x - x x x
USE_SERIAL_BRIDGE - - - x x x
USE_SDM120 - - - - - x
USE_SDM630 - - - - - x
USE_MP3_PLAYER - - - - - x
USE_TUYA_DIMMER - x - x x x
USE_ARMTRONIX_DIMMERS - x - x x x
USE_PS_16_DZ - x - x x x
USE_IR_REMOTE - - - x x x
USE_IR_HVAC - - - - - x
USE_IR_RECEIVE - - - x x x
USE_WS2812 - - x x x x
USE_WS2812_DMA - - - - - -
USE_ARILUX_RF - - - x x x
USE_SR04 - - - x x x
USE_TM1638 - - - - - x
USE_HX711 - - - x x x
USE_RF_FLASH - - - x x x
USE_TX20_WIND_SENSOR - - - x x x
USE_RC_SWITCH - - - x x x
USE_RF_SENSOR - - - - - x AlectoV2 only
USE_DISPLAY - - - - - -

Changelog

Version 6.4.0 20181217

  • Change GUI Configure Module by using AJAX for data fetch to cut page size (and memory use) by 40%.
    In case of web page errors clear your browser cache or do Page Reload (F5 or Ctrl+R)
  • Change enforcing flashmode dout but it is still mandatory
  • Change bootcount update (being first) flash write to 10 seconds after restart
  • Change display and epaper drivers
  • Change command WebSend Host header field from IP address to hostname (#4331)
  • Change log buffer size from 512 to 520 to accommodate http sensor data (#4354)
  • Change default WIFI_CONFIG_TOOL from WIFI_WAIT to WIFI_RETRY in my_user_config.h (#4400)
  • Change webgui refresh time delay for Save Settings and local OTA Upload (#4423)
  • Change SR-04 driver to use NewPing library (#4488)
  • Change MCP230xx driver to support interrupt retention over teleperiod (#4547)
  • Change support for MPU6050 using DMP (#4581)
  • Fix unintended function overload of WifiState
  • Fix wifi connection errors using wifi disconnect and ESP.reset instead of ESP.restart
  • Fix Sonoff Pow R2 and Sonoff S31 Serial interface hang caused by Sonoff Basic R2 driver delay implementation (and possibly core bug)
  • Fix MQTT connection error after restart
  • Fix wifi re-scan connection baseline
  • Fix possible strncat buffer overflows
  • Fix intermittent Pzem sensor energy overflow calculation error
  • Fix shelly2 ghost switching caused by lack of pull-up inputs (#4255)
  • Fix hardware serial pin configuration. To keep using hardware serial swap current Rx/Tx pin configuration only (#4280)
  • Fix MqttRetry values above 255 seconds (#4424)
  • Fix WifiManager functionality on initial installation (#4433)
  • Fix ArduinoOTA for Core 2.5.0 (#4620)
  • Add minutes to commands Timezone to allow all possible world timezones
  • Add more strict checks for GPIO selections
  • Add code image and optional commit number to version
  • Add dynamic delay to main loop providing time for wifi background tasks
  • Add additional start-up delay during initial wifi connection
  • Add support for decoding Theo V2 sensors as documented on https://sidweb.nl using 434MHz RF sensor receiver
  • Add support for decoding Alecto V2 sensors like ACH2010, WS3000 and DKW2012 weather stations using 868MHz RF sensor receiver
  • Add user definition of defines WIFI_RSSI_THRESHOLD (default 10) and WIFI_RESCAN_MINUTES (default 44)
  • Add command SetOption58 0/1 to enable IR raw data info in JSON message (#2116)
  • Add command IRSend <frequency>|0,<rawdata1>,<rawdata2>,.. to allow raw data transmission (#2116)
  • Add command SetOption56 0/1 to enable wifi network scan and select highest RSSI (#3173)
  • Add command SetOption57 0/1 to enable wifi network re-scan every 44 minutes with a rssi threshold of 10 to select highest RSSI (#3173)
  • Add support for SDM220 (#3610)
  • Add default sleep 1 to sonoff-basic to lower energy consumption (#4217)
  • Add wifi status to Tuya (#4221)
  • Add delays to reduce CPU usage at boot time (#4233)
  • Add command SetOption24 0/1 to select pressure unit as hPa or mmHg (#4241)
  • Add optional hardware serial when GPIO13(Rx) and GPIO15(Tx) are selected removing hardware serial from GPIO01(Tx) and GPIO03(Rx) (#4288)
  • Add support for Gosund SP1 v2.3 Power Socket with Energy Monitoring (#4297)
  • Add support for Armtronix dimmers. See wiki for info (#4321)
  • Add to command WebSend option to send a direct path when command starts with a slash (#4329)
  • Add support for LG HVac and IrRemote (#4377)
  • Add initial support for Hass sensor discovery (#4380)
  • Add support for Fujitsu HVac and IrRemote (#4387)
  • Add support for I2C MGC3130 Electric Field Effect sensor by Christian Baars (#3774, #4404)
  • Add command CalcRes to set number of decimals (0 - 7) used in commands ADD, SUB, MULT and SCALE (#4420)
  • Add CPU average load to state message (#4431)
  • Add command SetOption59 0/1 to change state topic from tele/STATE to stat/RESULT (#4450)
  • Add support for SM Smart Wifi Dimmer PS-16-DZ (#4465)
  • Add support for Teckin US Power Socket with Energy Monitoring (#4481)
  • Add command SetOption60 0/1 to select dynamic sleep (0) or sleep (1) (#4497)
  • Add support for iFan02 Fanspeed in Domoticz using a selector (#4517)
  • Add support for GPIO02 for newer Sonoff Basic (#4518)
  • Add Announce Switches to MQTT Discovery (#4531)
  • Add support for Manzoku Power Strip (#4590)
Assets 28
You can’t perform that action at this time.