pool light esp, gas heater esp, HA Overview display
This commit is contained in:
@@ -0,0 +1,128 @@
|
||||
|
||||
##########################################################################################
|
||||
##########################################################################################
|
||||
# DATA CUPBOARD POWER MONITOR - RIGHT
|
||||
#
|
||||
# Controlled by a Athom Smart Plug V2 No Relay
|
||||
# https://github.com/athom-tech/athom-configs/blob/main/athom-without-relay-plug.yaml
|
||||
#
|
||||
# V1.0 2025-08-28 First Setup
|
||||
#
|
||||
##########################################################################################
|
||||
##########################################################################################
|
||||
|
||||
##########################################################################################
|
||||
# SPECIFIC DEVICE VARIABLE SUBSTITUTIONS
|
||||
# If NOT using a secrets file, just replace these with the passwords etc (in quotes)
|
||||
##########################################################################################
|
||||
substitutions:
|
||||
# Device Naming
|
||||
device_name: "esp-datacupboardpower-right"
|
||||
friendly_name: "Data Cupboard Power Monitor - Right"
|
||||
description_comment: "Data Cupboard Right :: Athom Smart Plug Power V2 (No relay)"
|
||||
device_area: "Data Cupboard"
|
||||
|
||||
# Project Naming
|
||||
project_name: "Athom Technology.Smart Plug V2 NR"
|
||||
project_version: "v1.0"
|
||||
|
||||
# Passwords (unfortunately you cannot use substitutions inside secrets names)
|
||||
api_key: !secret esp-api_key
|
||||
ota_pass: !secret esp-ota_pass
|
||||
static_ip_address: !secret esp-datacupboardpower-right_ip
|
||||
|
||||
# Device General Settings
|
||||
log_level: "NONE" # NONE, ERROR, WARN, INFO, DEBUG, VERBOSE, VERY_VERBOSE
|
||||
update_interval: "60s" # update time for general sensors etc
|
||||
|
||||
# Device Specific Settings (Athom Power Monitor Plug V2)
|
||||
sensor_update_interval: "10s"
|
||||
hide_energy_sensor: "true" # boolean (used by "internal:")
|
||||
|
||||
##########################################################################################
|
||||
# PACKAGES: Included Common Packages
|
||||
# https://esphome.io/components/packages.html
|
||||
##########################################################################################
|
||||
packages:
|
||||
|
||||
# Network and Wi-Fi
|
||||
common_wifi: !include
|
||||
file: common/network_common.yaml
|
||||
vars:
|
||||
local_device_name: "${device_name}"
|
||||
local_static_ip_address: "${static_ip_address}"
|
||||
local_ota_pass: "${ota_pass}"
|
||||
|
||||
# Native API
|
||||
common_api: !include
|
||||
file: common/api_common.yaml
|
||||
vars:
|
||||
#local_api_key: "${api_key}"
|
||||
local_api_key: "tZ/djAp4qiM0wYCgUa1amg+wK7KTF9xR8bUFCaeVskM="
|
||||
|
||||
# Web Portal
|
||||
common_webportal: !include
|
||||
file: common/webportal_common.yaml
|
||||
|
||||
# MQTT
|
||||
common_mqtt: !include
|
||||
file: common/mqtt_common.yaml
|
||||
vars:
|
||||
local_device_name: "${device_name}"
|
||||
|
||||
# Time/SNTP
|
||||
common_sntp: !include
|
||||
file: common/sntp_common.yaml
|
||||
|
||||
common_general_sensors: !include
|
||||
file: common/sensors_common.yaml
|
||||
vars:
|
||||
local_friendly_name: "${friendly_name}"
|
||||
local_update_interval: "${update_interval}"
|
||||
|
||||
# Device Specific included packages
|
||||
# Athom Power Monitor Plug V2 (No Relay)
|
||||
common_athompowermonV2: !include
|
||||
file: common/athompowermonv2norelay_common.yaml
|
||||
vars:
|
||||
local_friendly_name: "${friendly_name}"
|
||||
sensor_update_interval: "${sensor_update_interval}"
|
||||
hide_energy_sensor: "${hide_energy_sensor}"
|
||||
|
||||
##########################################################################################
|
||||
# ESPHome
|
||||
# https://esphome.io/components/esphome.html
|
||||
##########################################################################################
|
||||
esphome:
|
||||
name: "${device_name}"
|
||||
friendly_name: "${friendly_name}"
|
||||
comment: "${description_comment}"
|
||||
area: "${device_area}"
|
||||
name_add_mac_suffix: false
|
||||
min_version: 2024.6.0
|
||||
project:
|
||||
name: "${project_name}"
|
||||
version: "${project_version}"
|
||||
|
||||
##########################################################################################
|
||||
# ESP Platform and Framework
|
||||
# https://esphome.io/components/esp8266.html
|
||||
##########################################################################################
|
||||
esp8266:
|
||||
board: esp8285
|
||||
restore_from_flash: true
|
||||
early_pin_init: true
|
||||
|
||||
preferences:
|
||||
flash_write_interval: 5min
|
||||
|
||||
mdns:
|
||||
disabled: false
|
||||
|
||||
##########################################################################################
|
||||
# ESPHome LOGGING
|
||||
# https://esphome.io/components/logger.html
|
||||
##########################################################################################
|
||||
logger:
|
||||
level: "${log_level}"
|
||||
baud_rate: 0 # free UART for CSE7766
|
||||
Reference in New Issue
Block a user