Skip to main content
Device Type:switch
Electrical Standard:eu
Board:esp8266
Difficulty:Plug-n-flash (2/5)

Nous L1T

An example of how to integrate a Nous 1 Channel Touch Swith Module (L1T) into Home Assistant using ESPHome.

The device comes with Tasmota installed, but can be reflashed to ESPHome

Product Image

GPIO Pinout

see pinout

After tests, the pinout has been corrected from what is shown in the manual (GPIOs for button led and link/status led are swapped in my device)

PinFunction
GPIO00Led Link
GPIO01None
GPIO02None
GPIO03Button 1
GPIO04None
GPIO05None
GPIO09None
GPIO10None
GPIO12None
GPIO13Relay1
GPIO14Led Button
GPIO15None
GPIO16None

Basic Configuration

esphome:
on_boot:
then:
- if:
condition:
lambda: "return id(light_1).current_values.is_on();"
then:
- light.turn_off:
id: button_led
else:
- light.turn_on:
id: button_led

esp8266:
board: esp01_1m

binary_sensor:
- platform: gpio
pin:
number: GPIO3
mode:
input: true
pullup: true
inverted: true
id: button_1
on_click:
then:
- light.toggle: light_1

- platform: status
name: "T1 Status"

output:
- platform: gpio
pin: GPIO13
id: relay_1
- platform: esp8266_pwm
pin: GPIO14
id: button_led_output
inverted: yes

light:
- platform: binary
id: light_1
output: relay_1
on_turn_on:
- light.turn_off: button_led

on_turn_off:
- light.turn_on: button_led

- platform: monochromatic
id: button_led
output: button_led_output

status_led:
pin:
number: GPIO0
inverted: yes