I couldn’t find any yaml for flashing this device here so I figured I could share it in case anyone else want’s it.
BlitzWolf® BW-SHP14 WiFi Outdoor Socket 3680W EU/1760W US 16A with Dual Outlets, APP Control, Voice Control, IP44 Waterproof and Timer & Schedule
It will expose the two relays, a RSSI sensor and a restart switch to Home Assistant, the LEDs and button are set to internal.
Single click on the button toggles relay 1 and long press toggles relay 2.
esphome:
name: blitzwolf
esp8266:
board: esp01_1m
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "6c9f36bbb631cdc080f6d8abc420a19e"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
manual_ip:
#static_ip: 192.168.1.193
#gateway: 10.0.0.1
#subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Blitzwolf Fallback Hotspot"
password: "5xwTWv3w7MmI"
captive_portal:
binary_sensor:
- platform: gpio
pin: 3
internal: true
filters:
- invert:
name: "Blitzwolf btn"
on_click:
- min_length: 10ms
max_length: 500ms
then:
- switch.toggle: relay_1
- min_length: 500ms
max_length: 2000ms
then:
- switch.toggle: relay_2
switch:
- platform: gpio
pin: 12
id: relay_2
name: "Blitzwolf 2"
on_turn_on:
- switch.turn_on: led2
on_turn_off:
- switch.turn_off: led2
- platform: gpio
pin: 1
id: led2
internal: true
inverted: true
name: "Blitzwolf LED 2"
- platform: gpio
pin: 14
id: relay_1
name: "Blitzwolf 1"
on_turn_on:
- switch.turn_on: led1
on_turn_off:
- switch.turn_off: led1
- platform: gpio
pin: 5
id: led1
internal: true
inverted: true
name: "Blitzwolf LED 1"
- platform: restart
name: "Blitzwolf restart"
sensor:
- platform: wifi_signal
name: "Blitzwolf WiFi RSSI"
update_interval: 60s
I don’t have any real use data of it yet as I picked it up from the post office three hours ago, but it seems to work fine in ESP-Home.