devices.esphome.io

Jeeo TF-SH330

Jeeo TF-SH330

Device Type: plug
Electrical Standard: us
Board: esp8266

Product Images

alt text

Inspired by the Tasmota template: https://templates.blakadder.com/jeeo_TF-SH330.html

GPIO Pinout

PinFunction
GPIO0Blue Status LED
GPIO13Switch Input
GPIO15Mains Relay

Basic Configuration

esphome:
name: jeeoa
platform: ESP8266
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: !secret ota_password
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: "Jeeo Fallback Hotspot"
password: !secret fallback_wifi_password
captive_portal:
binary_sensor:
- platform: gpio
id: button
internal: true
pin:
number: 13
mode: INPUT
inverted: true
on_press:
- then:
- switch.toggle:
id: socket_relay
name: button
switch:
- platform: gpio
name: Socket
id: socket_relay
pin:
number: 15
mode: OUTPUT
inverted: false
on_turn_on:
- then:
- light.turn_on:
id: status_led
state: true
on_turn_off:
- then:
- light.turn_off:
id: status_led
state: false
restore_mode: RESTORE_DEFAULT_OFF
interlock_wait_time: 0ms
output:
- platform: gpio
id: led
pin:
number: 0
inverted: true
mode: OUTPUT
light:
- platform: binary
name: Status LED
id: status_led
internal: true
output: led
restore_mode: RESTORE_DEFAULT_OFF
Edit this page on GitHub