mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-09 18:40:14 -04:00
all kinds of fun
This commit is contained in:
@@ -24,13 +24,19 @@ substitutions:
|
||||
kwh_report_interval: 60s
|
||||
watt_heartbeat: 60s
|
||||
throttle_time: 60s
|
||||
temp_delta: "5.0"
|
||||
temp_throttle: 60s
|
||||
watt_delta_lights: "2.0"
|
||||
watt_delta_appliances: "10.0"
|
||||
watt_delta_computers: "15.0"
|
||||
watt_delta_grid: "100.0"
|
||||
watt_throttle: 60s
|
||||
watt_accuracy_decimals: 1
|
||||
watt_label: W
|
||||
amp_delta: 0.05
|
||||
freq_throttle: 60s
|
||||
freq_delta: "0.02"
|
||||
grid_amp_delta: "0.20"
|
||||
amp_delta: "0.05"
|
||||
amp_throttle: 60s
|
||||
amp_accuracy_decimals: 2
|
||||
amp_label: A
|
||||
@@ -191,9 +197,9 @@ packages:
|
||||
#common: !include circuit-setup/6chan_common.yaml
|
||||
|
||||
main: !include circuit-setup/meter_sensors/6chan_main_sensor.yaml
|
||||
main_status: !include circuit-setup/status_fields/6chan_main_status.yaml
|
||||
#main_cal: !include circuit-setup/calibration/6chan_main_calibration.yaml
|
||||
#main_offset: !include circuit-setup/calibration/6chan_main_offset_calibrations.yaml
|
||||
# main_status: !include circuit-setup/status_fields/6chan_main_status.yaml
|
||||
# main_cal: !include circuit-setup/calibration/6chan_main_calibration.yaml
|
||||
# main_offset: !include circuit-setup/calibration/6chan_main_offset_calibrations.yaml
|
||||
|
||||
addon1: !include circuit-setup/meter_sensors/6chan_addon1.yaml
|
||||
# addon1_status: !include circuit-setup/status_fields/6chan_addon1_status.yaml
|
||||
@@ -364,11 +370,12 @@ sensor:
|
||||
device_class: current
|
||||
state_class: measurement
|
||||
update_interval: ${update_time}
|
||||
# filters:
|
||||
# - or:
|
||||
# - delta: 2.0
|
||||
# - throttle_average: ${throttle_time}
|
||||
# # - heartbeat: ${watt_heartbeat}
|
||||
filters:
|
||||
# Drop noise below 0.02A, then log 0.05A changes or every 60s
|
||||
- lambda: "return x < 0.02 ? 0 : x;"
|
||||
- or:
|
||||
- delta: ${amp_delta}
|
||||
- throttle: ${amp_throttle}
|
||||
|
||||
#Total Watts From Grid
|
||||
- platform: template
|
||||
|
||||
Reference in New Issue
Block a user