Tasmota Components
Tasmota Components
Components can be: buttons, switches, relays, LEDs, sensors, displays, MCU units,
etc. Every component is assigned in the device template to the GPIO it is wired
(connected) to.
Every Tasmota device has some components configured by default. Most often
there is a relay, a button and a LED configured as is the case for a Sonoff Basic in
the following image.
Tip
GPIOs configured as User (255) are the GPIOs that can be assigned to components in
the Configure Module page.
Assigning Components
Components List
# Name Description
I2C serial clock pin, used with any I2C component (sensors,
5 I2C SCL
displays, ...)
I2C serial data pin, used with any I2C component (sensors,
6 I2C SDA
displays, ...)
9 Switch1 Switch
10 Switch2 Switch
# Name Description
11 Switch3 Switch
12 Switch4 Switch
13 Switch5 Switch
14 Switch6 Switch
15 Switch7 Switch
16 Switch8 Switch
17 Button1 Button
18 Button2 Button
19 Button3 Button
20 Button4 Button
21 Relay1 Relay
22 Relay2 Relay
23 Relay3 Relay
24 Relay4 Relay
25 Relay5 Relay
26 Relay6 Relay
27 Relay7 Relay
28 Relay8 Relay
52 Led1 LED
53 Led2 LED
54 Led3 LED
55 Led4 LED
SM16716
142 SM16716 Pixel LED Power pin
PWR
159 ALux IrSel For AriLux devices - switches between IR/RF mode
PREVIOUS NEXT
Modules Rules