Home Assistant Git Exporter
This commit is contained in:
31
esphome/common/device_base.yaml
Normal file
31
esphome/common/device_base.yaml
Normal file
@@ -0,0 +1,31 @@
|
||||
|
||||
#include logger with syslog, api, ota, webserver, captive portal
|
||||
|
||||
# ajouter ces 3 lignes:
|
||||
#packages:
|
||||
# #include logger with syslog, api, ota, webserver, captive portal
|
||||
# device_base: !include common/device_base.yaml
|
||||
|
||||
#external_components:
|
||||
# - source: github://TheStaticTurtle/esphome_syslog
|
||||
# components: [syslog]
|
||||
|
||||
logger:
|
||||
#level: VERY_VERBOSE
|
||||
|
||||
#syslog:
|
||||
# ip_address: "10.0.0.20"
|
||||
# port: 1514
|
||||
|
||||
# Enable Home Assistant API
|
||||
api:
|
||||
|
||||
|
||||
ota:
|
||||
password: "esphome8"
|
||||
|
||||
web_server:
|
||||
port: 80
|
||||
|
||||
captive_portal:
|
||||
|
||||
3
esphome/common/generic_binarysensor.yaml
Normal file
3
esphome/common/generic_binarysensor.yaml
Normal file
@@ -0,0 +1,3 @@
|
||||
- platform: status
|
||||
name: "${friendly_name} Status"
|
||||
disabled_by_default: true
|
||||
8
esphome/common/generic_sensor.yaml
Normal file
8
esphome/common/generic_sensor.yaml
Normal file
@@ -0,0 +1,8 @@
|
||||
- platform: uptime
|
||||
name: "${friendly_name} Uptime Sensor"
|
||||
update_interval: 600s
|
||||
disabled_by_default: true
|
||||
- platform: wifi_signal
|
||||
name: "WiFi Signal ${friendly_name}"
|
||||
disabled_by_default: true
|
||||
update_interval: 600s
|
||||
5
esphome/common/generic_sensor_wifisignal.yaml
Normal file
5
esphome/common/generic_sensor_wifisignal.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
- platform: wifi_signal
|
||||
name: "WiFi Signal ${friendly_name}"
|
||||
#disabled_by_default: false
|
||||
update_interval: 600s
|
||||
disabled_by_default: true
|
||||
4
esphome/common/generic_switch.yaml
Normal file
4
esphome/common/generic_switch.yaml
Normal file
@@ -0,0 +1,4 @@
|
||||
- platform: restart
|
||||
id: restart_switch
|
||||
name: "${friendly_name} Restart"
|
||||
disabled_by_default: true
|
||||
7
esphome/common/generic_textsensor.yaml
Normal file
7
esphome/common/generic_textsensor.yaml
Normal file
@@ -0,0 +1,7 @@
|
||||
- platform: wifi_info
|
||||
ip_address:
|
||||
name: "${friendly_name} IP Address"
|
||||
disabled_by_default: true
|
||||
ssid:
|
||||
name: "${friendly_name} SSID"
|
||||
disabled_by_default: true
|
||||
5
esphome/common/generic_textsensor_version.yaml
Normal file
5
esphome/common/generic_textsensor_version.yaml
Normal file
@@ -0,0 +1,5 @@
|
||||
- platform: version
|
||||
name: "ESPHome Version"
|
||||
update_interval: 600s
|
||||
disabled_by_default: true
|
||||
|
||||
32
esphome/common/wifi.yaml
Normal file
32
esphome/common/wifi.yaml
Normal file
@@ -0,0 +1,32 @@
|
||||
# In wifi.yaml
|
||||
# include wifi networks, manual_ip, ap
|
||||
#add in substitutions:
|
||||
# devicename: wemosxx
|
||||
# adresse_ip: 10.0.0.x
|
||||
|
||||
# ajouter ces 3 lignes:
|
||||
#packages:
|
||||
# # include wifi networks, manual_ip, ap
|
||||
# wifi: !include common/wifi.yaml
|
||||
|
||||
wifi:
|
||||
networks:
|
||||
- ssid: WifiHome0
|
||||
password: louca2212
|
||||
- ssid: WifiHome
|
||||
password: louca2212
|
||||
- ssid: WifiHome2
|
||||
password: louca2212
|
||||
- ssid: WifiHomeG
|
||||
password: louca2212
|
||||
|
||||
manual_ip:
|
||||
static_ip: ${adresse_ip}
|
||||
gateway: 10.0.0.1
|
||||
subnet: 255.255.252.0
|
||||
dns1: 10.0.0.1
|
||||
dns2: 8.8.8.8
|
||||
|
||||
ap:
|
||||
ssid: ${device_name}SSID
|
||||
password: "esphome8"
|
||||
Reference in New Issue
Block a user