ESPHOME
This commit is contained in:
13
bak.yaml
13
bak.yaml
@@ -16,8 +16,9 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
- platform: esphome
|
- platform: esphome
|
||||||
password: "f98db3b86ae6f19b2d1aec85ee5f5bcd"
|
password: "f98db3b86ae6f19b2d1aec85ee5f5bcd"
|
||||||
|
|
||||||
wifi:
|
wifi:
|
||||||
|
id: wifi_component
|
||||||
ssid: 'SmartHome'
|
ssid: 'SmartHome'
|
||||||
password: ''
|
password: ''
|
||||||
use_address: 192.168.88.39
|
use_address: 192.168.88.39
|
||||||
@@ -28,13 +29,17 @@ wifi:
|
|||||||
subnet: 255.255.255.0
|
subnet: 255.255.255.0
|
||||||
power_save_mode: none
|
power_save_mode: none
|
||||||
|
|
||||||
|
# ap:
|
||||||
|
# ssid: "Miroca"
|
||||||
|
# password: "" # Можно оставить пустым для быстрого входа
|
||||||
|
|
||||||
captive_portal:
|
captive_portal:
|
||||||
|
|
||||||
|
|
||||||
status_led:
|
status_led:
|
||||||
pin:
|
pin:
|
||||||
number: GPIO16
|
number: GPIO16
|
||||||
inverted: True
|
inverted: True
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
@@ -95,6 +100,8 @@ switch:
|
|||||||
|
|
||||||
web_server:
|
web_server:
|
||||||
port: 80
|
port: 80
|
||||||
|
version: 3
|
||||||
auth:
|
auth:
|
||||||
username: "silver"
|
username: "silver"
|
||||||
password: "cbvgcjy0"
|
password: "cbvgcjy0"
|
||||||
|
js_url: 'https://miroca.ru/static/file/upanel/js/esphome.js'
|
||||||
@@ -47,12 +47,16 @@ sensor:
|
|||||||
icon: "mdi:meter-gas-outline"
|
icon: "mdi:meter-gas-outline"
|
||||||
|
|
||||||
|
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: 192.168.88.4
|
# broker: 192.168.88.4
|
||||||
username: 'miroca'
|
# username: 'miroca'
|
||||||
password: 'cbvgcjy0'
|
# password: 'cbvgcjy0'
|
||||||
discovery: False # disable entity discovery
|
# discovery: False # disable entity discovery
|
||||||
discover_ip: True # enable device discovery
|
# discover_ip: True # enable device discovery
|
||||||
|
|
||||||
# web_server:
|
# web_server:
|
||||||
# port: 80
|
# port: 80
|
||||||
|
# auth:
|
||||||
|
# username: "silver"
|
||||||
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
@@ -72,10 +72,11 @@ sensor:
|
|||||||
# auth:
|
# auth:
|
||||||
# username: "silver"
|
# username: "silver"
|
||||||
# password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
|
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: 192.168.88.4
|
# broker: 192.168.88.4
|
||||||
username: 'miroca'
|
# username: 'miroca'
|
||||||
password: 'cbvgcjy0'
|
# password: 'cbvgcjy0'
|
||||||
discovery: False # disable entity discovery
|
# discovery: False # disable entity discovery
|
||||||
discover_ip: True # enable device discovery
|
# discover_ip: True # enable device discovery
|
||||||
@@ -213,11 +213,12 @@ sensor:
|
|||||||
update_interval: 10s
|
update_interval: 10s
|
||||||
|
|
||||||
|
|
||||||
web_server:
|
# web_server:
|
||||||
port: 80
|
# port: 80
|
||||||
auth:
|
# auth:
|
||||||
username: "silver"
|
# username: "silver"
|
||||||
password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
|
|
||||||
|
|
||||||
# mqtt:
|
# mqtt:
|
||||||
|
|||||||
@@ -257,15 +257,16 @@ sensor:
|
|||||||
- multiply: 0.1
|
- multiply: 0.1
|
||||||
|
|
||||||
|
|
||||||
web_server:
|
# web_server:
|
||||||
port: 80
|
# port: 80
|
||||||
auth:
|
# auth:
|
||||||
username: "silver"
|
# username: "silver"
|
||||||
password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
|
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: 192.168.88.4
|
# broker: 192.168.88.4
|
||||||
username: 'miroca'
|
# username: 'miroca'
|
||||||
password: 'cbvgcjy0'
|
# password: 'cbvgcjy0'
|
||||||
discovery: False # disable entity discovery
|
# discovery: False # disable entity discovery
|
||||||
discover_ip: True # enable device discovery
|
# discover_ip: True # enable device discovery
|
||||||
@@ -511,10 +511,12 @@ sensor:
|
|||||||
# auth:
|
# auth:
|
||||||
# username: "silver"
|
# username: "silver"
|
||||||
# password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
|
|
||||||
|
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: 192.168.88.4
|
# broker: 192.168.88.4
|
||||||
username: 'miroca'
|
# username: 'miroca'
|
||||||
password: 'cbvgcjy0'
|
# password: 'cbvgcjy0'
|
||||||
discovery: False # disable entity discovery
|
# discovery: False # disable entity discovery
|
||||||
discover_ip: True # enable device discovery
|
# discover_ip: True # enable device discovery
|
||||||
@@ -275,15 +275,16 @@ sensor:
|
|||||||
name: "DS18B20_server"
|
name: "DS18B20_server"
|
||||||
update_interval: 10s
|
update_interval: 10s
|
||||||
|
|
||||||
web_server:
|
# web_server:
|
||||||
port: 80
|
# port: 80
|
||||||
auth:
|
# auth:
|
||||||
username: "silver"
|
# username: "silver"
|
||||||
password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
|
|
||||||
mqtt:
|
# mqtt:
|
||||||
broker: 192.168.88.4
|
# broker: 192.168.88.4
|
||||||
username: 'miroca'
|
# username: 'miroca'
|
||||||
password: 'cbvgcjy0'
|
# password: 'cbvgcjy0'
|
||||||
discovery: False # disable entity discovery
|
# discovery: False # disable entity discovery
|
||||||
discover_ip: True # enable device discovery
|
# discover_ip: True # enable device discovery
|
||||||
11
node.yaml
11
node.yaml
@@ -102,8 +102,9 @@ text_sensor:
|
|||||||
id: uptime_human
|
id: uptime_human
|
||||||
icon: mdi:clock-start
|
icon: mdi:clock-start
|
||||||
|
|
||||||
web_server:
|
# web_server:
|
||||||
port: 80
|
# port: 80
|
||||||
auth:
|
# auth:
|
||||||
username: "silver"
|
# username: "silver"
|
||||||
password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
@@ -51,8 +51,9 @@ switch:
|
|||||||
- platform: restart
|
- platform: restart
|
||||||
name: ${devicename} restart
|
name: ${devicename} restart
|
||||||
|
|
||||||
web_server:
|
# web_server:
|
||||||
port: 80
|
# port: 80
|
||||||
auth:
|
# auth:
|
||||||
username: "silver"
|
# username: "silver"
|
||||||
password: "cbvgcjy0"
|
# password: "cbvgcjy0"
|
||||||
|
# js_url: "http://192.168.88.4/static/file/upanel/js/esphome.js"
|
||||||
Reference in New Issue
Block a user