-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathesp8266-proxy-client.yaml
72 lines (61 loc) · 2.29 KB
/
esp8266-proxy-client.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
# ----------------------------------------------------------------------------------------------------
# ESPHome configuration - This part depends on your hardware target
# ----------------------------------------------------------------------------------------------------
esphome:
name: "esp8266"
friendly_name: ESP8266
esp8266:
board: esp01_1m
restore_from_flash: true
# Enable logging
logger:
baud_rate: 115200
level: INFO
logs:
component: ERROR
http_request.arduino: ERROR
# Enable Home Assistant API
api:
encryption:
key: !secret proxy_api_encryption_key
# WiFi connection
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# If you have a WiFi activity plannification, you may have to update the reboot timeout (Default: 15min)
reboot_timeout: 24h
# ----------------------------------------------------------------------------------------------------
# Customisation
# ----------------------------------------------------------------------------------------------------
# This part of the script is designed to be use for customisation. It shouldn't be necessary to
# edit other part of the script to perform configuration.
substitutions:
# Power meter source -----------------------------------------------------------
# Define ip address of Proxy Power Meter
power_meter_ip_address: "192.168.1.28"
# Regulator configuration
# Define GPIO pin connected to AC Dimmer for gate
regulator_gate_pin: GPIO4
# LEDs -------------------------------------------------------------------------
# Green LED is reflecting regulation status
# Yellow LED is reflecting power meter status
green_led_pin: GPIO1
yellow_led_pin: GPIO2
relay_regulator_gate_pin: GPIO0
packages:
power_meter:
url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
file: solar_router/power_meter_proxy_client.yaml
refresh: 1d
engine:
url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
file: solar_router/engine_1dimmer_1bypass.yaml
refresh: 1d
regulator:
url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
file: solar_router/regulator_solid_state_relay.yaml
refresh: 1d
bypass:
url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
file: solar_router/regulator_mecanical_relay.yaml
refresh: 1d