-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathgarage-fridge.yaml
117 lines (108 loc) · 2.68 KB
/
garage-fridge.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
substitutions:
device_id: garage-fridge
device_name: Garage Fridge
board: m5stack-atom
ip_address: !secret garage_fridge_ip
api_key: !secret garage_fridge_key
pwd: !secret garage_fridge_pwd
log_baud_rate: '0'
packages:
device_base: !include ./packages/device_base_esp32.yaml
wifi:
power_save_mode: light
climate:
- platform: pid
name: Garage Fridge
id: fridge_heater
entity_category: config
sensor: fridge_temp
default_target_temperature: 34°F
heat_output: fridge_heater_output
visual:
min_temperature: 32°F
max_temperature: 38°F
temperature_step: .1
control_parameters:
kp: 1.0
ki: 0.006
kd: 3
min_integral: 0.0
max_integral: 0.5
esp32_ble_tracker:
modbus:
output:
- platform: slow_pwm
pin: 22
id: fridge_heater_output
period: 10s
sensor:
- platform: inkbird_ibsth1_mini
mac_address: "10:08:2C:1F:33:63"
temperature:
id: fridge_temp
name: Garage Fridge Temperature
accuracy_decimals: 2
humidity:
name: Garage Fridge Humidity
battery_level:
name: Garage Fridge Sensor Battery Level
- platform: inkbird_ibsth1_mini
mac_address: "64:69:4E:9D:46:A9"
temperature:
id: freezer_temp
name: Garage Freezer Temperature
accuracy_decimals: 2
humidity:
name: Garage Freezer Humidity
battery_level:
name: Garage Freezer Sensor Battery Level
- platform: internal_temperature
name: "Garage Controller Temperature"
entity_category: diagnostic
- platform: pzemac
id: pzem
update_interval: 2s
current:
id: garage_fridge_current
name: ${device_name} Current
voltage:
id: garage_fridge_voltage
name: ${device_name} Voltage
energy:
name: ${device_name}
icon: mdi:flash
power:
id: garage_fridge_power
name: ${device_name} Power
frequency:
name: ${device_name} Power Frequency
power_factor:
name: ${device_name} Power Factor
- platform: pid
name: "Garage Fridge Proportional Term"
type: PROPORTIONAL
entity_category: diagnostic
- platform: pid
name: "Garage Fridge Integral Term"
type: INTEGRAL
entity_category: diagnostic
- platform: pid
name: "Garage Fridge Derivative Term"
type: DERIVATIVE
entity_category: diagnostic
- platform: pid
name: "Garage Fridge Error"
type: ERROR
entity_category: diagnostic
- platform: pid
name: "Garage Fridge PID Result"
type: RESULT
entity_category: diagnostic
- platform: pid
name: "Garage Fridge Heat Output"
type: HEAT
entity_category: diagnostic
uart:
tx_pin: GPIO21
rx_pin: GPIO25
baud_rate: 9600