Logo
Sonoff TH10/TH16 Switch Module
Sonoff TH10/TH16
GPIO #Component
GPIO00 Button1
GPIO01 User
GPIO02 None
GPIO03 User
GPIO04 User
GPIO05 None
GPIO09 None
GPIO10 None
GPIO12 Relay1
GPIO13 Led1i
GPIO14 User
GPIO15 None
GPIO16 None
FLAG None
Configuration (old format, will be converted to new template when applied)
{"NAME":"Sonoff TH","GPIO":[17,255,0,255,255,0,0,0,21,56,255,0,0],"FLAG":0,"BASE":4}
Use code BLAKADDER when buying from itead.cc for a 10% discount.

Sonoff TH10 or TH16 / Ver 2.0 (year 2017/2018/2019) based on ESP8266. TH10 has a relay rated to 10 amps and TH16 to 16 amps (Input voltage: 90~ 250V AC).

Serial Flashing

The 2.5mm jack socket connects to GPIO14.

Sonoff sensors with 2.5mm jack

Sonoff sells 3 sensors with 2.5mm jack to use with the Sonoff TH.

  1. Sonoff Si7021 Temperature & Humidity Sensor
  2. Sonoff AM2301 Temperature & Humidity Sensor
  3. Sonoff DS18B20 Temperature Sensor
  4. Sonoff AL560 5m Extension Cable

Length of the wire is approximately 47cm apart from DS18b20 sensor that comes with approximately 1m long wire. Can be extended with a Sonoff 5m sensor extension cable.

NOTE!!! Normally a Si7021 sensor is an I2C device. The Sonoff labelled Si7021 sensor is BASED on an Si7021, but, to make this sensor plug’n’play on a Sonoff TH an 8-bit MCU is added on the board. This changes the I2C communication of an Si7021 sensor to one-wire communication! That is why a “Sonoff SI7021 sensor” doesn’t work in combination with a I2C library.

Tasmota supports Sonoff TH with all three Sonoff sensors. Just select module Sonoff TH (4) and under GPIO14 configure the sensor you have connected.

NOT SUPPORTED

Si7021 sensor contains an integrated resistive heating element that may be used to drive off condensation. It’s recommended enabling the heater when the humidity readings are above 80%. Humidity readings above 80% become very unreliable. If the “Sonoff Si7021 sensor” is used at the dew point and condensation occurs on the sensor, the on-chip heater could be activated to dry the sensor and restore operation once the sensor is above the dew point. Turning on the heater will also reduce the tendency of the humidity sensor to accumulate an offset due to “memory” of sustained high humidity conditions. Six different power levels are available. The maximum source current of a GPIO pin on an ESP8266 is about 12mA. So the first power level of 3.09mA and second power level of 9.18mA would be theoretically usable.

Keep that in mind if you use this “Sonoff Si7021 sensor” outdoors!

Si7021 Datasheet

Official Sources