Repository navigation
Expand file tree
/
Copy pathbk72xx.yaml
More file actions
68 lines (55 loc) · 2.39 KB
/
Copy pathbk72xx.yaml
File metadata and controls
68 lines (55 loc) · 2.39 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
# NOTE: the inverter PROTOCOL (PI30 / SMG-Modbus / Voltronic / ...) is chosen by the Home
# Assistant integration at RUNTIME — it is NOT configured here. This file only sets the
# platform and the physical serial LINK (pins, transceiver, baud). The SAME firmware/config
# works for every protocol; for a different inverter you change wiring/baud, not a 'protocol'.
# BK72xx (Beken, e.g. BK7231N) board via ESPHome LibreTiny — virtual eybond
# collector bridge for a PI30/Voltronic inverter. Same component as the ESP8266/
# ESP32 builds; only the platform block differs.
#
# Pins: BK72xx software serial is chip-dependent in LibreTiny, so put the inverter
# UART on a HARDWARE UART. Adjust tx_pin/rx_pin to your board's free hardware UART
# (the logger/flash UART must stay separate). See LibreTiny's board pinout.
esphome:
name: eybond-bk72xx
name_add_mac_suffix: true
project:
name: groove-max.eybond-collector
version: "0.1.10"
bk72xx:
board: generic-bk7231n-qfn32-tuya # set to your actual LibreTiny board
logger: # uses the default debug UART; keep it off the inverter UART pins
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:
api:
ota:
- platform: esphome
dashboard_import:
package_import_url: github://groove-max/esp-eybond-collector/packages/bk72xx.yaml@main
import_full_config: false
external_components:
- source: github://groove-max/esp-eybond-collector
components: [eybond_collector]
uart:
id: inverter_uart
tx_pin: GPIO11 # hardware UART TX (adjust to your board)
rx_pin: GPIO10 # hardware UART RX (adjust to your board)
baud_rate: 9600 # SMG/Modbus; set 2400 here 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: GPIO12 # MAX485 DE/RE for RS485 inverters
# status_led_pin: GPIO8 # optional status LED (connection state); pick a free pin on your board
# com_led_pin: GPIO9 # optional separate LED for inverter-comms activity (see docs/FLASHING.md)
# Runtime UART reconfiguration is not supported on LibreTiny/BK72xx.
# Change baud_rate above and reflash when switching inverter families.