aboutsummaryrefslogtreecommitdiffhomepage
path: root/kauf-plf12-base.yaml
diff options
context:
space:
mode:
authorKaufman Home Automation <[email protected]>2022-12-30 16:13:53 -0700
committerGitHub <[email protected]>2022-12-30 16:13:53 -0700
commit7db6a8b0187c1320e485b2f9f477042876ae4101 (patch)
tree38bb556d627db366fa318a8bc7d658bdd68e8246 /kauf-plf12-base.yaml
parent56852d894d91ebb988576cd6e3247284e00e21cd (diff)
downloadPLF12-7db6a8b0187c1320e485b2f9f477042876ae4101.tar.gz
PLF12-7db6a8b0187c1320e485b2f9f477042876ae4101.zip
Add files via upload
Diffstat (limited to 'kauf-plf12-base.yaml')
-rw-r--r--kauf-plf12-base.yaml31
1 files changed, 31 insertions, 0 deletions
diff --git a/kauf-plf12-base.yaml b/kauf-plf12-base.yaml
new file mode 100644
index 0000000..fda147c
--- /dev/null
+++ b/kauf-plf12-base.yaml
@@ -0,0 +1,31 @@
+# this file contains anything that needs to be changed for PLF12 relative to PLF10.
+
+substitutions:
+ project_name: Kauf.PLF12
+
+ # power monitoring configuration
+ voltage_divider_val: "2001"
+ sub_hlw_model: BL0937
+ power_cal_val2_in: "879.4"
+ power_cal_val2_out: "750"
+ current_cal_val2_in: "6.8"
+ current_cal_val2_out: "3.5"
+ voltage_cal_val2_in: "132.7"
+ voltage_cal_val2_out: "119.1"
+
+ # GPIO definitions
+ sub_red_led_pin: GPIO1
+ sub_button_pin: GPIO3
+ sub_pm_cf_pin: GPIO4
+ sub_pm_cf1_pin: GPIO5
+ sub_blue_led_pin: GPIO12
+ sub_relay_pin: GPIO13
+ sub_pm_sel_pin: GPIO14
+
+ # debounce specifications
+ sub_default_debounce: "20"
+ sub_min_debounce: "10"
+
+
+logger:
+ baud_rate: 0