-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathesp8285-power-meter-proxy.yaml
59 lines (46 loc) · 1.45 KB
/
esp8285-power-meter-proxy.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
# ----------------------------------------------------------------------------------------------------
# ESPHome configuration - This part depends on your hardware target
# ----------------------------------------------------------------------------------------------------
esphome:
name: "esp8285"
friendly_name: ESP8285
esp8266:
board: esp01_1m
# Enable logging
logger:
baud_rate: 0
level: INFO
logs:
component: ERROR
# Enable Home Assistant API
api:
# Enable over-the-air updates
ota:
platform: esphome
# WiFi connection
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Activate web interface
web_server:
port: 80
# ----------------------------------------------------------------------------------------------------
# Customisation
# ----------------------------------------------------------------------------------------------------
substitutions:
# Power meter source -----------------------------------------------------------
# Define ip address of Fronius inverter
power_meter_ip_address: "192.168.1.21"
# LEDs -------------------------------------------------------------------------
# Yellow LED is reflecting power meter
yellow_led_pin: GPIO1
globals:
- id: power_meter_activated
type: int
initial_value: "1"
packages:
power_meter:
url: https://github.com/XavierBerger/Solar-Router-for-ESPHome/
file: solar_router/power_meter_fronius.yaml
http_request:
esp8266_disable_ssl_support: True