From af8ea561553fab080071957ff9e78f2a1e246481 Mon Sep 17 00:00:00 2001 From: Holger Steinhaus Date: Thu, 28 Mar 2024 22:20:55 +0100 Subject: [PATCH] added service "battery" --- services.yml | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) diff --git a/services.yml b/services.yml index df80fdb..080cd13 100644 --- a/services.yml +++ b/services.yml @@ -257,3 +257,50 @@ gps: description: "m" NrOfSatellites: description: "Count" + +# https://github.com/victronenergy/venus/wiki/dbus#battery +battery: + ProductId: + default: 65535 # 0xFFFF + CustomName: + default: "MQTT BMS" + persist: true + Dc/0/Voltage: + format: "{} V" + description: "V DC" + Dc/0/Current: + format: "{} A" + description: "A" + Dc/0/Power: + format: "{} W" + description: "W" + Dc/0/Temperature: + format: "{} °C" + description: "T1" + Soc: + format: "{} %" + description: "State of charge" + Balancing: + description: "0 = off, 1 = on" + Io/AllowToCharge: + description: "0 = off, 1 = on" + Io/AllowToDischarge: + description: "0 = off, 1 = on" + ConsumedAmphours: + format: "{} Ah" + description: "Ah" + System/MinCellVoltage: + format: "{} V" + description: "V DC" + System/MaxCellVoltage: + format: "{} V" + description: "V DC" + System/NrOfCellsPerBattery: + persist: false + System/NrOfBatteries: + persist: false + System/BatteriesParallel: + persist: false + System/BatteriesSeries: + persist: false +