Repository navigation
Expand file tree
/
Copy pathesp32-devkit.yaml
More file actions
72 lines (60 loc) · 2.13 KB
/
Copy pathesp32-devkit.yaml
File metadata and controls
72 lines (60 loc) · 2.13 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
# ESP32 DevKit compatible release preset.
#
# One firmware image covers TTL, RS232 and RS485 wiring:
# - TTL / RS232: use TX/RX/GND only; leave GPIO4 unconnected.
# - RS485: use the same TX/RX plus GPIO4 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"
esp32:
board: esp32dev
framework:
type: arduino
logger:
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/esp32-devkit.yaml@main
import_full_config: false
external_components:
- source: github://groove-max/esp-eybond-collector
components: [eybond_collector]
uart:
id: inverter_uart
tx_pin: GPIO17 # -> inverter RX / RS485 DI / MAX3232 input
rx_pin: GPIO16 # <- 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: GPIO4 # -> RS485 DE+RE; leave unconnected for TTL/RS232
status_led_pin: GPIO2 # built-in LED on many ESP-WROOM-32 DevKit boards; do not add external pulls
# 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: