General update, getting ready to move

This commit is contained in:
2026-06-26 07:42:02 -04:00
parent 41fa305d10
commit ad26c80483
14 changed files with 746 additions and 0 deletions

39
Personal (Web).url Normal file
View File

@@ -0,0 +1,39 @@
esphome:
name: esp32-bluetooth-proxy
friendly_name: Bluetooth Proxy
min_version: 2025.8.0
name_add_mac_suffix: true
esp32:
variant: esp32
framework:
type: esp-idf
wifi:
ap:
api:
logger:
ota:
- platform: esphome
id: ota_esphome
esp32_ble_tracker:
scan_parameters:
# We currently use the defaults to ensure Bluetooth
# can co-exist with WiFi In the future we may be able to
# enable the built-in coexistence logic in ESP-IDF
active: true
bluetooth_proxy:
active: true
button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
- platform: factory_reset
id: factory_reset_btn
name: Factory reset

1
bluetooth-proxies Submodule

Submodule bluetooth-proxies added at 6054c5a11b

31
bluetooth_proxy.yaml Normal file
View File

@@ -0,0 +1,31 @@
substitutions:
name: meneely-bluetooth-proxy1
esphome:
name: ${name}
name_add_mac_suffix: false
esp32:
variant: esp32s3
framework:
type: esp-idf
wifi:
ssid: Meneely
password: punxsutawney1
# ssid: !secret wifi_ssid
# password: !secret wifi_password
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
platform: esphome
esp32_ble_tracker:
bluetooth_proxy:
active: true

44
bluetooth_proxy2.yaml Normal file
View File

@@ -0,0 +1,44 @@
esphome:
name: esp32-bluetooth-proxy
friendly_name: Bluetooth Proxy
min_version: 2025.8.0
name_add_mac_suffix: true
esp32:
variant: esp32s3
framework:
type: esp-idf
wifi:
ssid: Meneely-IoT
password: punxsutawney1
# ssid: !secret wifi_ssid
# password: !secret wifi_password
ap:
web_server:
api:
logger:
ota:
- platform: esphome
id: ota_esphome
esp32_ble_tracker:
scan_parameters:
# We currently use the defaults to ensure Bluetooth
# can co-exist with WiFi In the future we may be able to
# enable the built-in coexistence logic in ESP-IDF
active: true
bluetooth_proxy:
active: true
button:
- platform: safe_mode
id: button_safe_mode
name: Safe Mode Boot
- platform: factory_reset
id: factory_reset_btn
name: Factory reset

71
laundry/sonoff-s31e.yaml Normal file
View File

@@ -0,0 +1,71 @@
substitutions:
device_name: sonoff-s31e
# device_ip: 192.168.87.75
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
on_boot:
- switch.turn_on: relay
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
#<<: !include standard_wifi.yaml
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# manual_ip:
# # static_ip: ${device_ip}
# gateway: 192.168.86.1
# subnet: 255.255.254.0
fast_connect: True
logger:
baud_rate: 0 # (UART logging interferes with cse7766)
api:
# reboot_timeout: 15min
ota:
# Device Specific Config
uart:
rx_pin: RX
baud_rate: 4800
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: ${device_name}_button
on_press:
- switch.toggle: relay
- platform: status
name: ${device_name}_status
sensor:
- platform: wifi_signal
name: ${device_name}_wifi
update_interval: 60s
- platform: cse7766
current:
name: ${device_name}_current
accuracy_decimals: 1
voltage:
name: ${device_name}_voltage
accuracy_decimals: 1
power:
name: ${device_name}_power
accuracy_decimals: 1
switch:
- platform: gpio
name: ${device_name}_relay
pin: GPIO12
id: relay
status_led:
pin: GPIO13

71
laundry/sonoff-s31f.yaml Normal file
View File

@@ -0,0 +1,71 @@
substitutions:
device_name: sonoff-s31f
# device_ip: 192.168.87.75
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
on_boot:
- switch.turn_on: relay
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
#<<: !include standard_wifi.yaml
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# manual_ip:
# # static_ip: ${device_ip}
# gateway: 192.168.86.1
# subnet: 255.255.254.0
fast_connect: True
logger:
baud_rate: 0 # (UART logging interferes with cse7766)
api:
# reboot_timeout: 15min
ota:
# Device Specific Config
uart:
rx_pin: RX
baud_rate: 4800
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: ${device_name}_button
on_press:
- switch.toggle: relay
- platform: status
name: ${device_name}_status
sensor:
- platform: wifi_signal
name: ${device_name}_wifi
update_interval: 60s
- platform: cse7766
current:
name: ${device_name}_current
accuracy_decimals: 1
voltage:
name: ${device_name}_voltage
accuracy_decimals: 1
power:
name: ${device_name}_power
accuracy_decimals: 1
switch:
- platform: gpio
name: ${device_name}_relay
pin: GPIO12
id: relay
status_led:
pin: GPIO13

