forked from birdie1/victron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
booster-config.yml
executable file
·156 lines (151 loc) · 3.33 KB
/
booster-config.yml
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
## Add your devices here:
#devices:
# - name: Shunt1
# type: smartshunt
# protocol: bluetooth-ble
# mac: fd:d4:50:0f:6c:1b
# - name: Solar1
# type: smartsolar
# protocol: bluetooth
# mac: F9:8E:1C:EC:9C:72
# - name: Phoenix1
# type: pheonix
# protocol: serial
# port: /dev/ttyUSB0
devices:
- name: booster
type: orionsmart
protocol: bluetooth
mac: F4:47:D5:25:CF:DE
# timer (in seconds) IN DEVELOPMENT!
timer:
retry: 5
bluetooth:
connected: 30,
disconnected: 30
bluetooth-ble:
repeat: 60
serial:
repeat: 30
## Logging:
## possible values:
## - syslog
## - mqtt
## - print
## - json
logger: json
## If logging is set to mqtt, this section must be filled
## Set hass to True if you want support for Homeassistant Discovery
## Mandatory:
## host: IP or Hostname
## port: 1883
## base_topic: victron
## hass: True/False
## Optional:
## username: MQTT_USER
## password: PASSWORD
mqtt:
host: 192.168.3.2
port: 1883
base_topic: victron
hass: True
username: USERNAME
password: PASSWORD
# Collected enitites by device type:
# If you change this, the names must be the same like in the value tables from victron.py
# If you use collections it will send whole collection as json instead of individual values.
#
# Replace key to name of your device: For example:
# collections:
# Shunt1:
# battery:
# - State Of Charge
# - ...
#
# WARNING: Please do not use collections for protocol bluetooth currently. It will probably not return any values!
#
#
# POSSIBLE COLLECTION SERIAL:
# smartshunt:
# device:
# - Product ID
# - Firmware Version
# battery:
# - State Of Charge
# - Time To Go
# latest:
# - Voltage
# - Current
# - Power
# - Starter Battery Voltage
# - Used Energy
# history:
# - Deepest Discharge
# - Last Discharge
# - Average Discharge
# - Cumulative Ah Drawn
# - Time Since Last Full
# - Charge Cycles
# - Full Discharges
# - Battery Voltage min
# - Battery Voltage max
# - Synchonisations
# - Alarm Voltage low
# - Alarm Voltage high
# - Starter Battery Voltage min
# - Starter Battery Voltage max
# - Total Discharged Energy
# - Total Charged Energy
# phoenix:
# device:
# - Product ID
# - Serial
# - Firmware
# - Production Date
# latest:
# - Voltage
# - AC Voltage
# - AC Current
# - Mode
# - Status
# - Warning
# - Alarm Reason
# smartsolar:
# device:
# - Day sequence Number (0..364)
# - Product ID
# - Serial
# - Firmware
# - Production Date
# latest:
# - Voltage
# - Current
# - Voltage Panel
# - Power
# - Status
# - MPPT Tracker Operation Mode
# - Off Reason
# - Virtual Load Output
# - Error Code
# history:
# - Energy All Time
# - Energy Today
# - Energy Today Max
# - Energy Yesterday
# - Energy Yesterday Max
#
# POSSIBLE COLLECTION BLUETOOTH-BLE:
# smartshunt:
# battery:
# - State Of Charge
# - Remaining Time
# latest:
# - Voltage
# - Starter Voltage
# - Current
# - Power
# - Used Energy
collections:
booster:
booster:
- Input Voltage