diff options
author | Kaufman Home Automation <[email protected]> | 2022-12-30 16:13:53 -0700 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-30 16:13:53 -0700 |
commit | 7db6a8b0187c1320e485b2f9f477042876ae4101 (patch) | |
tree | 38bb556d627db366fa318a8bc7d658bdd68e8246 | |
parent | 56852d894d91ebb988576cd6e3247284e00e21cd (diff) | |
download | PLF12-7db6a8b0187c1320e485b2f9f477042876ae4101.tar.gz PLF12-7db6a8b0187c1320e485b2f9f477042876ae4101.zip |
Add files via upload
-rw-r--r-- | kauf-plf12-base.yaml | 31 | ||||
-rw-r--r-- | kauf-plf12.yaml | 3 |
2 files changed, 34 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
diff --git a/kauf-plf12.yaml b/kauf-plf12.yaml new file mode 100644 index 0000000..b854d76 --- /dev/null +++ b/kauf-plf12.yaml @@ -0,0 +1,3 @@ +packages:
+ Kauf.PLF12-Base: github://KaufHA/PLF12/kauf-plf12-base.yaml
+ Kauf.PLF10: github://KaufHA/PLF10/kauf-plug.yaml
|