1 Star 0 Fork 23

武云/电脑远程开机卡

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
esphome.yaml 1023 Bytes
一键复制 编辑 原始数据 按行查看 历史
梦程MI 提交于 2020-03-20 12:13 . V1.1新增 esphome配置文件
esphome:
name: boot
platform: ESP8266
board: esp01_1m
wifi:
ssid: "123456789"
password: "12345678910"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Boot Fallback Hotspot"
password: "kIZuZruEGuCf"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
switch:
- platform: gpio
pin: 14
id: relay
- platform: template
name: "PWR"
icon: "mdi:gate"
turn_on_action:
- switch.turn_on: relay
- delay: 500ms
- switch.turn_off: relay
- platform: gpio
pin: 13
id: relay2
- platform: template
name: "RST"
icon: "mdi:gate"
turn_on_action:
- switch.turn_on: relay2
- delay: 500ms
- switch.turn_off: relay2
- platform: gpio
pin: 14
id: relay3
- platform: template
name: "QPWR"
icon: "mdi:gate"
turn_on_action:
- switch.turn_on: relay
- delay: 5000ms
- switch.turn_off: relay
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Arduino
1
https://gitee.com/wuyunnet/computer_remote_power_on_card.git
[email protected]:wuyunnet/computer_remote_power_on_card.git
wuyunnet
computer_remote_power_on_card
电脑远程开机卡
master

搜索帮助