Skip to content

Commit c4b5b16

Browse files
Update victron_mqtt to 2025.7.33 and merge topics (#51)
Co-authored-by: tomer-w <57483589+tomer-w@users.noreply.github.com>
1 parent 74c55bc commit c4b5b16

3 files changed

Lines changed: 96 additions & 7 deletions

File tree

custom_components/victron_mqtt/manifest.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
"iot_class": "local_push",
1212
"issue_tracker": "https://github.com/tomer-w/ha-victron-mqtt/issues",
1313
"requirements": [
14-
"victron_mqtt==2025.7.31"
14+
"victron_mqtt==2025.7.33"
1515
],
1616
"ssdp": [
1717
{
1818
"manufacturer": "Victron Energy",
1919
"X_MqttOnLan": "1"
2020
}
2121
],
22-
"version": "2025.7.22"
22+
"version": "2025.7.23"
2323
}

custom_components/victron_mqtt/translations/en.json

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,9 @@
155155
"battery_time_to_go": {
156156
"name": "Battery time to go"
157157
},
158+
"charge_mode": {
159+
"name": "Battery charge mode"
160+
},
158161
"inverter_state": {
159162
"name": "Inverter state"
160163
},
@@ -304,6 +307,15 @@
304307
},
305308
"alternator_input_power": {
306309
"name": "Input Power"
310+
},
311+
"dcload_voltage": {
312+
"name": "DC load voltage"
313+
},
314+
"dcload_current": {
315+
"name": "DC load current"
316+
},
317+
"dcload_power": {
318+
"name": "DC load power"
307319
}
308320
},
309321
"switch": {
@@ -349,8 +361,8 @@
349361
"temperature_scale": {
350362
"name": "Temperature scale factor"
351363
},
352-
"cgwacs_ac_power_set_point": {
353-
"name": "CGwacs AC Power Setpoint"
364+
"system_ac_power_set_point": {
365+
"name": "AC Power Setpoint"
354366
},
355367
"switch_output_dimming": {
356368
"name": "Switch {output} Dimming"

victron_mqtt.json

Lines changed: 80 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -762,6 +762,24 @@
762762
"is_adjustable_suffix": null,
763763
"key_values": {}
764764
},
765+
{
766+
"topic": "N/+/battery/+/Info/ChargeMode",
767+
"message_type": "MetricKind.SENSOR",
768+
"short_id": "charge_mode",
769+
"name": "Battery charge mode",
770+
"unit_of_measurement": null,
771+
"metric_type": "MetricType.NONE",
772+
"metric_nature": "MetricNature.NONE",
773+
"device_type": "Battery",
774+
"value_type": "ValueType.STRING",
775+
"precision": null,
776+
"enum": null,
777+
"min_max_range": "RangeType.STATIC",
778+
"min": null,
779+
"max": null,
780+
"is_adjustable_suffix": null,
781+
"key_values": {}
782+
},
765783
{
766784
"topic": "N/+/vebus/+/Mode",
767785
"message_type": "MetricKind.SELECT",
@@ -1827,12 +1845,12 @@
18271845
{
18281846
"topic": "N/+/settings/+/Settings/CGwacs/AcPowerSetPoint",
18291847
"message_type": "MetricKind.NUMBER",
1830-
"short_id": "cgwacs_ac_power_set_point",
1831-
"name": "CGwacs AC Power Setpoint",
1848+
"short_id": "system_ac_power_set_point",
1849+
"name": "AC Power Setpoint",
18321850
"unit_of_measurement": "W",
18331851
"metric_type": "MetricType.POWER",
18341852
"metric_nature": "MetricNature.INSTANTANEOUS",
1835-
"device_type": "Carlo Gavazzi Wired AC Sensors",
1853+
"device_type": "System",
18361854
"value_type": "ValueType.INT",
18371855
"precision": null,
18381856
"enum": null,
@@ -1842,6 +1860,60 @@
18421860
"is_adjustable_suffix": null,
18431861
"key_values": {}
18441862
},
1863+
{
1864+
"topic": "N/+/dcload/+/Dc/0/Voltage",
1865+
"message_type": "MetricKind.SENSOR",
1866+
"short_id": "dcload_voltage",
1867+
"name": "DC load voltage",
1868+
"unit_of_measurement": "V",
1869+
"metric_type": "MetricType.VOLTAGE",
1870+
"metric_nature": "MetricNature.INSTANTANEOUS",
1871+
"device_type": "DC Load",
1872+
"value_type": "ValueType.FLOAT",
1873+
"precision": 2,
1874+
"enum": null,
1875+
"min_max_range": "RangeType.STATIC",
1876+
"min": null,
1877+
"max": null,
1878+
"is_adjustable_suffix": null,
1879+
"key_values": {}
1880+
},
1881+
{
1882+
"topic": "N/+/dcload/+/Dc/0/Current",
1883+
"message_type": "MetricKind.SENSOR",
1884+
"short_id": "dcload_current",
1885+
"name": "DC load current",
1886+
"unit_of_measurement": "A",
1887+
"metric_type": "MetricType.CURRENT",
1888+
"metric_nature": "MetricNature.INSTANTANEOUS",
1889+
"device_type": "DC Load",
1890+
"value_type": "ValueType.FLOAT",
1891+
"precision": 1,
1892+
"enum": null,
1893+
"min_max_range": "RangeType.STATIC",
1894+
"min": null,
1895+
"max": null,
1896+
"is_adjustable_suffix": null,
1897+
"key_values": {}
1898+
},
1899+
{
1900+
"topic": "N/+/dcload/+/Dc/0/Power",
1901+
"message_type": "MetricKind.SENSOR",
1902+
"short_id": "dcload_power",
1903+
"name": "DC load power",
1904+
"unit_of_measurement": "W",
1905+
"metric_type": "MetricType.POWER",
1906+
"metric_nature": "MetricNature.INSTANTANEOUS",
1907+
"device_type": "DC Load",
1908+
"value_type": "ValueType.FLOAT",
1909+
"precision": 1,
1910+
"enum": null,
1911+
"min_max_range": "RangeType.STATIC",
1912+
"min": null,
1913+
"max": null,
1914+
"is_adjustable_suffix": null,
1915+
"key_values": {}
1916+
},
18451917
{
18461918
"topic": "N/+/switch/+/SwitchableOutput/output_{output(1-4)}/State",
18471919
"message_type": "MetricKind.SWITCH",
@@ -1953,6 +2025,11 @@
19532025
"name": "Carlo Gavazzi Wired AC Sensors",
19542026
"value": "CGwacs"
19552027
},
2028+
{
2029+
"id": "DC_LOAD",
2030+
"name": "DC Load",
2031+
"value": "dcload"
2032+
},
19562033
{
19572034
"id": "ALTERNATOR",
19582035
"name": "Charger (Orion/Alternator)",

0 commit comments

Comments
 (0)