all kinds of fun

This commit is contained in:
CeeWeasel
2026-05-04 21:01:23 -04:00
parent 149fac6ec0
commit 6f4259d767
62 changed files with 283 additions and 325 deletions
@@ -172,7 +172,7 @@ sensor:
# Clip "ghost" watts when the device is off
- lambda: "return x < 5.0 ? 0 : x;"
- or:
- delta: ${watt_delta_lights}
- delta: ${watt_delta_appliances}
- throttle: ${watt_throttle}
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct24}
@@ -25,7 +25,7 @@ sensor:
# Drop noise below 0.02A, then log 0.05A changes or every 60s
- lambda: "return x < 0.02 ? 0 : x;"
- or:
- delta: ${amp_delta}
- delta: ${grid_amp_delta}
- throttle: ${amp_throttle}
power:
name: ${ct1_name} ${watt_label}
@@ -95,6 +95,10 @@ sensor:
gain_ct: ${current_cal_ct3}
frequency:
name: Frequency 1
filters:
- or:
- delta: ${freq_delta}
- throttle: ${freq_throttle}
chip_temperature:
name: ${main_meter_name1} Chip Temp
line_frequency: ${electric_freq}
@@ -118,7 +122,7 @@ sensor:
# Drop noise below 0.02A, then log 0.05A changes or every 60s
- lambda: "return x < 0.02 ? 0 : x;"
- or:
- delta: ${amp_delta}
- delta: ${grid_amp_delta}
- throttle: ${amp_throttle}
power:
name: ${ct4_name} ${watt_label}
@@ -156,7 +160,7 @@ sensor:
# Clip "ghost" watts when the device is off
- lambda: "return x < 2.0 ? 0 : x;"
- or:
- delta: ${watt_delta_lights}
- delta: ${watt_delta_computers}
- throttle: ${watt_throttle}
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct5}
@@ -191,12 +195,18 @@ sensor:
# name: Frequency 2
chip_temperature:
name: ${main_meter_name2} Chip Temp
filters:
- or:
- delta: ${temp_delta}
- throttle: ${temp_throttle}
line_frequency: ${electric_freq}
gain_pga: 1X
update_interval: ${update_time}
enable_offset_calibration: ${offset_calibration}
enable_gain_calibration: ${gain_calibration}
#Total A Main
################
# - platform: template