mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-07-02 01:06:05 +02:00
Compare commits
9 Commits
ca6f175a58
...
e4c8c72c20
| Author | SHA1 | Date | |
|---|---|---|---|
| e4c8c72c20 | |||
| bd087dc511 | |||
| 184a40ddf7 | |||
| 0f68e1379f | |||
| a76df9405b | |||
| 51f7537244 | |||
| bab7ffafe6 | |||
| e00040e7ee | |||
| 39929e46a7 |
+3
-1
@@ -1,7 +1,9 @@
|
||||
# Gitignore settings for ESPHome
|
||||
# This is an example and may include too much for your use-case.
|
||||
# You can modify this file to suit your needs.
|
||||
/.claude/
|
||||
/.esphome/
|
||||
/secrets.yaml
|
||||
/archive/
|
||||
/trash/
|
||||
/trash/
|
||||
.device-builder.yaml
|
||||
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1,4 +1,4 @@
|
||||
api:
|
||||
encryption:
|
||||
key: !secret api_key
|
||||
reboot_timeout: 0s
|
||||
reboot_timeout: 0s
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: status
|
||||
name: Status
|
||||
id: status_sensor
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: factory_reset
|
||||
name: Factory Defaults
|
||||
id: factory_reset_button
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: restart
|
||||
name: Restart
|
||||
id: restart_button
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: safe_mode
|
||||
name: Restart (Safe Mode)
|
||||
id: restart_safe_mode_button
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: shutdown
|
||||
name: Shutdown
|
||||
id: shutdown_button
|
||||
|
||||
+2
-2
@@ -1,7 +1,7 @@
|
||||
---
|
||||
<<: !include wifi.yaml
|
||||
<<: !include api.yaml
|
||||
<<: !include ota.yaml
|
||||
<<: !include ota_esp32.yaml
|
||||
# <<: !include logger.yaml
|
||||
<<: !include logger_debug.yaml
|
||||
|
||||
@@ -28,4 +28,4 @@ text_sensor:
|
||||
#. - <<: !include time/homeassistant.yaml
|
||||
|
||||
network:
|
||||
enable_ipv6: true
|
||||
enable_ipv6: true
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
<<: !include api.yaml
|
||||
<<: !include ota.yaml
|
||||
<<: !include ota_esp32.yaml
|
||||
<<: !include logger_debug.yaml
|
||||
<<: !include ethernet.yaml
|
||||
|
||||
@@ -22,4 +22,4 @@ text_sensor:
|
||||
- <<: !include text_sensor/ethernet_info.yaml
|
||||
|
||||
network:
|
||||
enable_ipv6: true
|
||||
enable_ipv6: true
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
---
|
||||
ota:
|
||||
- platform: esphome
|
||||
password: !secret ota_password
|
||||
# allow_partition_access: true
|
||||
@@ -2,9 +2,13 @@
|
||||
platform: debug
|
||||
free:
|
||||
name: Heap Free
|
||||
id: heap_free_sensor
|
||||
fragmentation:
|
||||
name: Heap Fragmentation
|
||||
id: heap_fragmentation_sensor
|
||||
block:
|
||||
name: Heap Max Block
|
||||
id: heap_max_block_sensor
|
||||
loop_time:
|
||||
name: Loop Time
|
||||
id: loop_time_sensor
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
platform: uptime
|
||||
name: Uptime
|
||||
id: uptime_sensor
|
||||
unit_of_measurement: "days"
|
||||
accuracy_decimals: 2
|
||||
update_interval: 60s
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
---
|
||||
platform: wifi_signal
|
||||
name: WiFi Signal
|
||||
id: wifi_signal_sensor
|
||||
update_interval: 60s
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: restart
|
||||
name: Restart
|
||||
id: restart_switch
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: safe_mode
|
||||
name: Restart (Safe Mode)
|
||||
id: restart_safe_mode_switch
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: shutdown
|
||||
name: Shutdown
|
||||
id: shutdown_switch
|
||||
|
||||
@@ -2,5 +2,7 @@
|
||||
platform: debug
|
||||
device:
|
||||
name: Device Info
|
||||
id: device_info_sensor
|
||||
reset_reason:
|
||||
name: Reset Reason
|
||||
id: reset_reason_sensor
|
||||
|
||||
@@ -2,7 +2,10 @@
|
||||
platform: ethernet_info
|
||||
ip_address:
|
||||
name: IP Address
|
||||
id: ip_address_sensor
|
||||
address_1:
|
||||
name: IP Address 1
|
||||
id: ip_address_1_sensor
|
||||
address_2:
|
||||
name: IP Address 2
|
||||
name: IP Address 2
|
||||
id: ip_address_2_sensor
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
---
|
||||
platform: git_ref
|
||||
name: Git Ref
|
||||
id: git_ref_sensor
|
||||
long: true
|
||||
all: true
|
||||
abbrev: 16
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: uptime
|
||||
name: Uptime
|
||||
name: Uptime
|
||||
id: uptime_sensor
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
platform: version
|
||||
name: Version
|
||||
id: version_sensor
|
||||
|
||||
@@ -2,29 +2,39 @@
|
||||
platform: wifi_info
|
||||
ip_address:
|
||||
name: IP Address
|
||||
id: ip_address_sensor
|
||||
icon: mdi:ip-network
|
||||
# address_0:
|
||||
# name: IP Address 0
|
||||
# icon: mdi:ip-network
|
||||
address_1:
|
||||
name: IP Address 1
|
||||
id: ip_address_1_sensor
|
||||
icon: mdi:ip-network
|
||||
address_2:
|
||||
name: IP Address 2
|
||||
id: ip_address_2_sensor
|
||||
icon: mdi:ip-network
|
||||
# address_3:
|
||||
# name: IP Address 3
|
||||
# id: ip_address_3_sensor
|
||||
# icon: mdi:ip-network
|
||||
# address_4:
|
||||
# name: IP Address 4
|
||||
# id: ip_address_4_sensor
|
||||
# icon: mdi:ip-network
|
||||
#ssid:
|
||||
# name: SSID
|
||||
# id: ssid_sensor
|
||||
#bssid:
|
||||
# name: BSSID
|
||||
# id: bssid_sensor
|
||||
mac_address:
|
||||
name: MAC
|
||||
id: mac_address_sensor
|
||||
#scan_results:
|
||||
# name: Latest Scan Results
|
||||
# id: scan_results_sensor
|
||||
power_save_mode:
|
||||
name: WiFi Power Save Mode
|
||||
name: WiFi Power Save Mode
|
||||
id: wifi_power_save_mode_sensor
|
||||
|
||||
@@ -6,3 +6,4 @@ wifi:
|
||||
password: !secret wifi_password
|
||||
# enable_btm: true
|
||||
# enable_rrm: true
|
||||
min_auth_mode: WPA2
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export ESPHOME_IS_HA_ADDON=true
|
||||
|
||||
while IFS=, read -r device
|
||||
do
|
||||
esphome compile ${device}.yaml
|
||||
# esphome upload ${device}.yaml --device ${device}.local
|
||||
# esphome run ${device}.yaml
|
||||
done < devices_dev.csv
|
||||
# done < devices_prod.csv
|
||||
#done < devices_nspanel.csv
|
||||
-28
@@ -1,28 +0,0 @@
|
||||
m5stickc
|
||||
mcu-basement
|
||||
mcu-cam-1
|
||||
mcu-clock-1
|
||||
mcu-desk-lamp
|
||||
mcu-dev-1
|
||||
mcu-dev-2
|
||||
mcu-dev-heating
|
||||
mcu-dev-lora
|
||||
mcu-dev-neo
|
||||
mcu-dimmer
|
||||
mcu-fireplace
|
||||
mcu-gate
|
||||
mcu-heating
|
||||
mcu-irrigation-1
|
||||
mcu-mini-01
|
||||
mcu-mini-02
|
||||
mcu-mini-03
|
||||
mcu-mini-04
|
||||
mcu-patio
|
||||
mcu-rf433
|
||||
mcu-socket-01
|
||||
mcu-socket-02
|
||||
mcu-socket-03
|
||||
mcu-sw-office-r
|
||||
mcu-tv-light
|
||||
mcu-waterproof-socket
|
||||
secrets
|
||||
|
@@ -1,3 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
ls -1 *.yaml | sed "s/.yaml//g" > devices.csv
|
||||
@@ -1,4 +0,0 @@
|
||||
mcu-clock-1
|
||||
mcu-nspanel-dev
|
||||
mcu-gateway
|
||||
mcu-atoms3
|
||||
|
@@ -1,4 +0,0 @@
|
||||
nodemcu_cam_1
|
||||
nodemcu_heating_dev
|
||||
nodemcu_heating_dev_2
|
||||
nodemcu_neo_0
|
||||
|
@@ -1,7 +0,0 @@
|
||||
mcu-nspanel-bedroom
|
||||
mcu-nspanel-dev
|
||||
mcu-nspanel-ex
|
||||
mcu-nspanel-office-j
|
||||
mcu-nspanel-office-r
|
||||
mcu-nspanel-patio
|
||||
mcu-nspanel-fireplace
|
||||
|
@@ -1,27 +0,0 @@
|
||||
mcu-basement
|
||||
mcu-basement-2
|
||||
mcu-clock-1
|
||||
mcu-desk-lamp
|
||||
mcu-dimmer
|
||||
mcu-fireplace
|
||||
mcu-echo
|
||||
mcu-gate
|
||||
mcu-heating
|
||||
mcu-kitchen
|
||||
mcu-office-r
|
||||
mcu-mains-power
|
||||
mcu-nspanel-bedroom
|
||||
mcu-nspanel-office-j
|
||||
mcu-nspanel-office-r
|
||||
mcu-nspanel-patio
|
||||
mcu-nspanel-fireplace
|
||||
mcu-rf433
|
||||
mcu-socket-01
|
||||
mcu-socket-02
|
||||
mcu-socket-03
|
||||
mcu-patio
|
||||
mcu-shed
|
||||
mcu-staircase-light
|
||||
mcu-tv-light
|
||||
mcu-waterproof-socket
|
||||
mcu-well
|
||||
|
+2
-1
@@ -28,7 +28,6 @@ esphome:
|
||||
- light.turn_off: light_3
|
||||
# - light.turn_off: light_4
|
||||
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
framework:
|
||||
@@ -37,6 +36,8 @@ esp32:
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
api:
|
||||
reboot_timeout: 300s
|
||||
|
||||
# PINOUTS: M5ATOM+Atom Hub Switch
|
||||
# IR G12
|
||||
|
||||
@@ -51,6 +51,10 @@ api:
|
||||
- switch.turn_on: irrigation_relay_2
|
||||
- delay: 4minutes
|
||||
- switch.turn_off: irrigation_relay_2
|
||||
- delay: 2minutes
|
||||
- switch.turn_on: irrigation_relay_3
|
||||
- delay: 4minutes
|
||||
- switch.turn_off: irrigation_relay_3
|
||||
# - switch.turn_on: irrigation_relay_4
|
||||
# - delay: 40minutes
|
||||
# - switch.turn_off: irrigation_relay_4
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
export ESPHOME_IS_HA_ADDON=true
|
||||
|
||||
while IFS=, read -r device
|
||||
do
|
||||
esphome upload ${device}.yaml --device ${device}.local
|
||||
#done < devices_nspanel.csv
|
||||
done < devices_prod.csv
|
||||
Reference in New Issue
Block a user