View File

@@ -0,0 +1,61 @@
substitutions:
device_name: sonoff-s31christmas
device_ip: 192.168.87.74
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
<<: !include standard_wifi.yaml
logger:
baud_rate: 0 # (UART logging interferes with cse7766)
api:
# reboot_timeout: 15min
ota:
# Device Specific Config
uart:
rx_pin: RX
baud_rate: 4800
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: ${device_name}_button
on_press:
- switch.toggle: relay
- platform: status
name: ${device_name}_status
sensor:
- platform: wifi_signal
name: ${device_name}_wifi
update_interval: 60s
- platform: cse7766
current:
name: ${device_name}_current
accuracy_decimals: 1
voltage:
name: ${device_name}_voltage
accuracy_decimals: 1
power:
name: ${device_name}_power
accuracy_decimals: 1
switch:
- platform: gpio
name: ${device_name}_relay
pin: GPIO12
id: relay
status_led:
pin: GPIO13

View File

@@ -0,0 +1,61 @@
substitutions:
device_name: sonoff_s31a
device_ip: 192.168.87.71
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
<<: !include standard_wifi.yaml
logger:
baud_rate: 0 # (UART logging interferes with cse7766)
api:
# reboot_timeout: 15min
ota:
# Device Specific Config
uart:
rx_pin: RX
baud_rate: 4800
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: ${device_name}_button
on_press:
- switch.toggle: relay
- platform: status
name: ${device_name}_status
sensor:
- platform: wifi_signal
name: ${device_name}_wifi
update_interval: 60s
- platform: cse7766
current:
name: ${device_name}_current
accuracy_decimals: 1
voltage:
name: ${device_name}_voltage
accuracy_decimals: 1
power:
name: ${device_name}_power
accuracy_decimals: 1
switch:
- platform: gpio
name: ${device_name}_relay
pin: GPIO12
id: relay
status_led:
pin: GPIO13

View File

@@ -0,0 +1,61 @@
substitutions:
device_name: sonoff_s31b
device_ip: 192.168.87.72
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
# platformio_options:
# upload_speed: 115200 #baud, tagging this so grep will find it later
<<: !include standard_wifi.yaml
logger:
baud_rate: 0 # (UART logging interferes with cse7766)
api:
# reboot_timeout: 15min
ota:
# Device Specific Config
uart:
rx_pin: RX
baud_rate: 4800
binary_sensor:
- platform: gpio
pin:
number: GPIO0
mode: INPUT_PULLUP
inverted: True
name: ${device_name}_button
on_press:
- switch.toggle: relay
- platform: status
name: ${device_name}_status
sensor:
- platform: wifi_signal
name: ${device_name}_wifi
update_interval: 60s
- platform: cse7766
current:
name: ${device_name}_current
accuracy_decimals: 1
voltage:
name: ${device_name}_voltage
accuracy_decimals: 1
power:
name: ${device_name}_power
accuracy_decimals: 1
switch:
- platform: gpio
name: ${device_name}_relay
pin: GPIO12
id: relay
status_led:
pin: GPIO13

92
lora1.yaml Normal file
View File

@@ -0,0 +1,92 @@
esphome:
name: "heltec"
esp32:
variant: esp32s3
flash_size: 8MB
cpu_frequency: 240MHZ
framework:
type: esp-idf
logger:
hardware_uart: UART0
api:
ota:
platform: esphome
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# SPI bus for LoRa radio
spi:
clk_pin: GPIO9
mosi_pin: GPIO10
miso_pin: GPIO11
# I2C for OLED display
i2c:
sda: GPIO17
scl: GPIO18
frequency: 400kHz
# FSK Radio Configuration (SX1262)
sx126x:
dio1_pin: GPIO14
cs_pin: GPIO8
busy_pin: GPIO13
rst_pin: GPIO12
pa_power: 3
bandwidth: 78_2kHz
crc_enable: true
frequency: 433920000
modulation: FSK
rx_start: true
payload_length: 0
hw_version: sx1262
bitrate: 4800
rf_switch: true
sync_value: [0x33, 0x33]
preamble_size: 4
preamble_detect: 2
tcxo_voltage: 1_8V
tcxo_delay: 5ms
on_packet:
then:
- lambda: |-
ESP_LOGD("fsk", "Packet RSSI: %.2f dBm, SNR: %.2f dB, Data: %s",
rssi, snr, format_hex(x).c_str());
button:
- platform: template
name: "Send FSK Packet"
on_press:
then:
- sx126x.send_packet:
data: [0xC5, 0x51, 0x78, 0x82, 0xB7, 0xF9, 0x9C, 0x5C]
# OLED Display
display:
- platform: ssd1306_i2c
model: "SSD1306 128x64"
reset_pin: GPIO21
address: 0x3C
lambda: |-
it.printf(0, 0, id(font1), "Heltec V3");
it.printf(0, 16, id(font1), "WiFi LoRa 32");
it.printf(0, 32, id(font1), "%.1f dBm", id(wifi_signal_db).state);
font:
- file: "gfonts://Roboto"
id: font1
size: 14
sensor:
- platform: wifi_signal
id: wifi_signal_db
name: "WiFi Signal"
update_interval: 60s

