-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathiBoost.yaml
132 lines (117 loc) · 3.07 KB
/
iBoost.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
esphome:
name: cc1101
platform: ESP8266
board: d1_mini
includes:
- iBoost.h
- CC1101_RFx.h
libraries:
- SPI
# Enable logging
logger:
# Enable Home Assistant API
api:
password: ""
ota:
- platform: esphome
password: ""
wifi:
ssid: "YOUR_SSID"
password: "YOUR PASSWORD"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Cc1101 Fallback Hotspot"
password: "????????"
captive_portal:
sensor:
- platform : custom
lambda: |-
iBoost = new iBoostBuddy; // note: this is declared globally in iBoost.h
App.register_component(iBoost);
return {iBoost->heatingImport,iBoost->heatingPower,iBoost->heatingToday,iBoost->heatingYesterday,iBoost->heatingLast7,iBoost->heatingLast28,iBoost->heatingLastGT,iBoost->heatingBoostTime};
sensors:
- name: "iBoost Import"
unit_of_measurement: "W"
accuracy_decimals: 0
icon: "mdi:solar-power"
- name: "iBoost Power"
unit_of_measurement: "W"
accuracy_decimals: 0
icon: "mdi:solar-power"
device_class: power
- name: "iBoost Today"
unit_of_measurement: "Wh"
accuracy_decimals: 0
device_class: energy
icon: "mdi:solar-power"
state_class: total_increasing
- name: "iBoost Yesterday"
unit_of_measurement: "Wh"
accuracy_decimals: 0
icon: "mdi:solar-power"
device_class: energy
state_class: total_increasing
- name: "iBoost Last 7 Days"
unit_of_measurement: "Wh"
accuracy_decimals: 0
icon: "mdi:solar-power"
state_class: total_increasing
device_class: energy
- name: "iBoost Last 28 days"
unit_of_measurement: "Wh"
accuracy_decimals: 0
icon: "mdi:solar-power"
device_class: energy
state_class: total_increasing
- name: "iBoost Total"
unit_of_measurement: "Wh"
accuracy_decimals: 0
icon: "mdi:solar-power"
device_class: energy
state_class: total_increasing
- name: "iBoost Boost Time Remaining"
unit_of_measurement: "Min"
accuracy_decimals: 0
device_class: duration
icon: "mdi:solar-power"
text_sensor:
- platform : custom
lambda: |-
return {iBoost->heatingMode};
text_sensors:
- name: "iBoost Mode"
icon: "mdi:solar-power"
- platform : custom
lambda: |-
return {iBoost->heatingWarn};
text_sensors:
- name: "iBoost Warn"
icon: "mdi:solar-power"
button:
- platform: template
name: "iBoost Manual Boost START"
id: BoostStart
icon: "mdi:solar-power"
on_press:
then:
- lambda: |-
iBoost->boost(id(boostTime).state);
- platform: template
name: "iBoost Manual Boost CANCEL"
id: BoostCancel
icon: "mdi:solar-power"
on_press:
then:
- lambda: |-
iBoost->boost(0);
number:
- platform : template
name: "iBoost Manual Boost Time"
id: boostTime
icon: "mdi:solar-power"
unit_of_measurement: "Minutes"
optimistic: true
initial_value: 15
min_value: 0
max_value: 120
step: 15