-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathwifi-plug-pro-05-24v-example.yaml
57 lines (50 loc) · 1.13 KB
/
wifi-plug-pro-05-24v-example.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
substitutions:
inverter_maximum_power: "4500"
version: "2"
name: wifi-plug-pro-05
friendly_name: Wi-Fi Plug Pro-05
esp8266:
board: d1_mini
packages:
inv_8851:
url: https://github.com/lufton/esphome-inv-8851
ref: main
files:
- packages/core.yaml
- packages/inverter.yaml
- packages/grid.yaml
- packages/temperature.yaml
- packages/battery.yaml
- packages/battery-24v.yaml
# - packages/pv.yaml
# - packages/parallel.yaml
# - packages/bms-24v.yaml
- packages/wifi-plug-pro-05.yaml
refresh: 0s
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ap:
ssid: ${friendly_name}
password: !secret ap_password
api:
encryption:
key: !secret api_encryption_key
ota:
- platform: esphome
password: !secret ota_password
interval:
interval: 1s
then:
if:
condition: api.connected # mqtt.connected
then:
if:
condition:
light.is_off: srv_led
then:
light.turn_on: srv_led
else:
- light.turn_on: srv_led
- delay: 500ms
- light.turn_off: srv_led