This adds:
- A general folder for documantation configs - A documantation for general esphome devices with functionallity too small for it's own file. - Removed the powersave mode NONE on garage doors.
This commit is contained in:
50
5gModemPower.yaml
Normal file
50
5gModemPower.yaml
Normal file
@@ -0,0 +1,50 @@
|
||||
esphome:
|
||||
name: modempower
|
||||
|
||||
esp8266:
|
||||
board: sonoff_basic
|
||||
|
||||
wifi:
|
||||
ssid: !secret wifi_ssid
|
||||
password: !secret wifi_password
|
||||
fast_connect: true
|
||||
ap:
|
||||
ssid: modempower_rescue
|
||||
password: !secret rescue_ap_password
|
||||
|
||||
captive_portal:
|
||||
|
||||
api:
|
||||
encryption:
|
||||
key: !secret k5gModem
|
||||
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: !secret p5gModem
|
||||
|
||||
logger:
|
||||
|
||||
binary_sensor:
|
||||
- platform: gpio
|
||||
pin:
|
||||
number: GPIO0
|
||||
mode:
|
||||
input: true
|
||||
pullup: true
|
||||
inverted: true
|
||||
name: "5G Modem Power Button"
|
||||
on_press:
|
||||
- switch.toggle: relay
|
||||
|
||||
switch:
|
||||
- platform: gpio
|
||||
name: "5G Modem Power Relay"
|
||||
pin: GPIO12
|
||||
restore_mode: ALWAYS_ON
|
||||
id: relay
|
||||
|
||||
status_led:
|
||||
pin:
|
||||
number: GPIO13
|
||||
inverted: yes
|
||||
|
Reference in New Issue
Block a user