Skip to main content
F3D
Vỏ Hộp Rơ Le Wifi ESP-01 1

4 images

DIY

Vỏ Hộp Rơ Le Wifi ESP-01

By RDM3D_1546372

Downloads
89
Likes
16
Views
899

Files 2 685.4 KB

  • ESP01_Relay_Housing_1765697715.stlSTL · 157 KB
  • ESP01_Relay_Top_1765697716.stlSTL · 528.4 KB

Make a variant with AI

Build another version of this model.

Open Studio

Description

ESP-01s & ESP01 Relay V4.0 Housing

DIY WIFI AC Relay

(Flash your ESP module using EspHome Webtools online flasher)

Print tips:

  • PETG (Preferable)
  • 0.2 Layer height
  • No supports
  • Bed 70
  • Nozzle 235

Components:

  • 3D printed ESP01_Relay_Housing
  • 3D printed ESP01_Relay_Top
  • ESP8266 ESP01 (or 01s) WIFI module
  • ESP01 1ch relay V4.0 module
  • 110/220V - 5V 700ma step down module

Basic YAML code for EspHome: (I'm not a coder guy, might have a lot of errors if evaluated by a coder, but it works perfect for my needs).

esphome:
name: nameofyourchoicewithoutspcesorcapitalletters

esp8266:
board: esp01_1m

logger:

api:

ota:
password: ""

wifi:
ssid: YourNetworkSSID
password: YourPassword

ap:
ssid: "ESP Hotspot"
password: “”

captive_portal:

binary_sensor:
- platform: gpio
pin: GPIO0
name: "state"
id: estado

sensor:
- platform: wifi_signal
name: ${devicename} wifi signal
update_interval: 60s

switch:
- platform: gpio
name: "Inverted"
pin: GPIO0
id: relay
inverted: False

- platform: template
name: "WIFI Relay"
lambda: |-
if (id(estado).state) {
return false;
} else {
return true;
}

turn_on_action:
- switch.turn_off: relay
turn_off_action:
- switch.turn_on: relay

Read more Show less

Print spec

Formats
stl
Model files
2
Total size
685.4 KB
Largest file
528.4 KB

0 comments

See all