SonOff TH10/16 Tasmota 9.2

Hi everyone,

Has anyone managed to get either the SonOff TH10 or TH16 to successfully work with smartthings?

i have flashed both devices with the latest version of the tasmota firmware and they are up and running as expected on my home wifi with tasmota.

I have then installed @Eric Maycock (@erocm123) two device handlers Sonoff TH - Tasmota and Sonoff TH Wifi Switch (excellent work Eric!) - unfortunately neither will switch the relay from the smartthings app. (i am using the new smartthings app not smartthings classic). Just getting this bit to work would be a start.

With regards to reading temperature and humidity i am using both the AM230 and DS18B20 sensor and whilst i can see readings in tasmota i get nothing on the app using either of the device handlers above. i read some old post about temp and humidity not yet being supported however i see in the Sonoff TH Wifi Switch device handler that both temp and humidity are being parsed.

if anyone has had success with these i would be grateful of a steer in the right direction.

thanks for you help
Rob

I have exactly the same problem. I can get the switch to work but unable to get temperature data for use in ActionTiles.

The Tasmota interface provides all the sensor data and i can extract it with MQTT as well.

how did you get it to function as a switch? once i have that bit working i will investigate the code a bit more.

i have finally got this to work, it turns out you need to use the tasmota connect smart app by @hongtat

it will install a switch and a child temperature/humidity sensor i can then read the values on the child device and switch with the parent device.

I set it up as a Tasmota device in SmartThings.

If I use the TH10 device it shows up but does gather any sensor data or switch status.

Colin
07990 790200

Not sure if the OP solved this, but you need to do several things to get both the SWITCH and the TEMP probe to appear in ST so you can use it in WebCoRe, actiontiles etc.

  1. I used the device handlers from Hongtat the provider of the smartapp TASMOTA connect.
  2. I installed both the GENERIC SWITCH hongtat DH and the CHILD TEMP/HUMIDITY sensor DH.
  3. I flashed with tasmotizer latest 1.2 you can specify the sonoff TH in send config after flashing. Also use the GET IP so you know the IP address.
  4. Set your IP address to a static IP in your router.
  5. point your web browser to that IP address to login directly to the sonoff TH. (CONFIGURATION - CONFIGURE MODULE). You need to TELL IT there is a temp probe attached. In my case the 1820.
  6. Run Tasmota connect smartapp - provide the IP address when prompted. Both the SWITCH and the TEMP PROBE should then appear as NEW SMARTTHINGS devices.

Hey, are you able to control the TH smartthing generic switch from the smatttings app itself?

For some reason it wont work for me, but the strange thing is i can control via Alexa which is integrated with my smartthings.

The CHILD temp is working perfect, and the generic switch is shown, it just wont update the current state and toggle on the switch on and off.

Yup - I can easily control the generic switch. It updates it’s state properly I have it in Actiontiles I use it
for managing my water recirc system. I posted a how to doc on the ST Facebook group.

Got a link?
Not sure which group.

I’ve tested with actiontiles and i’ve full control over the device and temp is showing, but still the device inside the smartthings app is not updating the status. Very odd!

This should link to the setup doc I wrote

Cheers for the link, ive done all what is mentioned.

Strange the way the ST is not updating the current status via device handler.

Child temp is working perfect, and im able to enable the switch but status doesnt change in app.

I have a work around currently using a virtual switch in ST and 2 routines in alexa since alexa is updating the current status.

In alexa,
Virtual switch goes off, turn off tasmota switch
Virtual switch goes on, turn of tasmoto switch

Make sure the IP address of Tasmota device and ST hub are correct.
Access the Tasmota device console (http://<IP address>/cs?), do you see the command when you on/off from the ST App.

Any actions from either Tasmota or ST hub/app should appear in the Tasmota console, do you see any errors?

Address are correct for ST and Device.

From the ST app, when i select to toggle to enable, i can see the command registering in “cs?” and it does enable, but the status of the device will not update.

image


The update will time out and i get the error “a network or server error occurred”

After that if i select the device to enable again it will push the enable.

Now, if i enable via actiontiles, or alexa, it will send the power on/off command as actiontiles and alexa seem to be updating the current status i.e. after i enable it shows as enabled, so i’ll then able to push the command to power off.

I do have an error status for possible duplicate IP address for this device? But i don’t have a duplicate IP.


  1. Login to SmartThings. Add a little smartness to your things.
  2. Under “My devices” - Make sure there is no other devices with the same MAC address under “Device Network ID” as your Tasmota device. The DNI must be the MAC address of your Tasmota device.