periodic push

This commit is contained in:
2023-06-29 16:14:36 +02:00
parent c948b95622
commit 831f676068
267 changed files with 17705 additions and 10864 deletions

0
esphome/common/api.yaml Executable file
View File

9
esphome/common/bluetooth.yaml Executable file
View File

@@ -0,0 +1,9 @@
---
esp32_ble_tracker:
scan_parameters:
interval: 1100ms # default 320ms
window: 1100ms # default 30ms
active: true
bluetooth_proxy:
active: true

4
esphome/common/common.yaml Executable file
View File

@@ -0,0 +1,4 @@
esphome:
name: ${device_name}
comment: ${comment}
friendly_name: ${friendly_name}

19
esphome/common/deepsleep.yaml Executable file
View File

@@ -0,0 +1,19 @@
---
deep_sleep:
id: deep_sleep_control
run_duration: ${run_duration}
sleep_duration: ${sleep_duration}
wakeup_pin:
number: ${pin_wake}
inverted: true
mode:
input: true
# pullup: true
# Wake Button
binary_sensor:
- platform: gpio
name: '${device_name} Wake Button'
pin: ${pin_wake}
internal: true
setup_priority: 1000

0
esphome/common/ota.yaml Executable file
View File

24
esphome/common/waterpump.yaml Executable file
View File

@@ -0,0 +1,24 @@
---
switch:
- platform: gpio
pin: GPIO19
name: 'Water Pump'
id: water
climate:
- platform: bang_bang
visual:
min_temperature: 0
max_temperature: 100
temperature_step: 1
name: ${device_name} Regler
sensor: ${device_name}_moisture
default_target_temperature_low: 20
default_target_temperature_high: 70
heat_action:
- switch.turn_on: water
idle_action:
- switch.turn_off: water

51
esphome/common/wifi.yaml Executable file
View File

@@ -0,0 +1,51 @@
# Enable Home Assistant API
api:
encryption:
key: ${api_password}
ota:
password: ${ota_password}
wifi:
ssid: ${wifi_ssid}
password: ${wifi_password}
manual_ip:
static_ip: ${ip}
gateway: ${gateway}
subnet: ${subnet}
dns1: 192.169.2.15
dns2: 1.1.1.1
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ${device_name}
password: ${wifi_password}
captive_portal:
sensor:
- platform: wifi_signal
name: "${device_name} WiFi Signal "
update_interval: 10s
text_sensor:
- platform: wifi_info
ssid:
name: "${device_name} Connected SSID"
id: ssid
icon: mdi:wifi-strength-2
entity_category: diagnostic
bssid:
name: "${device_name} Connected BSSID"
id: bssid
icon: mdi:wifi-strength-2
entity_category: diagnostic
mac_address:
name: "${device_name} WiFi Mac Address"
id: macaddress
icon: mdi:wifi-strength-2
entity_category: diagnostic

23
esphome/common/wifi_nosens.yaml Executable file
View File

@@ -0,0 +1,23 @@
api:
encryption:
key: ${api_password}
ota:
password: ${ota_password}
wifi:
ssid: ${wifi_ssid}
password: ${wifi_password}
manual_ip:
static_ip: ${ip}
gateway: ${gateway}
subnet: ${subnet}
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: ${device_name}
password: ${wifi_password}
captive_portal: