Mercurial > ~darius > hgwebdir.cgi > OverviewJD
comparison OverviewJD.qml @ 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 |
comparison
equal
deleted
inserted
replaced
0:57ffb39f29d4 | 1:594ba407689b |
---|---|
199 case sys.batteryStateDischarging : return qsTr("discharging") | 199 case sys.batteryStateDischarging : return qsTr("discharging") |
200 } | 200 } |
201 } | 201 } |
202 }, | 202 }, |
203 TileText { | 203 TileText { |
204 text: sys.battery.power.absFormat(0) | 204 property VBusItem battTemp: VBusItem { bind: Utils.path("com.victronenergy.system", "/Dc/Battery/Temperature"); unit: "C" } |
205 text: battTemp.format(1) | |
205 }, | 206 }, |
206 TileText { | 207 TileText { |
207 text: sys.battery.voltage.format(1) + " " + sys.battery.current.format(1) | 208 text: sys.battery.voltage.format(1) + " " + sys.battery.current.format(1) |
208 } | 209 } |
209 ] | 210 ] |