Compare commits

...

9 Commits

Author SHA1 Message Date
randy e4c8c72c20 Custom scripts and related device lists are no longer needed
CI / YAML lint (push) Has been cancelled
CI / ESPHome config validation (push) Has been cancelled
2026-05-07 00:31:06 +02:00
randy bd087dc511 Update .gitignore to include .device-builder.yaml and .claude 2026-05-06 22:25:39 +02:00
randy 184a40ddf7 Add local fonts 2026-05-06 22:24:36 +02:00
randy 0f68e1379f switch to specific OTA for esp32 devices with ethernet 2026-05-06 22:24:08 +02:00
randy a76df9405b Add id's to all common components 2026-05-06 22:20:29 +02:00
randy 51f7537244 Separate OTA for esp32 which supports partition table update via OTA 2026-05-06 22:18:49 +02:00
randy bab7ffafe6 Force WPA2 for esp8266 devices 2026-05-06 22:17:59 +02:00
randy e00040e7ee Add A3 to morning irrigation cycle 2026-05-06 22:17:25 +02:00
randy 39929e46a7 Reboot mcu-kitchen when API is stuck due weak wifi 2026-05-06 22:16:09 +02:00
35 changed files with 55 additions and 104 deletions
+3 -1
View File
@@ -1,7 +1,9 @@
# Gitignore settings for ESPHome # Gitignore settings for ESPHome
# This is an example and may include too much for your use-case. # This is an example and may include too much for your use-case.
# You can modify this file to suit your needs. # You can modify this file to suit your needs.
/.claude/
/.esphome/ /.esphome/
/secrets.yaml /secrets.yaml
/archive/ /archive/
/trash/ /trash/
.device-builder.yaml
Binary file not shown.
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
api: api:
encryption: encryption:
key: !secret api_key key: !secret api_key
reboot_timeout: 0s reboot_timeout: 0s
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: status platform: status
name: Status name: Status
id: status_sensor
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: factory_reset platform: factory_reset
name: Factory Defaults name: Factory Defaults
id: factory_reset_button
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: restart platform: restart
name: Restart name: Restart
id: restart_button
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: safe_mode platform: safe_mode
name: Restart (Safe Mode) name: Restart (Safe Mode)
id: restart_safe_mode_button
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: shutdown platform: shutdown
name: Shutdown name: Shutdown
id: shutdown_button
+2 -2
View File
@@ -1,7 +1,7 @@
--- ---
<<: !include wifi.yaml <<: !include wifi.yaml
<<: !include api.yaml <<: !include api.yaml
<<: !include ota.yaml <<: !include ota_esp32.yaml
# <<: !include logger.yaml # <<: !include logger.yaml
<<: !include logger_debug.yaml <<: !include logger_debug.yaml
@@ -28,4 +28,4 @@ text_sensor:
#. - <<: !include time/homeassistant.yaml #. - <<: !include time/homeassistant.yaml
network: network:
enable_ipv6: true enable_ipv6: true
+2 -2
View File
@@ -1,6 +1,6 @@
--- ---
<<: !include api.yaml <<: !include api.yaml
<<: !include ota.yaml <<: !include ota_esp32.yaml
<<: !include logger_debug.yaml <<: !include logger_debug.yaml
<<: !include ethernet.yaml <<: !include ethernet.yaml
@@ -22,4 +22,4 @@ text_sensor:
- <<: !include text_sensor/ethernet_info.yaml - <<: !include text_sensor/ethernet_info.yaml
network: network:
enable_ipv6: true enable_ipv6: true
+5
View File
@@ -0,0 +1,5 @@
---
ota:
- platform: esphome
password: !secret ota_password
# allow_partition_access: true
+4
View File
@@ -2,9 +2,13 @@
platform: debug platform: debug
free: free:
name: Heap Free name: Heap Free
id: heap_free_sensor
fragmentation: fragmentation:
name: Heap Fragmentation name: Heap Fragmentation
id: heap_fragmentation_sensor
block: block:
name: Heap Max Block name: Heap Max Block
id: heap_max_block_sensor
loop_time: loop_time:
name: Loop Time name: Loop Time
id: loop_time_sensor
+1
View File
@@ -1,6 +1,7 @@
--- ---
platform: uptime platform: uptime
name: Uptime name: Uptime
id: uptime_sensor
unit_of_measurement: "days" unit_of_measurement: "days"
accuracy_decimals: 2 accuracy_decimals: 2
update_interval: 60s update_interval: 60s
+1
View File
@@ -1,4 +1,5 @@
--- ---
platform: wifi_signal platform: wifi_signal
name: WiFi Signal name: WiFi Signal
id: wifi_signal_sensor
update_interval: 60s update_interval: 60s
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: restart platform: restart
name: Restart name: Restart
id: restart_switch
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: safe_mode platform: safe_mode
name: Restart (Safe Mode) name: Restart (Safe Mode)
id: restart_safe_mode_switch
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: shutdown platform: shutdown
name: Shutdown name: Shutdown
id: shutdown_switch
+2
View File
@@ -2,5 +2,7 @@
platform: debug platform: debug
device: device:
name: Device Info name: Device Info
id: device_info_sensor
reset_reason: reset_reason:
name: Reset Reason name: Reset Reason
id: reset_reason_sensor
+4 -1
View File
@@ -2,7 +2,10 @@
platform: ethernet_info platform: ethernet_info
ip_address: ip_address:
name: IP Address name: IP Address
id: ip_address_sensor
address_1: address_1:
name: IP Address 1 name: IP Address 1
id: ip_address_1_sensor
address_2: address_2:
name: IP Address 2 name: IP Address 2
id: ip_address_2_sensor
+1
View File
@@ -1,6 +1,7 @@
--- ---
platform: git_ref platform: git_ref
name: Git Ref name: Git Ref
id: git_ref_sensor
long: true long: true
all: true all: true
abbrev: 16 abbrev: 16
+2 -1
View File
@@ -1,3 +1,4 @@
--- ---
platform: uptime platform: uptime
name: Uptime name: Uptime
id: uptime_sensor
+1
View File
@@ -1,3 +1,4 @@
--- ---
platform: version platform: version
name: Version name: Version
id: version_sensor
+11 -1
View File
@@ -2,29 +2,39 @@
platform: wifi_info platform: wifi_info
ip_address: ip_address:
name: IP Address name: IP Address
id: ip_address_sensor
icon: mdi:ip-network icon: mdi:ip-network
# address_0: # address_0:
# name: IP Address 0 # name: IP Address 0
# icon: mdi:ip-network # icon: mdi:ip-network
address_1: address_1:
name: IP Address 1 name: IP Address 1
id: ip_address_1_sensor
icon: mdi:ip-network icon: mdi:ip-network
address_2: address_2:
name: IP Address 2 name: IP Address 2
id: ip_address_2_sensor
icon: mdi:ip-network icon: mdi:ip-network
# address_3: # address_3:
# name: IP Address 3 # name: IP Address 3
# id: ip_address_3_sensor
# icon: mdi:ip-network # icon: mdi:ip-network
# address_4: # address_4:
# name: IP Address 4 # name: IP Address 4
# id: ip_address_4_sensor
# icon: mdi:ip-network # icon: mdi:ip-network
#ssid: #ssid:
# name: SSID # name: SSID
# id: ssid_sensor
#bssid: #bssid:
# name: BSSID # name: BSSID
# id: bssid_sensor
mac_address: mac_address:
name: MAC name: MAC
id: mac_address_sensor
#scan_results: #scan_results:
# name: Latest Scan Results # name: Latest Scan Results
# id: scan_results_sensor
power_save_mode: power_save_mode:
name: WiFi Power Save Mode name: WiFi Power Save Mode
id: wifi_power_save_mode_sensor
+1
View File
@@ -6,3 +6,4 @@ wifi:
password: !secret wifi_password password: !secret wifi_password
# enable_btm: true # enable_btm: true
# enable_rrm: true # enable_rrm: true
min_auth_mode: WPA2
-12
View File
@@ -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
View File
@@ -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 m5stickc
2 mcu-basement
3 mcu-cam-1
4 mcu-clock-1
5 mcu-desk-lamp
6 mcu-dev-1
7 mcu-dev-2
8 mcu-dev-heating
9 mcu-dev-lora
10 mcu-dev-neo
11 mcu-dimmer
12 mcu-fireplace
13 mcu-gate
14 mcu-heating
15 mcu-irrigation-1
16 mcu-mini-01
17 mcu-mini-02
18 mcu-mini-03
19 mcu-mini-04
20 mcu-patio
21 mcu-rf433
22 mcu-socket-01
23 mcu-socket-02
24 mcu-socket-03
25 mcu-sw-office-r
26 mcu-tv-light
27 mcu-waterproof-socket
28 secrets
-3
View File
@@ -1,3 +0,0 @@
#!/bin/bash
ls -1 *.yaml | sed "s/.yaml//g" > devices.csv
-4
View File
@@ -1,4 +0,0 @@
mcu-clock-1
mcu-nspanel-dev
mcu-gateway
mcu-atoms3
1 mcu-clock-1
2 mcu-nspanel-dev
3 mcu-gateway
4 mcu-atoms3
-4
View File
@@ -1,4 +0,0 @@
nodemcu_cam_1
nodemcu_heating_dev
nodemcu_heating_dev_2
nodemcu_neo_0
1 nodemcu_cam_1
2 nodemcu_heating_dev
3 nodemcu_heating_dev_2
4 nodemcu_neo_0
-7
View File
@@ -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 mcu-nspanel-bedroom
2 mcu-nspanel-dev
3 mcu-nspanel-ex
4 mcu-nspanel-office-j
5 mcu-nspanel-office-r
6 mcu-nspanel-patio
7 mcu-nspanel-fireplace
-27
View File
@@ -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
1 mcu-basement
2 mcu-basement-2
3 mcu-clock-1
4 mcu-desk-lamp
5 mcu-dimmer
6 mcu-fireplace
7 mcu-echo
8 mcu-gate
9 mcu-heating
10 mcu-kitchen
11 mcu-office-r
12 mcu-mains-power
13 mcu-nspanel-bedroom
14 mcu-nspanel-office-j
15 mcu-nspanel-office-r
16 mcu-nspanel-patio
17 mcu-nspanel-fireplace
18 mcu-rf433
19 mcu-socket-01
20 mcu-socket-02
21 mcu-socket-03
22 mcu-patio
23 mcu-shed
24 mcu-staircase-light
25 mcu-tv-light
26 mcu-waterproof-socket
27 mcu-well
+2 -1
View File
@@ -28,7 +28,6 @@ esphome:
- light.turn_off: light_3 - light.turn_off: light_3
# - light.turn_off: light_4 # - light.turn_off: light_4
esp32: esp32:
variant: esp32 variant: esp32
framework: framework:
@@ -37,6 +36,8 @@ esp32:
packages: packages:
common: !include common/common.yaml common: !include common/common.yaml
api:
reboot_timeout: 300s
# PINOUTS: M5ATOM+Atom Hub Switch # PINOUTS: M5ATOM+Atom Hub Switch
# IR G12 # IR G12
+4
View File
@@ -51,6 +51,10 @@ api:
- switch.turn_on: irrigation_relay_2 - switch.turn_on: irrigation_relay_2
- delay: 4minutes - delay: 4minutes
- switch.turn_off: irrigation_relay_2 - 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 # - switch.turn_on: irrigation_relay_4
# - delay: 40minutes # - delay: 40minutes
# - switch.turn_off: irrigation_relay_4 # - switch.turn_off: irrigation_relay_4
-9
View File
@@ -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