mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 02:50:12 -04:00
stop hating myself
This commit is contained in:
@@ -0,0 +1,68 @@
|
||||
# CircuitSetup 6 Channel Energy Meter ESPHome common variables
|
||||
|
||||
esp32:
|
||||
board: nodemcu-32s
|
||||
cpu_frequency: 240MHz
|
||||
framework:
|
||||
# ESPHome v2025.7.0 update to allow more than 6 SPI hardware devices on ESP-IDF
|
||||
type: esp-idf
|
||||
|
||||
# Enable logging
|
||||
logger:
|
||||
|
||||
debug:
|
||||
update_interval: 10s
|
||||
|
||||
spi:
|
||||
clk_pin: 18
|
||||
miso_pin: 19
|
||||
mosi_pin: 23
|
||||
|
||||
#Wifi signal
|
||||
sensor:
|
||||
- platform: wifi_signal
|
||||
name: ${disp_name} WiFi
|
||||
id: wifi_signal_db
|
||||
entity_category: diagnostic
|
||||
update_interval: 60s
|
||||
|
||||
- platform: copy
|
||||
source_id: wifi_signal_db
|
||||
id: wifi_signal_pct
|
||||
name: ${friendly_name} WiFi %
|
||||
filters:
|
||||
- lambda: return min(max(2 * (x + 100.0), 0.0), 100.0);
|
||||
unit_of_measurement: "%"
|
||||
entity_category: diagnostic
|
||||
|
||||
- platform: debug
|
||||
free:
|
||||
name: "Heap Free"
|
||||
id: heap_free_sensor
|
||||
entity_category: diagnostic
|
||||
loop_time:
|
||||
name: "Loop Time"
|
||||
id: loop_time_sensor
|
||||
entity_category: diagnostic
|
||||
|
||||
- platform: uptime
|
||||
name: Uptime
|
||||
id: uptime_sensor
|
||||
entity_category: diagnostic
|
||||
|
||||
text_sensor:
|
||||
- platform: debug
|
||||
reset_reason:
|
||||
name: "Reset Reason"
|
||||
id: reset_reason_sensor
|
||||
entity_category: diagnostic
|
||||
|
||||
button:
|
||||
- platform: restart
|
||||
name: Restart
|
||||
id: restart_button
|
||||
entity_category: config
|
||||
|
||||
time:
|
||||
- platform: homeassistant
|
||||
id: homeassistant_time
|
||||
Reference in New Issue
Block a user