forked from KinDR007/VictronMPPT-ESPHOME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bluesmart-charger-esp32-example.yaml
69 lines (58 loc) · 1.35 KB
/
bluesmart-charger-esp32-example.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
substitutions:
name: bluesmart-charger
external_components_source: github://KinDR007/VictronMPPT-ESPHOME@main
esphome:
name: ${name}
esp32:
board: esp32dev
external_components:
- source: ${external_components_source}
refresh: 0s
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
ota:
# api:
logger:
baud_rate: 0
mqtt:
broker: !secret mqtt_host
username: !secret mqtt_username
password: !secret mqtt_password
id: mqtt_client
uart:
id: uart_0
tx_pin: GPIO16 # Not connected! The communication is read-only
rx_pin: GPIO17 # Connect this this GPIO and GND to the charger
baud_rate: 19200
rx_buffer_size: 256
victron:
uart_id: uart_0
id: victron0
throttle: 10s
sensor:
- platform: victron
victron_id: victron0
battery_voltage:
name: "${name} output voltage"
battery_current:
name: "${name} current"
error_code:
name: "${name} error code"
charging_mode_id:
name: "${name} mode id"
text_sensor:
- platform: victron
victron_id: victron0
device_type:
name: "${name} device type"
firmware_version_24bit:
name: "${name} firmware version"
serial_number:
name: "${name} serial number"
hardware_revision:
name: "${name} hardware number"
error:
name: "${name} error"
charging_mode:
name: "${name} charging mode"