mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-07-02 09:16:04 +02:00
Compare commits
36 Commits
06f125e851
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 083d603777 | |||
| 213b092029 | |||
| 6791ecd849 | |||
| ef51ad3f0e | |||
| 1b55751c7d | |||
| ad6fa5bfc8 | |||
| 7764995c14 | |||
| 3d1318956e | |||
| 2954489bb9 | |||
| d3cd52ac49 | |||
| 85af3e7ece | |||
| 83def722f5 | |||
| 2229e5006e | |||
| 4b9a9763a9 | |||
| fc37633d53 | |||
| eb85d84880 | |||
| 85c2caa9eb | |||
| 259d269af5 | |||
| 252c4c3f22 | |||
| 4237c7c4ce | |||
| 34c4c475ea | |||
| bfcf9005d6 | |||
| 3a23b88823 | |||
| e4c8c72c20 | |||
| bd087dc511 | |||
| 184a40ddf7 | |||
| 0f68e1379f | |||
| a76df9405b | |||
| 51f7537244 | |||
| bab7ffafe6 | |||
| e00040e7ee | |||
| 39929e46a7 | |||
| ca6f175a58 | |||
| 945b60c168 | |||
| 4a95ebbc79 | |||
| fb9822a5be |
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"_preferences": {
|
||||||
|
"editor_layout": "both"
|
||||||
|
}
|
||||||
|
}
|
||||||
+4
-1
@@ -1,7 +1,10 @@
|
|||||||
# 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
|
||||||
|
.device-builder.json
|
||||||
|
|||||||
Vendored
+5
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"files.associations": {
|
||||||
|
"*.yaml": "esphome"
|
||||||
|
}
|
||||||
|
}
|
||||||
Binary file not shown.
Binary file not shown.
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
api:
|
api:
|
||||||
encryption:
|
encryption:
|
||||||
key: !secret api_key
|
key: !secret api_key
|
||||||
reboot_timeout: 0s
|
reboot_timeout: 0s
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: status
|
platform: status
|
||||||
name: Status
|
name: Status
|
||||||
|
id: status_sensor
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: factory_reset
|
platform: factory_reset
|
||||||
name: Factory Defaults
|
name: Factory Defaults
|
||||||
|
id: factory_reset_button
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: restart
|
platform: restart
|
||||||
name: Restart
|
name: Restart
|
||||||
|
id: restart_button
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: safe_mode
|
platform: safe_mode
|
||||||
name: Restart (Safe Mode)
|
name: Restart (Safe Mode)
|
||||||
|
id: restart_safe_mode_button
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: shutdown
|
platform: shutdown
|
||||||
name: Shutdown
|
name: Shutdown
|
||||||
|
id: shutdown_button
|
||||||
|
|||||||
+2
-2
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
ota:
|
||||||
|
- platform: esphome
|
||||||
|
password: !secret ota_password
|
||||||
|
allow_partition_access: true
|
||||||
@@ -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,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,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,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: restart
|
platform: restart
|
||||||
name: Restart
|
name: Restart
|
||||||
|
id: restart_switch
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: safe_mode
|
platform: safe_mode
|
||||||
name: Restart (Safe Mode)
|
name: Restart (Safe Mode)
|
||||||
|
id: restart_safe_mode_switch
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: shutdown
|
platform: shutdown
|
||||||
name: Shutdown
|
name: Shutdown
|
||||||
|
id: shutdown_switch
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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,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
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: uptime
|
platform: uptime
|
||||||
name: Uptime
|
name: Uptime
|
||||||
|
id: uptime_sensor
|
||||||
|
|||||||
@@ -1,3 +1,4 @@
|
|||||||
---
|
---
|
||||||
platform: version
|
platform: version
|
||||||
name: Version
|
name: Version
|
||||||
|
id: version_sensor
|
||||||
|
|||||||
@@ -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,5 +1,6 @@
|
|||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
|
@@ -4,7 +4,7 @@ substitutions:
|
|||||||
name: Office R Air
|
name: Office R Air
|
||||||
name_short: Office R
|
name_short: Office R
|
||||||
area: Office R
|
area: Office R
|
||||||
comment: "${area} | AirQ Monitoring"
|
comment: AirQ Monitoring
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -14,6 +14,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,116 @@
|
|||||||
|
---
|
||||||
|
substitutions:
|
||||||
|
device: apollo-dev #test
|
||||||
|
name: Apollo DEV #test
|
||||||
|
area: DEV
|
||||||
|
comment: --
|
||||||
|
|
||||||
|
esphome:
|
||||||
|
name: mcu-${device} #test
|
||||||
|
friendly_name: ${name} #test
|
||||||
|
area: ${area}
|
||||||
|
comment: ${comment}
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
variant: esp32c6
|
||||||
|
flash_size: 8MB
|
||||||
|
framework:
|
||||||
|
type: esp-idf
|
||||||
|
|
||||||
|
packages:
|
||||||
|
common: !include common/common.yaml
|
||||||
|
|
||||||
|
api:
|
||||||
|
# https://github.com/granadaxronos/120-SONG_NOKIA_RTTTL_RINGTONE_PLAYER_FOR_ARDUINO_UNO/blob/master/RTTTL_PLAYER/songs.h
|
||||||
|
services:
|
||||||
|
- service: play_rtttl
|
||||||
|
variables:
|
||||||
|
song: string
|
||||||
|
then:
|
||||||
|
- rtttl.play:
|
||||||
|
rtttl: !lambda 'return song;'
|
||||||
|
|
||||||
|
switch:
|
||||||
|
- platform: gpio
|
||||||
|
id: accessory_power
|
||||||
|
internal: true
|
||||||
|
name: Accessory Power
|
||||||
|
pin: 4
|
||||||
|
restore_mode: ALWAYS_ON
|
||||||
|
setup_priority: 2000
|
||||||
|
|
||||||
|
web_server:
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: esp32_rmt_led_strip
|
||||||
|
name: RGB LEDs
|
||||||
|
pin: 14
|
||||||
|
id: rgb_leds
|
||||||
|
chipset: WS2812
|
||||||
|
num_leds: 10
|
||||||
|
rgb_order: GRB
|
||||||
|
rmt_symbols: 48
|
||||||
|
effects:
|
||||||
|
# Use default parameters:
|
||||||
|
- random:
|
||||||
|
# Customize parameters
|
||||||
|
- random:
|
||||||
|
name: "My Slow Random Effect"
|
||||||
|
transition_length: 30s
|
||||||
|
update_interval: 30s
|
||||||
|
- random:
|
||||||
|
name: "My Fast Random Effect"
|
||||||
|
transition_length: 4s
|
||||||
|
update_interval: 5s
|
||||||
|
- addressable_rainbow:
|
||||||
|
- addressable_color_wipe:
|
||||||
|
- addressable_scan:
|
||||||
|
- addressable_twinkle:
|
||||||
|
- addressable_random_twinkle:
|
||||||
|
- addressable_fireworks:
|
||||||
|
- addressable_flicker:
|
||||||
|
- platform: esp32_rmt_led_strip
|
||||||
|
name: Onboard RGB LED
|
||||||
|
pin: 5
|
||||||
|
id: onboard_rgb_led
|
||||||
|
chipset: WS2812
|
||||||
|
num_leds: 1
|
||||||
|
rgb_order: GRB
|
||||||
|
rmt_symbols: 48
|
||||||
|
|
||||||
|
output:
|
||||||
|
- platform: ledc
|
||||||
|
pin: 18
|
||||||
|
id: buzzer_output
|
||||||
|
|
||||||
|
rtttl:
|
||||||
|
- output: buzzer_output
|
||||||
|
id: rtttl_player
|
||||||
|
|
||||||
|
i2c:
|
||||||
|
- scl: 0
|
||||||
|
sda: 1
|
||||||
|
id: i2c_1
|
||||||
|
|
||||||
|
sensor:
|
||||||
|
- platform: aht10
|
||||||
|
i2c_id: i2c_1
|
||||||
|
variant: AHT20
|
||||||
|
humidity:
|
||||||
|
name: Humidity
|
||||||
|
id: aht20_humidity
|
||||||
|
device_class: humidity
|
||||||
|
unit_of_measurement: "%"
|
||||||
|
accuracy_decimals: 2
|
||||||
|
force_update: false
|
||||||
|
state_class: measurement
|
||||||
|
temperature:
|
||||||
|
name: Temperature
|
||||||
|
id: aht20_temperature
|
||||||
|
device_class: temperature
|
||||||
|
unit_of_measurement: °C
|
||||||
|
accuracy_decimals: 2
|
||||||
|
force_update: false
|
||||||
|
state_class: measurement
|
||||||
|
id: aht20
|
||||||
+20
-10
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: atoms3
|
device: atoms3
|
||||||
name: AtomS3
|
name: AtomS3
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | --"
|
comment: --
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -21,6 +21,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
variant: esp32s3
|
variant: esp32s3
|
||||||
flash_size: 8MB
|
flash_size: 8MB
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
@@ -207,7 +208,15 @@ output:
|
|||||||
- platform: gpio
|
- platform: gpio
|
||||||
id: motor_in2
|
id: motor_in2
|
||||||
pin: 2
|
pin: 2
|
||||||
|
- platform: ledc
|
||||||
|
pin: 16
|
||||||
|
id: gpio_tft_backlight
|
||||||
|
|
||||||
|
light:
|
||||||
|
- platform: monochromatic
|
||||||
|
id: display_tft_backlight
|
||||||
|
output: gpio_tft_backlight
|
||||||
|
restore_mode: ALWAYS_ON
|
||||||
|
|
||||||
switch:
|
switch:
|
||||||
- platform: template
|
- platform: template
|
||||||
@@ -261,7 +270,7 @@ switch:
|
|||||||
name: "PCF8574 Pin #8"
|
name: "PCF8574 Pin #8"
|
||||||
pin:
|
pin:
|
||||||
pcf8574: pcf8574_hub
|
pcf8574: pcf8574_hub
|
||||||
number: 17
|
number: 9
|
||||||
# One of INPUT or OUTPUT
|
# One of INPUT or OUTPUT
|
||||||
mode:
|
mode:
|
||||||
output: true
|
output: true
|
||||||
@@ -360,18 +369,19 @@ font:
|
|||||||
size: 12
|
size: 12
|
||||||
|
|
||||||
display:
|
display:
|
||||||
- platform: st7789v
|
- platform: mipi_spi
|
||||||
|
model: ST7789V
|
||||||
id: display_tft
|
id: display_tft
|
||||||
model: Custom
|
dimensions:
|
||||||
height: 128
|
height: 128
|
||||||
width: 128
|
width: 128
|
||||||
offset_height: 2
|
offset_height: 2
|
||||||
offset_width: 1
|
offset_width: 1
|
||||||
backlight_pin: 16
|
# backlight_pin: 16
|
||||||
cs_pin: 15
|
cs_pin: 15
|
||||||
dc_pin: 33
|
dc_pin: 33
|
||||||
reset_pin: 34
|
reset_pin: 34
|
||||||
eightbitcolor: true
|
# eightbitcolor: true
|
||||||
update_interval: 1s
|
update_interval: 1s
|
||||||
lambda: |-
|
lambda: |-
|
||||||
//Ingress shown animation Frame.
|
//Ingress shown animation Frame.
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ substitutions:
|
|||||||
name_short: Basement
|
name_short: Basement
|
||||||
name: Basement 2
|
name: Basement 2
|
||||||
area: Basement
|
area: Basement
|
||||||
comment: "${area} | Lights"
|
comment: Lights
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: basement
|
device: basement
|
||||||
name: Basement
|
name: Basement
|
||||||
area: Basement
|
area: Basement
|
||||||
comment: "${area} | Sockets"
|
comment: Sockets
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: bedroom-lamp-left
|
device: bedroom-lamp-left
|
||||||
name: Bedroom Lamp Left
|
name: Bedroom Lamp Left
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | Left Lamp"
|
comment: Left Lamp
|
||||||
default_transition_length: 800ms
|
default_transition_length: 800ms
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
@@ -14,6 +14,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
@@ -131,6 +132,7 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
platform: esphome
|
platform: esphome
|
||||||
password: !secret ota_password
|
password: !secret ota_password
|
||||||
|
allow_partition_access: true
|
||||||
on_begin:
|
on_begin:
|
||||||
then:
|
then:
|
||||||
- light.disco_on:
|
- light.disco_on:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: bedroom-lamp-right
|
device: bedroom-lamp-right
|
||||||
name: Bedroom Lamp Right
|
name: Bedroom Lamp Right
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | Right Lamp"
|
comment: Right Lamp
|
||||||
default_transition_length: 800ms
|
default_transition_length: 800ms
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
@@ -14,6 +14,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
sdkconfig_options:
|
sdkconfig_options:
|
||||||
@@ -128,6 +129,7 @@ api:
|
|||||||
ota:
|
ota:
|
||||||
platform: esphome
|
platform: esphome
|
||||||
password: !secret ota_password
|
password: !secret ota_password
|
||||||
|
allow_partition_access: true
|
||||||
on_begin:
|
on_begin:
|
||||||
then:
|
then:
|
||||||
- light.disco_on:
|
- light.disco_on:
|
||||||
|
|||||||
+2
-3
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: c6-test-1
|
device: c6-test-1
|
||||||
name: C6 TEST 1
|
name: C6 TEST 1
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | C6"
|
comment: C6
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -39,10 +39,9 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
variant: esp32c6
|
variant: esp32c6
|
||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.4.2
|
|
||||||
# platform_version: 54.03.21
|
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
hardware_uart: USB_SERIAL_JTAG
|
hardware_uart: USB_SERIAL_JTAG
|
||||||
|
|||||||
+2
-3
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: c6-test-2
|
device: c6-test-2
|
||||||
name: C6 TEST 2
|
name: C6 TEST 2
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | C6"
|
comment: C6
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -39,10 +39,9 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
variant: esp32c6
|
variant: esp32c6
|
||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.4.2
|
|
||||||
# platform_version: 54.03.21
|
|
||||||
|
|
||||||
logger:
|
logger:
|
||||||
hardware_uart: USB_SERIAL_JTAG
|
hardware_uart: USB_SERIAL_JTAG
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: cam-1
|
device: cam-1
|
||||||
name: Cam 1
|
name: Cam 1
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | Camera"
|
comment: Camera
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -12,8 +12,8 @@ esphome:
|
|||||||
comment: ${comment}
|
comment: ${comment}
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
# board: esp32cam
|
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: can-node-1
|
device: can-node-1
|
||||||
name: CAN Node 1
|
name: CAN Node 1
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | CANopen"
|
comment: CANopen
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: can-node-2
|
device: can-node-2
|
||||||
name: CAN Node 2
|
name: CAN Node 2
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | CANopen"
|
comment: CANopen
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: cec-bedroom
|
device: cec-bedroom
|
||||||
name: Bedroom TV
|
name: Bedroom TV
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | CEC"
|
comment: CEC
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: clock-1
|
device: clock-1
|
||||||
name: Clock 1
|
name: Clock 1
|
||||||
area: Office R
|
area: Office R
|
||||||
comment: "${area} | Clock"
|
comment: Clock
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -15,6 +15,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32c3
|
variant: esp32c3
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.4.2
|
# version: 5.4.2
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: clock-living-room
|
device: clock-living-room
|
||||||
name: Living room Clock
|
name: Living room Clock
|
||||||
area: Living Room & Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area}: TV Rack Clock"
|
comment: TV Rack Clock
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: desk-lamp
|
device: desk-lamp
|
||||||
name: Desk Lamp
|
name: Desk Lamp
|
||||||
area: Room
|
area: Room
|
||||||
comment: "${area} | Desk lamp"
|
comment: Desk lamp
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-2
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: dimmer
|
device: dimmer
|
||||||
name: Dimmer
|
name: Dimmer
|
||||||
area: Basement
|
area: Basement
|
||||||
comment: "${area} | Pain cave fan"
|
comment: Pain cave fan
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -28,10 +28,10 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -4,7 +4,7 @@ substitutions:
|
|||||||
name: Echo 1
|
name: Echo 1
|
||||||
name_short: Echo 1
|
name_short: Echo 1
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | Echo"
|
comment: Echo
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
+4
-2
@@ -4,7 +4,7 @@ substitutions:
|
|||||||
name: Echo
|
name: Echo
|
||||||
name_short: Echo
|
name_short: Echo
|
||||||
area: Office R
|
area: Office R
|
||||||
comment: "${area} | Speaker"
|
comment: Speaker
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -14,6 +14,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
@@ -101,7 +102,7 @@ speaker:
|
|||||||
dac_type: external
|
dac_type: external
|
||||||
i2s_dout_pin: 22
|
i2s_dout_pin: 22
|
||||||
channel: mono
|
channel: mono
|
||||||
sample_rate: 48000
|
sample_rate: 16000
|
||||||
buffer_duration: 100ms # Smaller buffer
|
buffer_duration: 100ms # Smaller buffer
|
||||||
- platform: mixer
|
- platform: mixer
|
||||||
id: mixer_speaker_id
|
id: mixer_speaker_id
|
||||||
@@ -127,6 +128,7 @@ media_player:
|
|||||||
id: media_out
|
id: media_out
|
||||||
name: Player
|
name: Player
|
||||||
codec_support_enabled: false
|
codec_support_enabled: false
|
||||||
|
buffer_size: 14000
|
||||||
media_pipeline:
|
media_pipeline:
|
||||||
speaker: media_spk_resampling_input
|
speaker: media_spk_resampling_input
|
||||||
# format: WAV
|
# format: WAV
|
||||||
|
|||||||
+4
-1
@@ -2,17 +2,20 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device: eworkbench
|
device: eworkbench
|
||||||
name: Electronics Workbench
|
name: Electronics Workbench
|
||||||
comment: "Office R | Electronics Workbench"
|
area: Office R
|
||||||
|
comment: Electronics Workbench
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
friendly_name: ${name}
|
friendly_name: ${name}
|
||||||
|
area: ${area}
|
||||||
comment: ${comment}
|
comment: ${comment}
|
||||||
platformio_options:
|
platformio_options:
|
||||||
board_build.flash_mode: dio
|
board_build.flash_mode: dio
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32c3
|
variant: esp32c3
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: fireplace
|
device: fireplace
|
||||||
name: Heating Fireplace
|
name: Heating Fireplace
|
||||||
area: Living Room & Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area}, Fireplace | Fireplace monitoring for heating"
|
comment: Fireplace monitoring for heating
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+17
-16
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: gate
|
device: gate
|
||||||
name: Gate
|
name: Gate
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area} | Gate"
|
comment: Gate
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
@@ -142,7 +143,7 @@ binary_sensor:
|
|||||||
mode:
|
mode:
|
||||||
input: true
|
input: true
|
||||||
filters:
|
filters:
|
||||||
- delayed_on: 10ms
|
- delayed_on_off: 10ms
|
||||||
entity_category: diagnostic
|
entity_category: diagnostic
|
||||||
on_multi_click:
|
on_multi_click:
|
||||||
- timing:
|
- timing:
|
||||||
@@ -154,15 +155,23 @@ binary_sensor:
|
|||||||
- logger.log: "OGI OFF => GATE CLOSED"
|
- logger.log: "OGI OFF => GATE CLOSED"
|
||||||
invalid_cooldown: 100ms
|
invalid_cooldown: 100ms
|
||||||
- timing:
|
- timing:
|
||||||
- ON for at least 400ms
|
- ON for at least 1500ms
|
||||||
- OFF for at least 400ms
|
then:
|
||||||
- ON for at least 400ms
|
- select.set:
|
||||||
- OFF for at least 400ms
|
id: gate_state
|
||||||
|
option: Open
|
||||||
|
- logger.log: "OGI ON => GATE OPEN"
|
||||||
|
invalid_cooldown: 100ms
|
||||||
|
- timing:
|
||||||
|
- ON for 400ms to 500ms
|
||||||
|
- OFF for 400ms to 500ms
|
||||||
|
- ON for 400ms to 500ms
|
||||||
|
- OFF for 400ms to 500ms
|
||||||
then:
|
then:
|
||||||
- select.set:
|
- select.set:
|
||||||
id: gate_state
|
id: gate_state
|
||||||
option: Opening
|
option: Opening
|
||||||
- logger.log: "OGI SLOW BLINK => GATE OPENING"
|
- logger.log: "OGI SLOW BLINKING => GATE OPENING"
|
||||||
invalid_cooldown: 100ms
|
invalid_cooldown: 100ms
|
||||||
- timing:
|
- timing:
|
||||||
- ON for at most 300ms
|
- ON for at most 300ms
|
||||||
@@ -173,15 +182,7 @@ binary_sensor:
|
|||||||
- select.set:
|
- select.set:
|
||||||
id: gate_state
|
id: gate_state
|
||||||
option: Closing
|
option: Closing
|
||||||
- logger.log: "OGI FAST BLINK => GATE CLOSING"
|
- logger.log: "OGI FAST BLINKING => GATE CLOSING"
|
||||||
invalid_cooldown: 100ms
|
|
||||||
- timing:
|
|
||||||
- ON for at least 1500ms
|
|
||||||
then:
|
|
||||||
- select.set:
|
|
||||||
id: gate_state
|
|
||||||
option: Open
|
|
||||||
- logger.log: "OGI ON => GATE OPEN"
|
|
||||||
invalid_cooldown: 100ms
|
invalid_cooldown: 100ms
|
||||||
|
|
||||||
select:
|
select:
|
||||||
|
|||||||
+24
-20
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: gateway
|
device: gateway
|
||||||
name: Gateway
|
name: Gateway
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | BLE Proxy, Modbus"
|
comment: BLE Proxy, Modbus
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,14 +13,18 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
advanced:
|
||||||
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
# Ethernet LLDP 802.1AB transmitter
|
# Ethernet LLDP 802.1AB transmitter
|
||||||
- source: github://pr#11760
|
# - source: github://pr#11760
|
||||||
components: [ethernet]
|
# components: [ethernet]
|
||||||
refresh: 1h
|
# refresh: 1h
|
||||||
- source: github://pr#2112
|
- source: github://pr#2112
|
||||||
components: ["m5stack_4relay"]
|
components: ["m5stack_4relay"]
|
||||||
refresh: 1h
|
refresh: 1h
|
||||||
@@ -50,22 +54,22 @@ i2c:
|
|||||||
scl: 16
|
scl: 16
|
||||||
scan: true
|
scan: true
|
||||||
|
|
||||||
ethernet:
|
# ethernet:
|
||||||
lldp:
|
# lldp:
|
||||||
# Enable LLDP transmission
|
# # Enable LLDP transmission
|
||||||
#enabled: true
|
# #enabled: true
|
||||||
# Optional: override default port
|
# # Optional: override default port
|
||||||
port: eth
|
# port: eth
|
||||||
# Optional: override default system name
|
# # Optional: override default system name
|
||||||
system_name: mcu-${device}
|
# system_name: mcu-${device}
|
||||||
# Optional: override default system description
|
# # Optional: override default system description
|
||||||
system_description: ${comment}
|
# system_description: ${comment}
|
||||||
# Optional: override default "fast mode" burst packet count
|
# # Optional: override default "fast mode" burst packet count
|
||||||
tx_fast_count: 4
|
# tx_fast_count: 4
|
||||||
# Optional: override default LLDP frame transmission interval
|
# # Optional: override default LLDP frame transmission interval
|
||||||
tx_interval: 30
|
# tx_interval: 30
|
||||||
# Optional: override default hold count, used in conjuction with tx_interval to calculate overall TTL
|
# # Optional: override default hold count, used in conjuction with tx_interval to calculate overall TTL
|
||||||
tx_hold: 4
|
# tx_hold: 4
|
||||||
|
|
||||||
# ethernet:
|
# ethernet:
|
||||||
# type: LAN8720
|
# type: LAN8720
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: heater
|
device: heater
|
||||||
name: Heater
|
name: Heater
|
||||||
area: Basement
|
area: Basement
|
||||||
comment: "${area} | Hot water and Heating control"
|
comment: Hot water and Heating control
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -23,6 +23,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+4
-2
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: kitchen
|
device: kitchen
|
||||||
name: Kitchen
|
name: Kitchen
|
||||||
area: Living Room & Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area} | Kitchen Worktop and Stove Lights"
|
comment: Kitchen Worktop and Stove Lights
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -28,15 +28,17 @@ 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
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
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
|
||||||
|
|||||||
+2
-1
@@ -4,7 +4,7 @@ substitutions:
|
|||||||
name: Lightening detector
|
name: Lightening detector
|
||||||
name_short: Lightening
|
name_short: Lightening
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | Lightening"
|
comment: Lightening
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -14,6 +14,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: lvgl-eworkbench
|
device: lvgl-eworkbench
|
||||||
name: Electronics Workbench Display
|
name: Electronics Workbench Display
|
||||||
area: Office R
|
area: Office R
|
||||||
comment: "${area} | Electronics Workbench"
|
comment: Electronics Workbench
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -14,6 +14,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
variant: esp32s3
|
variant: esp32s3
|
||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: lvgl
|
device: lvgl
|
||||||
name: LVGL
|
name: LVGL
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | LVGL"
|
comment: LVGL
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -16,6 +16,7 @@ esphome:
|
|||||||
esp32:
|
esp32:
|
||||||
variant: esp32s3
|
variant: esp32s3
|
||||||
flash_size: 16MB
|
flash_size: 16MB
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# Required to achieve sufficient PSRAM bandwidth
|
# Required to achieve sufficient PSRAM bandwidth
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: m5paper
|
device: m5paper
|
||||||
name: M5Paper
|
name: M5Paper
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | M5Paper"
|
comment: M5Paper
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: mains-power
|
device: mains-power
|
||||||
name: Mains Power
|
name: Mains Power
|
||||||
area: Room
|
area: Room
|
||||||
comment: "${area} | Mains Power Monitoring"
|
comment: Mains Power Monitoring
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -20,6 +20,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -4,7 +4,7 @@ substitutions:
|
|||||||
name: Bedroom NSPanel
|
name: Bedroom NSPanel
|
||||||
name_short: Bedroom
|
name_short: Bedroom
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | NSPanel"
|
comment: NSPanel
|
||||||
panel_recv_topic: "tele/${device}/RESULT"
|
panel_recv_topic: "tele/${device}/RESULT"
|
||||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||||
tft_url: !secret tft_url
|
tft_url: !secret tft_url
|
||||||
@@ -23,10 +23,12 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.0"
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: nspanel-dev
|
device: nspanel-dev
|
||||||
name: NSPanel DEV
|
name: NSPanel DEV
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | NSPanel"
|
comment: NSPanel
|
||||||
panel_recv_topic: "tele/${device}/RESULT"
|
panel_recv_topic: "tele/${device}/RESULT"
|
||||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||||
tft_url: !secret tft_url
|
tft_url: !secret tft_url
|
||||||
@@ -33,10 +33,12 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.0"
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
include_builtin_idf_components:
|
include_builtin_idf_components:
|
||||||
- esp_http_client
|
- esp_http_client
|
||||||
|
|
||||||
@@ -202,7 +204,7 @@ nspanel_lovelace:
|
|||||||
id: nspanel_id
|
id: nspanel_id
|
||||||
sleep_timeout: 10
|
sleep_timeout: 10
|
||||||
locale:
|
locale:
|
||||||
language: /config/esphome/nspanel/sk.json
|
language: nspanel/sk.json
|
||||||
temperature_unit: celcius
|
temperature_unit: celcius
|
||||||
screensaver:
|
screensaver:
|
||||||
time_id: ha_time
|
time_id: ha_time
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: nspanel-fireplace
|
device: nspanel-fireplace
|
||||||
name: Fireplace NSPanel
|
name: Fireplace NSPanel
|
||||||
area: Living Room & Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area}, Fireplace | NSPanel"
|
comment: NSPanel
|
||||||
panel_recv_topic: "tele/${device}/RESULT"
|
panel_recv_topic: "tele/${device}/RESULT"
|
||||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||||
tft_url: !secret tft_url
|
tft_url: !secret tft_url
|
||||||
@@ -21,10 +21,12 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.0"
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: nspanel-office-j
|
device: nspanel-office-j
|
||||||
name: Office J NSPanel
|
name: Office J NSPanel
|
||||||
area: Office J
|
area: Office J
|
||||||
comment: "${area} | NSPanel"
|
comment: NSPanel
|
||||||
panel_recv_topic: "tele/${device}/RESULT"
|
panel_recv_topic: "tele/${device}/RESULT"
|
||||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||||
tft_url: !secret tft_url
|
tft_url: !secret tft_url
|
||||||
@@ -22,10 +22,12 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.0"
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: nspanel-office-r
|
device: nspanel-office-r
|
||||||
name: Office R NSPanel
|
name: Office R NSPanel
|
||||||
area: Office R
|
area: Office R
|
||||||
comment: "${area} | NSPanel"
|
comment: NSPanel
|
||||||
panel_recv_topic: "tele/${device}/RESULT"
|
panel_recv_topic: "tele/${device}/RESULT"
|
||||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||||
tft_url: !secret tft_url
|
tft_url: !secret tft_url
|
||||||
@@ -22,11 +22,13 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
enable_lwip_mdns_queries: true
|
enable_lwip_mdns_queries: true
|
||||||
minimum_chip_revision: "3.0"
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: nspanel-patio
|
device: nspanel-patio
|
||||||
name: Patio NSPanel
|
name: Patio NSPanel
|
||||||
area: Living Room & Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area}, Patio | NSPanel"
|
comment: ${area}, Patio | NSPanel
|
||||||
panel_recv_topic: "tele/${device}/RESULT"
|
panel_recv_topic: "tele/${device}/RESULT"
|
||||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||||
tft_url: !secret tft_url
|
tft_url: !secret tft_url
|
||||||
@@ -21,10 +21,12 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.0"
|
minimum_chip_revision: 3.0
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
external_components:
|
external_components:
|
||||||
- source:
|
- source:
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: office-r
|
device: office-r
|
||||||
name: Office R
|
name: Office R
|
||||||
area: Office R
|
area: Office R
|
||||||
comment: "${area} | MS Teams presence"
|
comment: MS Teams presence
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -16,6 +16,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32c3
|
variant: esp32c3
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: patio
|
device: patio
|
||||||
name: Patio
|
name: Patio
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Patio | On the back yard"
|
comment: Patio | On the back yard
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -31,6 +31,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
@@ -2,20 +2,24 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device: pow-dishwasher
|
device: pow-dishwasher
|
||||||
name: Dishwasher POW
|
name: Dishwasher POW
|
||||||
comment: Living Room & Kitchen
|
area: Living Room & Kitchen
|
||||||
|
comment: Kitchen | Under sink
|
||||||
update_interval: 10s
|
update_interval: 10s
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
friendly_name: ${name}
|
friendly_name: ${name}
|
||||||
|
area: ${area}
|
||||||
comment: ${comment}
|
comment: ${comment}
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.1"
|
minimum_chip_revision: 3.1
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
+6
-2
@@ -2,20 +2,24 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device: pow-washer
|
device: pow-washer
|
||||||
name: Washer POW
|
name: Washer POW
|
||||||
comment: Washroom
|
comment:
|
||||||
|
area: Washroom
|
||||||
update_interval: 10s
|
update_interval: 10s
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
friendly_name: ${name}
|
friendly_name: ${name}
|
||||||
|
area: ${area}
|
||||||
comment: ${comment}
|
comment: ${comment}
|
||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
advanced:
|
advanced:
|
||||||
minimum_chip_revision: "3.1"
|
minimum_chip_revision: 3.1
|
||||||
|
sram1_as_iram: true
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
common: !include common/common.yaml
|
common: !include common/common.yaml
|
||||||
|
|||||||
+65
@@ -0,0 +1,65 @@
|
|||||||
|
---
|
||||||
|
substitutions:
|
||||||
|
device: rf
|
||||||
|
name: RF Bridge
|
||||||
|
area: Living Room & Kitchen
|
||||||
|
comment: Fireplace | RF Gateway
|
||||||
|
|
||||||
|
esphome:
|
||||||
|
name: mcu-${device}
|
||||||
|
friendly_name: ${name}
|
||||||
|
area: ${area}
|
||||||
|
comment: ${comment}
|
||||||
|
|
||||||
|
esp32:
|
||||||
|
variant: esp32
|
||||||
|
flash_size: 4MB
|
||||||
|
framework:
|
||||||
|
type: esp-idf
|
||||||
|
|
||||||
|
packages:
|
||||||
|
common: !include common/common.yaml
|
||||||
|
|
||||||
|
spi:
|
||||||
|
clk_pin: 25
|
||||||
|
mosi_pin: 19
|
||||||
|
miso_pin: 22
|
||||||
|
|
||||||
|
cc1101:
|
||||||
|
cs_pin: 33
|
||||||
|
frequency: 433.92MHz
|
||||||
|
gdo0_pin:
|
||||||
|
number: 21
|
||||||
|
allow_other_uses: true
|
||||||
|
|
||||||
|
infrared:
|
||||||
|
- platform: ir_rf_proxy
|
||||||
|
name: RF Proxy Transmitter
|
||||||
|
id: rf_proxy_tx
|
||||||
|
remote_transmitter_id: rf_tx
|
||||||
|
frequency: 433MHz
|
||||||
|
- platform: ir_rf_proxy
|
||||||
|
name: RF Proxy Receiver
|
||||||
|
id: rf_proxy_rx
|
||||||
|
remote_receiver_id: rf_rx
|
||||||
|
receiver_frequency: 433MHz
|
||||||
|
|
||||||
|
remote_receiver:
|
||||||
|
- id: rf_rx
|
||||||
|
pin:
|
||||||
|
number: 21
|
||||||
|
allow_other_uses: true
|
||||||
|
dump: all
|
||||||
|
|
||||||
|
remote_transmitter:
|
||||||
|
- id: rf_tx
|
||||||
|
pin:
|
||||||
|
number: 21
|
||||||
|
allow_other_uses: true
|
||||||
|
carrier_duty_percent: 100%
|
||||||
|
on_transmit:
|
||||||
|
then:
|
||||||
|
- cc1101.begin_tx
|
||||||
|
on_complete:
|
||||||
|
then:
|
||||||
|
- cc1101.begin_rx
|
||||||
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device: rf433
|
device: rf433
|
||||||
name: RF433 Bridge
|
name: RF433 Bridge
|
||||||
area: Living Room / Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area}, Fireplace | RF433 Gateway"
|
comment: Fireplace | RF433 Gateway
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: rfid-reader
|
device: rfid-reader
|
||||||
name: RFID Reader
|
name: RFID Reader
|
||||||
area: DEV
|
area: DEV
|
||||||
comment: "${area} | RFID Reader"
|
comment: RFID Reader
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -29,6 +29,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32s3
|
variant: esp32s3
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
|
|||||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: shed
|
device: shed
|
||||||
name: Shed
|
name: Shed
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Shed | Irrigation B"
|
comment: Shed | Irrigation B
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -13,6 +13,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.4.2
|
# version: 5.4.2
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: socket-01
|
device: socket-01
|
||||||
name: Socket 01
|
name: Socket 01
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | TV Socket"
|
comment: TV Socket
|
||||||
current_res: "0.00290"
|
current_res: "0.00290"
|
||||||
voltage_div: "940"
|
voltage_div: "940"
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -1,10 +1,9 @@
|
|||||||
---
|
---
|
||||||
substitutions:
|
substitutions:
|
||||||
device: socket-02
|
device: socket-02
|
||||||
device_id: socket_02
|
|
||||||
name: Socket 02
|
name: Socket 02
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | Bug Repelent Socket"
|
comment: Bug Repelent Socket
|
||||||
current_res: "0.00290"
|
current_res: "0.00290"
|
||||||
voltage_div: "940"
|
voltage_div: "940"
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: socket-03
|
device: socket-03
|
||||||
name: Socket 03
|
name: Socket 03
|
||||||
area: Bedroom
|
area: Bedroom
|
||||||
comment: "${area} | SPARE Socket"
|
comment: SPARE Socket
|
||||||
max_power: "3450"
|
max_power: "3450"
|
||||||
# <2020
|
# <2020
|
||||||
current_res: "0.00290"
|
current_res: "0.00290"
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: staircase-light
|
device: staircase-light
|
||||||
name: Staircase
|
name: Staircase
|
||||||
area: Staircase
|
area: Staircase
|
||||||
comment: "${area} | Light"
|
comment: Light
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
+4
-2
@@ -2,11 +2,13 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device: tracker
|
device: tracker
|
||||||
name: Tracker
|
name: Tracker
|
||||||
comment: "DEV | LTE GPS tracker"
|
area: DEV
|
||||||
|
comment: LTE GPS tracker
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
friendly_name: ${device}
|
friendly_name: ${device}
|
||||||
|
area: ${area}
|
||||||
comment: ${comment}
|
comment: ${comment}
|
||||||
on_boot:
|
on_boot:
|
||||||
# priority: -10
|
# priority: -10
|
||||||
@@ -83,9 +85,9 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
# version: 5.3.2
|
|
||||||
# platform_version: 53.03.11
|
# platform_version: 53.03.11
|
||||||
|
|
||||||
## TESTING
|
## TESTING
|
||||||
|
|||||||
+2
-2
@@ -2,8 +2,8 @@
|
|||||||
substitutions:
|
substitutions:
|
||||||
device: tv-light
|
device: tv-light
|
||||||
name: TV Light
|
name: TV Light
|
||||||
area: Living Room / Kitchen
|
area: Living Room & Kitchen
|
||||||
comment: "${area}: TV Rack Light"
|
comment: TV Rack Light
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: vehicle-honda-pcx125
|
device: vehicle-honda-pcx125
|
||||||
name: Vehicle Honda PCX125
|
name: Vehicle Honda PCX125
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Beacon | Honda PCX125"
|
comment: ${area}, Beacon | Honda PCX125
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: vehicle-suzuki-dl650
|
device: vehicle-suzuki-dl650
|
||||||
name: Vehicle Suzuki DL650
|
name: Vehicle Suzuki DL650
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Beacon | Suzuki DL650"
|
comment: ${area}, Beacon | Suzuki DL650
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: vehicle-toyota-auris-ts
|
device: vehicle-toyota-auris-ts
|
||||||
name: Vehicle Toyota Auris TS
|
name: Vehicle Toyota Auris TS
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Beacon | Toyota Auris TS"
|
comment: ${area}, Beacon | Toyota Auris TS
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: vehicle-toyota-yaris-cross
|
device: vehicle-toyota-yaris-cross
|
||||||
name: Vehicle Toyota Yaris Cross
|
name: Vehicle Toyota Yaris Cross
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Beacon | Toyota Yaris Cross"
|
comment: ${area}, Beacon | Toyota Yaris Cross
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: waterproof-socket
|
device: waterproof-socket
|
||||||
name: Waterproof Socket
|
name: Waterproof Socket
|
||||||
area: Basement
|
area: Basement
|
||||||
comment: "${area} | Hardened remote controlled socket"
|
comment: Hardened remote controlled socket
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
|
|||||||
+6
-1
@@ -3,7 +3,7 @@ substitutions:
|
|||||||
device: well
|
device: well
|
||||||
name: Well
|
name: Well
|
||||||
area: Outside
|
area: Outside
|
||||||
comment: "${area}, Well | Irrigation A"
|
comment: Well | Irrigation A
|
||||||
|
|
||||||
esphome:
|
esphome:
|
||||||
name: mcu-${device}
|
name: mcu-${device}
|
||||||
@@ -26,6 +26,7 @@ esphome:
|
|||||||
|
|
||||||
esp32:
|
esp32:
|
||||||
variant: esp32
|
variant: esp32
|
||||||
|
toolchain: esp-idf
|
||||||
framework:
|
framework:
|
||||||
type: esp-idf
|
type: esp-idf
|
||||||
|
|
||||||
@@ -51,6 +52,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
|
||||||
|
|||||||
@@ -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