-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.esp32-c3-midea-mkg-fan-coil.yaml
More file actions
133 lines (117 loc) · 2.55 KB
/
Copy path.esp32-c3-midea-mkg-fan-coil.yaml
File metadata and controls
133 lines (117 loc) · 2.55 KB
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
esphome:
name: ${device_name}
friendly_name: ${friendly_name}
includes:
- bunicutz_AC_common.h
- esp32_midea_RS485.h
- esp32_midea_RS485.cpp
esp32:
board: esp32-c3-devkitm-1
variant: esp32c3
framework:
type: arduino
text_sensor:
- platform: wifi_info
ip_address:
name: ESP IP Address
ssid:
name: ESP Connected SSID
bssid:
name: ESP Connected BSSID
mac_address:
name: ESP Mac Wifi Address
- platform: debug
device:
name: "Device Info"
reset_reason:
name: "Reset Reason"
- platform: version
name: "ESPHome Version"
hide_timestamp: true
debug:
update_interval: 30s
sensor:
- platform: wifi_signal
name: "ESP WiFi Signal"
update_interval: 60s
- platform: uptime
name: Uptime Sensor
- platform: custom
id: my_AC1
lambda: |-
auto my_ACSensors1 = new BunicutzACSensor2(id(my_ac_mode1),id(my_ac_fan_mode1),id(ac_set_temp1),/*id(ac_aux_heat1),id(ac_echo_sleep1),id(ac_vent1),*/id(ac_swing1),id(ac_swing_pos1)/*,id(ac_lock1)*/);
App.register_component(my_ACSensors1);
return {my_ACSensors1->ACT1Temp,
my_ACSensors1->ACT2ATemp,
// my_ACSensors1->ACT2BTemp,
// my_ACSensors1->ACT3Temp,
my_ACSensors1->ACNotResponding
};
sensors:
- name: "In Air Temp"
unit_of_measurement: "°C"
accuracy_decimals: 0
- name: "Coil A Temp"
unit_of_measurement: "°C"
accuracy_decimals: 0
# - name: "Coil B Temp"
# unit_of_measurement: "°C"
# accuracy_decimals: 0
# - name: "Outdoor Temp"
# unit_of_measurement: "°C"
# accuracy_decimals: 0
- name: "Com State"
unit_of_measurement: ""
accuracy_decimals: 0
select:
- platform: template
name: "Mode"
optimistic: true
id: my_ac_mode1
options:
- "Off"
- "Auto"
- "Auto_Heat"
- "Auto_Cool"
- "Cool"
- "Dry"
- "Heat"
- "Fan"
- "Unknown"
- platform: template
name: "Fan Mode"
optimistic: true
id: my_ac_fan_mode1
options:
- "Auto"
- "High"
- "Medium"
- "Low"
- "Unknown"
- platform: template
name: "SwingPos"
optimistic: true
id: ac_swing_pos1
options:
- "Auto"
- "1"
- "2"
- "3"
- "4"
- "5"
number:
- platform: template
name: "Set Temp"
id: ac_set_temp1
optimistic: true
min_value: 17
max_value: 32
step: 1
switch:
- platform: template
name: "Swing"
id: ac_swing1
optimistic: true
button:
- platform: restart
name: "FanCoil Restart"