I bought 3 of these inexpensive little wall plugs after reading this topic: Deltaco SmartHome
So two of them won’t flash in Tuya Convert but one of them did so let’s focus on that one first. After the usual tips and trix I got it flashed with Tuya Convert and then I flashed it with a ESPhome bin. But something went wrong during the ESP flash and now the device only shows up as the fallback hotspot. The real problem is that a can’t log in to that fallback network. I only get wrong password… So please tell me…is this my first brick ?
This is the code that I compiled and flashed:
esphome:
name: smartplug_deltaco_1
platform: ESP8266
board: esp01_1m
wifi:
ssid: “XXX”
password: “xxxxxxxxxxxx”
# ...
manual_ip:
# Set this to the IP of the ESP
static_ip: 192.168.1.230
# Set this to the IP address of the router. Often ends with .1
gateway: 192.168.1.1
# The subnet of the network. 255.255.255.0 works for most home networks.
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Smartplug Deltaco 1"
password: “1357908642”
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: “1357908642”
ota:
password: “…”
binary_sensor:
- platform: gpio
pin:
number: GPIO13
mode: INPUT_PULLUP
inverted: True
name: "Deltaco SH-P01 Button"
on_press:
- switch.toggle: deltaco_relay_1
- platform: status
name: "Deltaco SH-P01 Status"
output:
- platform: esp8266_pwm
id: deltaco_smartplug_blue_led
pin:
number: GPIO5
inverted: True
switch:
- platform: gpio
name: "Deltaco SH-P01 Relay"
id: deltaco_relay_1
pin: GPIO12
light:
- platform: monochromatic
name: "Deltaco SH-P01 blue LED"
output: deltaco_smartplug_blue_led