mirror of
https://github.com/randybb/esphome-configs.git
synced 2026-07-02 09:16:04 +02:00
Compare commits
32 Commits
ca6f175a58
..
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 |
@@ -1,7 +1,10 @@
|
||||
# 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/
|
||||
.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,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
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
---
|
||||
<<: !include wifi.yaml
|
||||
<<: !include api.yaml
|
||||
<<: !include ota.yaml
|
||||
<<: !include ota_esp32.yaml
|
||||
# <<: !include logger.yaml
|
||||
<<: !include logger_debug.yaml
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
<<: !include api.yaml
|
||||
<<: !include ota.yaml
|
||||
<<: !include ota_esp32.yaml
|
||||
<<: !include logger_debug.yaml
|
||||
<<: !include ethernet.yaml
|
||||
|
||||
|
||||
@@ -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
|
||||
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
|
||||
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
|
||||
id: wifi_power_save_mode_sensor
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
@@ -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
|
||||
|
@@ -4,7 +4,7 @@ substitutions:
|
||||
name: Office R Air
|
||||
name_short: Office R
|
||||
area: Office R
|
||||
comment: "${area} | AirQ Monitoring"
|
||||
comment: AirQ Monitoring
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -14,6 +14,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
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
|
||||
+15
-5
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: atoms3
|
||||
name: AtomS3
|
||||
area: DEV
|
||||
comment: "${area} | --"
|
||||
comment: --
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -21,6 +21,7 @@ esphome:
|
||||
esp32:
|
||||
variant: esp32s3
|
||||
flash_size: 8MB
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
@@ -207,7 +208,15 @@ output:
|
||||
- platform: gpio
|
||||
id: motor_in2
|
||||
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:
|
||||
- platform: template
|
||||
@@ -360,18 +369,19 @@ font:
|
||||
size: 12
|
||||
|
||||
display:
|
||||
- platform: st7789v
|
||||
- platform: mipi_spi
|
||||
model: ST7789V
|
||||
id: display_tft
|
||||
model: Custom
|
||||
dimensions:
|
||||
height: 128
|
||||
width: 128
|
||||
offset_height: 2
|
||||
offset_width: 1
|
||||
backlight_pin: 16
|
||||
# backlight_pin: 16
|
||||
cs_pin: 15
|
||||
dc_pin: 33
|
||||
reset_pin: 34
|
||||
eightbitcolor: true
|
||||
# eightbitcolor: true
|
||||
update_interval: 1s
|
||||
lambda: |-
|
||||
//Ingress shown animation Frame.
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ substitutions:
|
||||
name_short: Basement
|
||||
name: Basement 2
|
||||
area: Basement
|
||||
comment: "${area} | Lights"
|
||||
comment: Lights
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: basement
|
||||
name: Basement
|
||||
area: Basement
|
||||
comment: "${area} | Sockets"
|
||||
comment: Sockets
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: bedroom-lamp-left
|
||||
name: Bedroom Lamp Left
|
||||
area: Bedroom
|
||||
comment: "${area} | Left Lamp"
|
||||
comment: Left Lamp
|
||||
default_transition_length: 800ms
|
||||
|
||||
esphome:
|
||||
@@ -14,6 +14,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
sdkconfig_options:
|
||||
@@ -131,6 +132,7 @@ api:
|
||||
ota:
|
||||
platform: esphome
|
||||
password: !secret ota_password
|
||||
allow_partition_access: true
|
||||
on_begin:
|
||||
then:
|
||||
- light.disco_on:
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: bedroom-lamp-right
|
||||
name: Bedroom Lamp Right
|
||||
area: Bedroom
|
||||
comment: "${area} | Right Lamp"
|
||||
comment: Right Lamp
|
||||
default_transition_length: 800ms
|
||||
|
||||
esphome:
|
||||
@@ -14,6 +14,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
sdkconfig_options:
|
||||
@@ -128,6 +129,7 @@ api:
|
||||
ota:
|
||||
platform: esphome
|
||||
password: !secret ota_password
|
||||
allow_partition_access: true
|
||||
on_begin:
|
||||
then:
|
||||
- light.disco_on:
|
||||
|
||||
+2
-3
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: c6-test-1
|
||||
name: C6 TEST 1
|
||||
area: DEV
|
||||
comment: "${area} | C6"
|
||||
comment: C6
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -39,10 +39,9 @@ esphome:
|
||||
esp32:
|
||||
variant: esp32c6
|
||||
flash_size: 16MB
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
# version: 5.4.2
|
||||
# platform_version: 54.03.21
|
||||
|
||||
logger:
|
||||
hardware_uart: USB_SERIAL_JTAG
|
||||
|
||||
+2
-3
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: c6-test-2
|
||||
name: C6 TEST 2
|
||||
area: DEV
|
||||
comment: "${area} | C6"
|
||||
comment: C6
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -39,10 +39,9 @@ esphome:
|
||||
esp32:
|
||||
variant: esp32c6
|
||||
flash_size: 16MB
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
# version: 5.4.2
|
||||
# platform_version: 54.03.21
|
||||
|
||||
logger:
|
||||
hardware_uart: USB_SERIAL_JTAG
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: cam-1
|
||||
name: Cam 1
|
||||
area: DEV
|
||||
comment: "${area} | Camera"
|
||||
comment: Camera
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -12,8 +12,8 @@ esphome:
|
||||
comment: ${comment}
|
||||
|
||||
esp32:
|
||||
# board: esp32cam
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: can-node-1
|
||||
name: CAN Node 1
|
||||
area: DEV
|
||||
comment: "${area} | CANopen"
|
||||
comment: CANopen
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: can-node-2
|
||||
name: CAN Node 2
|
||||
area: DEV
|
||||
comment: "${area} | CANopen"
|
||||
comment: CANopen
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: cec-bedroom
|
||||
name: Bedroom TV
|
||||
area: Bedroom
|
||||
comment: "${area} | CEC"
|
||||
comment: CEC
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: clock-1
|
||||
name: Clock 1
|
||||
area: Office R
|
||||
comment: "${area} | Clock"
|
||||
comment: Clock
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -15,6 +15,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32c3
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
# version: 5.4.2
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: clock-living-room
|
||||
name: Living room Clock
|
||||
area: Living Room & Kitchen
|
||||
comment: "${area}: TV Rack Clock"
|
||||
comment: TV Rack Clock
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: desk-lamp
|
||||
name: Desk Lamp
|
||||
area: Room
|
||||
comment: "${area} | Desk lamp"
|
||||
comment: Desk lamp
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-2
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: dimmer
|
||||
name: Dimmer
|
||||
area: Basement
|
||||
comment: "${area} | Pain cave fan"
|
||||
comment: Pain cave fan
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -28,10 +28,10 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
|
||||
+1
-1
@@ -4,7 +4,7 @@ substitutions:
|
||||
name: Echo 1
|
||||
name_short: Echo 1
|
||||
area: DEV
|
||||
comment: "${area} | Echo"
|
||||
comment: Echo
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
+4
-2
@@ -4,7 +4,7 @@ substitutions:
|
||||
name: Echo
|
||||
name_short: Echo
|
||||
area: Office R
|
||||
comment: "${area} | Speaker"
|
||||
comment: Speaker
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -14,6 +14,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
@@ -101,7 +102,7 @@ speaker:
|
||||
dac_type: external
|
||||
i2s_dout_pin: 22
|
||||
channel: mono
|
||||
sample_rate: 48000
|
||||
sample_rate: 16000
|
||||
buffer_duration: 100ms # Smaller buffer
|
||||
- platform: mixer
|
||||
id: mixer_speaker_id
|
||||
@@ -127,6 +128,7 @@ media_player:
|
||||
id: media_out
|
||||
name: Player
|
||||
codec_support_enabled: false
|
||||
buffer_size: 14000
|
||||
media_pipeline:
|
||||
speaker: media_spk_resampling_input
|
||||
# format: WAV
|
||||
|
||||
+4
-1
@@ -2,17 +2,20 @@
|
||||
substitutions:
|
||||
device: eworkbench
|
||||
name: Electronics Workbench
|
||||
comment: "Office R | Electronics Workbench"
|
||||
area: Office R
|
||||
comment: Electronics Workbench
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
platformio_options:
|
||||
board_build.flash_mode: dio
|
||||
|
||||
esp32:
|
||||
variant: esp32c3
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: fireplace
|
||||
name: Heating Fireplace
|
||||
area: Living Room & Kitchen
|
||||
comment: "${area}, Fireplace | Fireplace monitoring for heating"
|
||||
comment: Fireplace monitoring for heating
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+17
-16
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: gate
|
||||
name: Gate
|
||||
area: Outside
|
||||
comment: "${area} | Gate"
|
||||
comment: Gate
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
@@ -142,7 +143,7 @@ binary_sensor:
|
||||
mode:
|
||||
input: true
|
||||
filters:
|
||||
- delayed_on: 10ms
|
||||
- delayed_on_off: 10ms
|
||||
entity_category: diagnostic
|
||||
on_multi_click:
|
||||
- timing:
|
||||
@@ -154,15 +155,23 @@ binary_sensor:
|
||||
- logger.log: "OGI OFF => GATE CLOSED"
|
||||
invalid_cooldown: 100ms
|
||||
- timing:
|
||||
- ON for at least 400ms
|
||||
- OFF for at least 400ms
|
||||
- ON for at least 400ms
|
||||
- OFF for at least 400ms
|
||||
- ON for at least 1500ms
|
||||
then:
|
||||
- select.set:
|
||||
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:
|
||||
- select.set:
|
||||
id: gate_state
|
||||
option: Opening
|
||||
- logger.log: "OGI SLOW BLINK => GATE OPENING"
|
||||
- logger.log: "OGI SLOW BLINKING => GATE OPENING"
|
||||
invalid_cooldown: 100ms
|
||||
- timing:
|
||||
- ON for at most 300ms
|
||||
@@ -173,15 +182,7 @@ binary_sensor:
|
||||
- select.set:
|
||||
id: gate_state
|
||||
option: Closing
|
||||
- logger.log: "OGI FAST BLINK => 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"
|
||||
- logger.log: "OGI FAST BLINKING => GATE CLOSING"
|
||||
invalid_cooldown: 100ms
|
||||
|
||||
select:
|
||||
|
||||
+23
-21
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: gateway
|
||||
name: Gateway
|
||||
area: DEV
|
||||
comment: "${area} | BLE Proxy, Modbus"
|
||||
comment: BLE Proxy, Modbus
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,16 +13,18 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
|
||||
external_components:
|
||||
# Ethernet LLDP 802.1AB transmitter
|
||||
- source: github://pr#11760
|
||||
components: [ethernet]
|
||||
refresh: 1h
|
||||
# - source: github://pr#11760
|
||||
# components: [ethernet]
|
||||
# refresh: 1h
|
||||
- source: github://pr#2112
|
||||
components: ["m5stack_4relay"]
|
||||
refresh: 1h
|
||||
@@ -52,22 +54,22 @@ i2c:
|
||||
scl: 16
|
||||
scan: true
|
||||
|
||||
ethernet:
|
||||
lldp:
|
||||
# Enable LLDP transmission
|
||||
#enabled: true
|
||||
# Optional: override default port
|
||||
port: eth
|
||||
# Optional: override default system name
|
||||
system_name: mcu-${device}
|
||||
# Optional: override default system description
|
||||
system_description: ${comment}
|
||||
# Optional: override default "fast mode" burst packet count
|
||||
tx_fast_count: 4
|
||||
# Optional: override default LLDP frame transmission interval
|
||||
tx_interval: 30
|
||||
# Optional: override default hold count, used in conjuction with tx_interval to calculate overall TTL
|
||||
tx_hold: 4
|
||||
# ethernet:
|
||||
# lldp:
|
||||
# # Enable LLDP transmission
|
||||
# #enabled: true
|
||||
# # Optional: override default port
|
||||
# port: eth
|
||||
# # Optional: override default system name
|
||||
# system_name: mcu-${device}
|
||||
# # Optional: override default system description
|
||||
# system_description: ${comment}
|
||||
# # Optional: override default "fast mode" burst packet count
|
||||
# tx_fast_count: 4
|
||||
# # Optional: override default LLDP frame transmission interval
|
||||
# tx_interval: 30
|
||||
# # Optional: override default hold count, used in conjuction with tx_interval to calculate overall TTL
|
||||
# tx_hold: 4
|
||||
|
||||
# ethernet:
|
||||
# type: LAN8720
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: heater
|
||||
name: Heater
|
||||
area: Basement
|
||||
comment: "${area} | Hot water and Heating control"
|
||||
comment: Hot water and Heating control
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -23,6 +23,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+4
-2
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: kitchen
|
||||
name: Kitchen
|
||||
area: Living Room & Kitchen
|
||||
comment: "${area} | Kitchen Worktop and Stove Lights"
|
||||
comment: Kitchen Worktop and Stove Lights
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -28,15 +28,17 @@ esphome:
|
||||
- light.turn_off: light_3
|
||||
# - light.turn_off: light_4
|
||||
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
api:
|
||||
reboot_timeout: 300s
|
||||
|
||||
# PINOUTS: M5ATOM+Atom Hub Switch
|
||||
# IR G12
|
||||
|
||||
+2
-1
@@ -4,7 +4,7 @@ substitutions:
|
||||
name: Lightening detector
|
||||
name_short: Lightening
|
||||
area: DEV
|
||||
comment: "${area} | Lightening"
|
||||
comment: Lightening
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -14,6 +14,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: lvgl-eworkbench
|
||||
name: Electronics Workbench Display
|
||||
area: Office R
|
||||
comment: "${area} | Electronics Workbench"
|
||||
comment: Electronics Workbench
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -14,6 +14,7 @@ esphome:
|
||||
esp32:
|
||||
variant: esp32s3
|
||||
flash_size: 16MB
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: lvgl
|
||||
name: LVGL
|
||||
area: DEV
|
||||
comment: "${area} | LVGL"
|
||||
comment: LVGL
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -16,6 +16,7 @@ esphome:
|
||||
esp32:
|
||||
variant: esp32s3
|
||||
flash_size: 16MB
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
# Required to achieve sufficient PSRAM bandwidth
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: m5paper
|
||||
name: M5Paper
|
||||
area: DEV
|
||||
comment: "${area} | M5Paper"
|
||||
comment: M5Paper
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: mains-power
|
||||
name: Mains Power
|
||||
area: Room
|
||||
comment: "${area} | Mains Power Monitoring"
|
||||
comment: Mains Power Monitoring
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -20,6 +20,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ substitutions:
|
||||
name: Bedroom NSPanel
|
||||
name_short: Bedroom
|
||||
area: Bedroom
|
||||
comment: "${area} | NSPanel"
|
||||
comment: NSPanel
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||
tft_url: !secret tft_url
|
||||
@@ -23,10 +23,12 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: nspanel-dev
|
||||
name: NSPanel DEV
|
||||
area: DEV
|
||||
comment: "${area} | NSPanel"
|
||||
comment: NSPanel
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||
tft_url: !secret tft_url
|
||||
@@ -33,10 +33,12 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
include_builtin_idf_components:
|
||||
- esp_http_client
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: nspanel-fireplace
|
||||
name: Fireplace NSPanel
|
||||
area: Living Room & Kitchen
|
||||
comment: "${area}, Fireplace | NSPanel"
|
||||
comment: NSPanel
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||
tft_url: !secret tft_url
|
||||
@@ -21,10 +21,12 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: nspanel-office-j
|
||||
name: Office J NSPanel
|
||||
area: Office J
|
||||
comment: "${area} | NSPanel"
|
||||
comment: NSPanel
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||
tft_url: !secret tft_url
|
||||
@@ -22,10 +22,12 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: nspanel-office-r
|
||||
name: Office R NSPanel
|
||||
area: Office R
|
||||
comment: "${area} | NSPanel"
|
||||
comment: NSPanel
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||
tft_url: !secret tft_url
|
||||
@@ -22,11 +22,13 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
enable_lwip_mdns_queries: true
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: nspanel-patio
|
||||
name: Patio NSPanel
|
||||
area: Living Room & Kitchen
|
||||
comment: "${area}, Patio | NSPanel"
|
||||
comment: ${area}, Patio | NSPanel
|
||||
panel_recv_topic: "tele/${device}/RESULT"
|
||||
panel_send_topic: "cmnd/${device}/CustomSend"
|
||||
tft_url: !secret tft_url
|
||||
@@ -21,10 +21,12 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.0"
|
||||
minimum_chip_revision: 3.0
|
||||
sram1_as_iram: true
|
||||
|
||||
external_components:
|
||||
- source:
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: office-r
|
||||
name: Office R
|
||||
area: Office R
|
||||
comment: "${area} | MS Teams presence"
|
||||
comment: MS Teams presence
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -16,6 +16,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32c3
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: patio
|
||||
name: Patio
|
||||
area: Outside
|
||||
comment: "${area}, Patio | On the back yard"
|
||||
comment: Patio | On the back yard
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -31,6 +31,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
@@ -2,20 +2,24 @@
|
||||
substitutions:
|
||||
device: pow-dishwasher
|
||||
name: Dishwasher POW
|
||||
comment: Living Room & Kitchen
|
||||
area: Living Room & Kitchen
|
||||
comment: Kitchen | Under sink
|
||||
update_interval: 10s
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.1"
|
||||
minimum_chip_revision: 3.1
|
||||
sram1_as_iram: true
|
||||
|
||||
packages:
|
||||
common: !include common/common.yaml
|
||||
|
||||
+6
-2
@@ -2,20 +2,24 @@
|
||||
substitutions:
|
||||
device: pow-washer
|
||||
name: Washer POW
|
||||
comment: Washroom
|
||||
comment:
|
||||
area: Washroom
|
||||
update_interval: 10s
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${name}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
advanced:
|
||||
minimum_chip_revision: "3.1"
|
||||
minimum_chip_revision: 3.1
|
||||
sram1_as_iram: true
|
||||
|
||||
packages:
|
||||
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:
|
||||
device: rf433
|
||||
name: RF433 Bridge
|
||||
area: Living Room / Kitchen
|
||||
comment: "${area}, Fireplace | RF433 Gateway"
|
||||
area: Living Room & Kitchen
|
||||
comment: Fireplace | RF433 Gateway
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: rfid-reader
|
||||
name: RFID Reader
|
||||
area: DEV
|
||||
comment: "${area} | RFID Reader"
|
||||
comment: RFID Reader
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -29,6 +29,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32s3
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
|
||||
+2
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: shed
|
||||
name: Shed
|
||||
area: Outside
|
||||
comment: "${area}, Shed | Irrigation B"
|
||||
comment: Shed | Irrigation B
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -13,6 +13,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
# version: 5.4.2
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: socket-01
|
||||
name: Socket 01
|
||||
area: Bedroom
|
||||
comment: "${area} | TV Socket"
|
||||
comment: TV Socket
|
||||
current_res: "0.00290"
|
||||
voltage_div: "940"
|
||||
|
||||
|
||||
+1
-2
@@ -1,10 +1,9 @@
|
||||
---
|
||||
substitutions:
|
||||
device: socket-02
|
||||
device_id: socket_02
|
||||
name: Socket 02
|
||||
area: Bedroom
|
||||
comment: "${area} | Bug Repelent Socket"
|
||||
comment: Bug Repelent Socket
|
||||
current_res: "0.00290"
|
||||
voltage_div: "940"
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: socket-03
|
||||
name: Socket 03
|
||||
area: Bedroom
|
||||
comment: "${area} | SPARE Socket"
|
||||
comment: SPARE Socket
|
||||
max_power: "3450"
|
||||
# <2020
|
||||
current_res: "0.00290"
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: staircase-light
|
||||
name: Staircase
|
||||
area: Staircase
|
||||
comment: "${area} | Light"
|
||||
comment: Light
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
+4
-2
@@ -2,11 +2,13 @@
|
||||
substitutions:
|
||||
device: tracker
|
||||
name: Tracker
|
||||
comment: "DEV | LTE GPS tracker"
|
||||
area: DEV
|
||||
comment: LTE GPS tracker
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
friendly_name: ${device}
|
||||
area: ${area}
|
||||
comment: ${comment}
|
||||
on_boot:
|
||||
# priority: -10
|
||||
@@ -83,9 +85,9 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
# version: 5.3.2
|
||||
# platform_version: 53.03.11
|
||||
|
||||
## TESTING
|
||||
|
||||
+2
-2
@@ -2,8 +2,8 @@
|
||||
substitutions:
|
||||
device: tv-light
|
||||
name: TV Light
|
||||
area: Living Room / Kitchen
|
||||
comment: "${area}: TV Rack Light"
|
||||
area: Living Room & Kitchen
|
||||
comment: TV Rack Light
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: vehicle-honda-pcx125
|
||||
name: Vehicle Honda PCX125
|
||||
area: Outside
|
||||
comment: "${area}, Beacon | Honda PCX125"
|
||||
comment: ${area}, Beacon | Honda PCX125
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: vehicle-suzuki-dl650
|
||||
name: Vehicle Suzuki DL650
|
||||
area: Outside
|
||||
comment: "${area}, Beacon | Suzuki DL650"
|
||||
comment: ${area}, Beacon | Suzuki DL650
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: vehicle-toyota-auris-ts
|
||||
name: Vehicle Toyota Auris TS
|
||||
area: Outside
|
||||
comment: "${area}, Beacon | Toyota Auris TS"
|
||||
comment: ${area}, Beacon | Toyota Auris TS
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: vehicle-toyota-yaris-cross
|
||||
name: Vehicle Toyota Yaris Cross
|
||||
area: Outside
|
||||
comment: "${area}, Beacon | Toyota Yaris Cross"
|
||||
comment: ${area}, Beacon | Toyota Yaris Cross
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: waterproof-socket
|
||||
name: Waterproof Socket
|
||||
area: Basement
|
||||
comment: "${area} | Hardened remote controlled socket"
|
||||
comment: Hardened remote controlled socket
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
|
||||
+6
-1
@@ -3,7 +3,7 @@ substitutions:
|
||||
device: well
|
||||
name: Well
|
||||
area: Outside
|
||||
comment: "${area}, Well | Irrigation A"
|
||||
comment: Well | Irrigation A
|
||||
|
||||
esphome:
|
||||
name: mcu-${device}
|
||||
@@ -26,6 +26,7 @@ esphome:
|
||||
|
||||
esp32:
|
||||
variant: esp32
|
||||
toolchain: esp-idf
|
||||
framework:
|
||||
type: esp-idf
|
||||
|
||||
@@ -51,6 +52,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