Repository navigation
Expand file tree
/
Copy pathesp8266-d1-mini.yaml
More file actions
73 lines (61 loc) · 2.21 KB
/
Copy pathesp8266-d1-mini.yaml
File metadata and controls
73 lines (61 loc) · 2.21 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
# ESP8266 / Wemos D1 mini compatible release preset.
#
# One firmware image covers TTL, RS232 and RS485 wiring:
# - TTL / RS232: use TX/RX/GND only; leave GPIO14 unconnected.
# - RS485: use the same TX/RX plus GPIO14 for DE/RE direction control.
#
# The inverter protocol is selected by EyeBond Local at runtime. This YAML only
# fixes the board, pins and physical serial link.
esphome:
name: eybond-bridge
name_add_mac_suffix: true
project:
name: groove-max.eybond-collector
version: "0.1.10"
esp8266:
board: d1_mini
logger:
baud_rate: 0 # free GPIO2 for the built-in LED; logs are still available over API
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Default setup network name is the synthetic collector PN, for example V00000...
# To force a custom setup AP name instead, replace the line below with:
# ap:
# ssid: "My EyeBond Bridge Setup"
ap: {}
captive_portal:
ota:
- platform: esphome
dashboard_import:
package_import_url: github://groove-max/esp-eybond-collector/packages/esp8266-d1-mini.yaml@main
import_full_config: false
external_components:
- source: github://groove-max/esp-eybond-collector
components: [eybond_collector]
uart:
id: inverter_uart
tx_pin: GPIO13 # D7 -> inverter RX / RS485 DI / MAX3232 input
rx_pin: GPIO12 # D6 <- inverter TX / RS485 RO / MAX3232 output
baud_rate: 9600 # SMG/Modbus default; switch to 2400 for PI30/Voltronic
data_bits: 8
parity: NONE
stop_bits: 1
eybond_collector:
id: bridge
uart_id: inverter_uart
web_configuration: true
flow_control_pin: GPIO14 # D5 -> RS485 DE+RE; leave unconnected for TTL/RS232
status_led_pin:
number: GPIO2 # D4 / built-in LED on Wemos D1 mini
inverted: true
# com_led_pin: GPIO15 # optional separate LED for inverter-comms activity (see docs/FLASHING.md);
# without it, status_led_pin alone shows both connection state and com flicker
# pn: V00000200000000001 # optional synthetic PN; default is derived from MAC
# server_host: 192.0.2.10 # optional static HA address; discovery is the default
select:
- platform: eybond_collector
eybond_collector_id: bridge
name: "Inverter UART baud rate"
restore_value: true
api: