Hi all,
i’m looking to get the sonoff T4EU1C light switch for my house but I’d like to use it with ESPhome and was wondering if anyone has managed to do this?
thanks
Robin
Hi all,
i’m looking to get the sonoff T4EU1C light switch for my house but I’d like to use it with ESPhome and was wondering if anyone has managed to do this?
thanks
Robin
Hi,
Yes i have 4 in my house.
#===============================================================================
substitutions:
device_name: light_switch_toaleta
device_friendly_name: "włącznik światła toaleta"
#===============================================================================
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
wifi:
networks:
- ssid: !secret wifi_ssid
password: !secret wifi_pass
reboot_timeout: 5min
use_address: 10.10.30.19
ap:
ssid: "Fallback światło toaleta"
password: !secret fall_wifi_pass
captive_portal:
logger:
baud_rate: 0
api:
password: !secret api_pwd
ota:
password: !secret ota_pwd
#===============================================================================
time:
- platform: homeassistant
id: homeassistant_time
#===============================================================================
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: "Button ${device_friendly_name}"
on_press:
- switch.toggle: relay
#===============================================================================
text_sensor:
- platform: wifi_info
ip_address:
name: "IP ${device_friendly_name}"
#===============================================================================
sensor:
- platform: wifi_signal
name: "Status ${device_friendly_name}"
update_interval: 120s
#------------------------------------------------------------------------------
- platform: uptime
name: "Uptime ${device_friendly_name}"
#===============================================================================
switch:
- platform: restart
name: "Restart ${device_friendly_name}"
#------------------------------------------------------------------------------
- platform: gpio
name: "Relay ${device_friendly_name}"
pin: GPIO12
id: relay
#===============================================================================
status_led:
pin:
number: GPIO13
inverted: yes
Thank you now to work out how to flash it on and get some
Do you have orginal fw or tasmota?
Just ordered a switch, I’ll try it with one before I go mental replacing them all (where possible). It should be here tomorrow.
Did this work well in the end? Was it hard to install with the capacitor?
I just stumbled upon these new switches and wanted to see if your test worked before I start ordering lots of them! I presume double taps and long taps would also work on the touch pad?
Thanks!
The switch was really easy to install, and the capacitor too, just a few screws and wires no fuss.
As for flashing it, I’ve not managed to get it into flash mode yet so it’s still a work in progress
How did you flash this switch? Does it requires soldering or is there a way to use OTA update (tuya-convert?)?
Use this metod https://www.youtube.com/watch?v=RNQXRko5mPU
Its beter. Solidering cable to R10 its risky.
switches work without a problem.
Only the touch sensitivity could be higher but after that time I don’t mind