96
tkm.yaml Normal file
View File

@@ -0,0 +1,96 @@
substitutions:
device_name: sonoffmini_45
device_ip: 192.168.87.45
esphome:
name: ${device_name}
platform: ESP8266
board: esp01_1m
wifi:
ssid: "Meneely"
password: "punxsutawney1"
manual_ip:
static_ip: ${device_ip}
gateway: 192.168.86.1
subnet: 255.255.255.0
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "ESPHOME"
password: "12345678"
logger:
api:
reboot_timeout: 15min
ota:
# the web_server & sensor components can be removed without affecting core functionaility.
web_server:
port: 80
sensor:
- platform: wifi_signal
name: ${device_name} Wifi Signal Strength
update_interval: 60s
- platform: uptime
name: ${device_name} Uptime
#######################################
# Device specific Config Begins Below #
#######################################
binary_sensor:
- platform: gpio
pin: GPIO00 # The built-in switch
id: reset
internal: true
filters:
- invert:
- delayed_off: 10ms
on_press:
- switch.toggle:
id: relay_1
- platform: gpio
name: ${device_name}_status
pin: GPIO04 # The external terminals
id: switch_1
filters:
- delayed_on: 100ms
on_press:
then:
- switch.toggle:
id: relay_1
# on_release:
# then:
# - switch.toggle:
# id: relay_1
switch:
- platform: gpio
name: ${device_name}_switch
icon: "mdi: lightbulb_outline"
pin: GPIO12
id: relay_1
restore_mode: restore_default_off
status_led:
pin:
number: GPIO13
inverted: true
output:
- platform: esp8266_pwm
id: blue_led
pin: GPIO13
inverted: True
light:
# the 4 lines below define the Blue LED light on Sonoff Mini, to expose in HomeAssistant remove line "internal: true"
- platform: monochromatic
name: ${device_name}_blueled
output: blue_led
internal: true # hides the Blue LED from HomeAssistant

89
tkm1.yaml Normal file
View File

@@ -0,0 +1,89 @@
esphome:
name: nightstandtkm
esp8266:
board: esp8285
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "EgFzta0ZRgjSLEAfkzFDFlzs2ZDcs+2sD5LL7vSHSmE="
ota:
- platform: esphome
wifi:
ssid: "Meneely"
password: "punxsutawney1"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Nightstand Tkm Fallback Hotspot"
password: "EK3tBJRGRsuQ"
captive_portal:
#######################################
# Device specific Config Begins Below #
#######################################
substitutions:
device_name: nightstandtkm
#device_ip: 192.168.87.45
binary_sensor:
- platform: gpio
pin: GPIO00 # The built-in switch
id: reset
internal: true
filters:
- invert:
- delayed_off: 10ms
on_press:
- switch.toggle:
id: relay_1
- platform: gpio
name: ${device_name}_status
pin: GPIO04 # The external terminals
id: switch_1
filters:
- delayed_on: 100ms
on_press:
then:
- switch.toggle:
id: relay_1
# on_release:
# then:
# - switch.toggle:
# id: relay_1
switch:
- platform: gpio
name: ${device_name}_switch
icon: "mdi:lightbulb_outline"
pin: GPIO12
id: relay_1
restore_mode: restore_default_off
#status_led:
# pin:
# number: GPIO13
# inverted: true
output:
- platform: esp8266_pwm
id: blue_led
pin: GPIO13
inverted: True
light:
# the 4 lines below define the Blue LED light on Sonoff Mini, to expose in HomeAssistant remove line "internal: true"
- platform: monochromatic
name: ${device_name}_blueled
output: blue_led
internal: true # hides the Blue LED from HomeAssistant

29
tkm2.yaml Normal file
View File

@@ -0,0 +1,29 @@
esphome:
name: tkm3
esp8266:
board: esp8285
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "RxgR/v9F6OQQmn37bnfqvgWlb2Img/TXKPFrHV88Cu8="
ota:
- platform: esphome
wifi:
ssid: "Meneely"
password: "punxsutawney1"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Tkm3 Fallback Hotspot"
password: "NaluQQJ7i0Ld"
captive_portal: