Mercurial > ~darius > hgwebdir.cgi > OverviewJD
changeset 1:594ba407689b default tip
Show temperature instead of power now the sensor is fitted.
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Tue, 21 Dec 2021 15:24:31 +1030 |
parents | 57ffb39f29d4 |
children | |
files | OverviewJD.qml |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OverviewJD.qml Mon Dec 13 23:05:38 2021 +1030 +++ b/OverviewJD.qml Tue Dec 21 15:24:31 2021 +1030 @@ -201,7 +201,8 @@ } }, TileText { - text: sys.battery.power.absFormat(0) + property VBusItem battTemp: VBusItem { bind: Utils.path("com.victronenergy.system", "/Dc/Battery/Temperature"); unit: "C" } + text: battTemp.format(1) }, TileText { text: sys.battery.voltage.format(1) + " " + sys.battery.current.format(1)