Tasmota (Connect) is a SmartApp & Device Type for Samsung SmartThings, that allows you to add your Tasmota devices as SmartThings devices.
- Full support for SmartThings (new) App & SmartThings (Classic) App
- Real-time device status
- Pure Tasmota & SmartThings integration (No need for additional MQTT bridge)
- Virtual Device (for RF / IR devices that can be controlled by a RF / IR bridge)
- Samsung SmartThings Hub
- Tasmota >=8.10 (recommended)
- If you haven’t enabled GitHub integration, please visit here for instructions.
- Sign in to SmartThings IDE: https://account.smartthings.com/login
- Under
My SmartApps
> clickSettings
>Add new repository
> enter the following:- Owner: hongtat
- Name: tasmota-connect
- Branch: Master
- Under
Update from Repo
> clicktasmota-connect
> Select all files > TickPublish
> thenExecute Update
- Under
My Device Handlers
> clickSettings
>Add new repository
> enter the following:- Owner: hongtat
- Name: tasmota-connect
- Branch: Master
- Under
Update from Repo
> clicktasmota-connect
> Select all files > TickPublish
> thenExecute Update
- Open your SmartThings mobile app
- Add Tasmota (Connect) SmartApp
- (New) Go to:
SmartApps
>+
>My SmartApps
>Tasmota (Connect)
- (Classic) Go to:
Automation
>SmartApps
>Add a SmartApp
>My Apps
>Tasmota (Connect)
- (New) Go to:
For Tasmota (Connect) to function correctly, please make sure you install the SmartApp and all Device Handlers.
- Sign in to SmartThings IDE: https://account.smartthings.com/login
- SmartApp Installation
- Under
My SmartApps
> chooseNew SmartApp
>From Code
- Paste the SmartApp code [link] into the text box
- Click "Save" and "Publish" it to yourself.
- Under
- Device Handler Installation
- Click on this [link] to obtain the device handlers. For each of the device handlers, do the following:
- Under
My Device Handlers
> chooseCreate New Device Handler
>From Code
- Paste the device code into the text box
- Click "Save" and "Publish" it to yourself.
- For SmartApp and Device Handler updates, perform the same steps in manual installation.
- Open your SmartThings mobile app
- Under
SmartApps
, selectTasmota (Connect)
- Tap
New Tasmota Device
, and select the Tasmota device you want to add - Fill in the
IP address
,username
(optional),password
(optional) of the Tasmota device
It should work for most switches, dimmers, relays, plugs, power strips, sockets, wall outlets, fan controllers, RF motion/contact sensors, RF remote controllers, IR bridges and RF bridges listed in the Tasmota Device Templates Repository.
If your Tasmota device is not listed below, choose a Generic device that is similar to your Tasmota device.
- Generic Switch (1,2,3,4,5,6CH) - No Power Monitoring
- Generic Metering Switch (1,2CH) - Power Monitoring
- Generic Dimmer Switch
- Generic IR Bridge
- Sonoff Basic
- Sonoff RF
- Sonoff TH
- Sonoff Dual & Dual R2
- Sonoff Pow & Pow R2
- Sonoff 4CH & 4CH Pro
- Sonoff S20, S26
- Sonoff S31
- Sonoff Touch, T1 (1,2,3CH)
- Sonoff RF Bridge
- Sonoff iFan02, iFan03
A Virtual Device uses a RF or IR bridge to control or read your dumb RF / IR devices.
Virtual Device | Usage |
---|---|
Virtual Switch | Add a SmartThings generic switch that can be controlled by a RF / IR bridge (e.g. Sonoff RF Bridge). |
Virtual Shade | Add a SmartThings shade/blind that can be controlled by a RF / IR bridge (e.g. Sonoff RF Bridge). |
Virtual Button | Add RF/IR remote controller 1/2/4/6-button as SmartThings remote controller button. |
Virtual Contact Sensor | Add a RF contact sensor |
Virtual Motion Sensor | Add a RF motion sensor |
-
Choose a RF or IR Bridge
-
Enter the Tasmota command to send for "ON" and "OFF"
For RF, it has to be one of these formats
Backlog RfSync <value>; RfLow <value>; RfHigh <value>; RfCode <value>
Backlog RfRaw <value>; RfRaw 0
Note: RFRaw requires Portisch Firmware
-
Optionally, enable
State tracking
to listen for RF codes (e.g. from RF remote) to simulate a Stateful device -
If you enable
State tracking
, enter the code that represents the "ON" and "OFF" stateIn the example below, the code is 70C70F
- "RfReceived":{"Sync":7110,"Low":210,"High":660,"Data":"70C70F","RfKey":"None"}
-
Choose a RF Bridge
-
Enter the RFReceived Data that represents "OPEN", "CLOSE", "ACTIVE", "INACTIVE" or button state
In the example below, the code is 70C70F
- "RfReceived":{"Sync":7110,"Low":210,"High":660,"Data":"70C70F","RfKey":"None"}
- Verify the IP address is correct and you are able to access your device via the IP address.
- If you have added this device using other developer device type handler (DTH), please delete the device.
- If the device is still not responding, look at the Tasmota Console so that you can see exactly what is happening. e.g. The actions (on/off) that you've called in SmartThings App didn't appear in the Console, it's likely the SmartThings hub is unable to access the device.
- Ensure your Tasmota devices and SmartThings hub are assigned with static IP addresses.
Please see under RF Bridge & IR Remote - https://tasmota.github.io/docs/#/Commands
Please use SmartThings Community for feedback and questions.
GPL-3.0