devices.esphome.io

Teckin SS30

Teckin SS30

Device Type: plug
Electrical Standard: us
Board: esp8266

Amazon Link

GPIO Pinout

PinFunction
GPIO00Status LED
GPIO04Relay 1 inverted
GPIO05Push Button
GPIO12Relay 3 inverted
GPIO13Relay 2 inverted
GPIO14Relay 4 inverted
GPIO16Relay 5 not inverted

Basic Configuration

# Basic Config
---
esphome:
name: bedroom_ss30
ESP8266:
board: esp01_1m
# OTA flashing
ota:
- platform: esphome
wifi: # Your Wifi network details
# Enable fallback hotspot in case wifi connection fails
ap:
# Enabling the logging component
logger:
# Enable Home Assistant API
api:
# Enable the captive portal
captive_portal:
sensor:
- platform: uptime
name: "Bedroom SS30 uptime"
switch:
- platform: gpio
name: "Bedroom SS30 relay 1"
pin: GPIO04
inverted: yes
id: relay1
- platform: gpio
name: "Bedroom SS30 relay 2"
pin: GPIO13
inverted: yes
id: relay2
- platform: gpio
name: "Bedroom SS30 relay 3"
pin: GPIO12
inverted: yes
id: relay3
- platform: gpio
name: "Bedroom SS30 relay 4"
pin: GPIO14
inverted: yes
id: relay4
- platform: gpio
name: "Bedroom SS30 relay 5"
pin: GPIO16
id: relay5
binary_sensor:
- platform: gpio
pin:
number: GPIO5
mode: INPUT_PULLUP
inverted: False
name: "Bedroom SS30 button"
on_press:
- switch.turn_off: relay1
- switch.turn_off: relay2
- switch.turn_off: relay3
- switch.turn_off: relay4
- switch.turn_off: relay5
- platform: status
name: "Bedroom SS30 Status"
status_led:
pin:
number: GPIO00
Edit this page on GitHub