quieting down the power meter, eventually going to clean up the database and testing new lighting automation for bedroom

This commit is contained in:
CeeWeasel
2026-03-11 20:13:01 -04:00
parent 105fb7cf86
commit a272421a33
10 changed files with 126 additions and 15 deletions
@@ -19,6 +19,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct7}
phase_b:
@@ -32,6 +35,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct8}
phase_c:
@@ -45,6 +51,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct9}
line_frequency: ${electric_freq}
@@ -69,6 +78,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct10}
phase_b:
@@ -82,6 +94,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct11}
phase_c:
@@ -95,6 +110,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct12}
line_frequency: ${electric_freq}
@@ -19,6 +19,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct13}
phase_b:
@@ -32,6 +35,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct14}
phase_c:
@@ -45,6 +51,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct15}
line_frequency: ${electric_freq}
@@ -69,6 +78,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct16}
phase_b:
@@ -82,6 +94,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct17}
phase_c:
@@ -95,6 +110,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct18}
line_frequency: ${electric_freq}
@@ -20,6 +20,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct19}
phase_b:
@@ -33,6 +36,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct20}
phase_c:
@@ -46,6 +52,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct21}
line_frequency: ${electric_freq}
@@ -70,6 +79,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 5.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct22}
phase_b:
@@ -83,6 +95,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct23}
phase_c:
@@ -96,6 +111,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct24}
line_frequency: ${electric_freq}
@@ -24,6 +24,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct1}
phase_b:
@@ -37,6 +40,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct2}
phase_c:
@@ -50,6 +56,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal1}
gain_ct: ${current_cal_ct3}
frequency:
@@ -83,6 +92,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct4}
phase_b:
@@ -96,6 +108,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct5}
phase_c:
@@ -109,6 +124,9 @@ sensor:
- lambda: |-
if (x < 0) return x * -1;
return x;
- or:
- throttle: 60s
- delta: 2.0
gain_voltage: ${voltage_cal2}
gain_ct: ${current_cal_ct6}
#this is only needed if monitoring 2 voltages