add temperatur reading and fix weblink

This commit is contained in:
Marko Oldenburg 2023-05-23 08:08:42 +02:00
parent 33763032c6
commit 1683fab2d4

View File

@ -542,6 +542,16 @@ sub _ProcessingRetrieveData {
)
)
),
'temperature' => int(
sprintf(
"%.1f",
(
$data->{temperatureMax}[$i]
? $data->{temperatureMax}[$i]
: 0
)
) + 0.5
),
'low_c' => int(
sprintf( "%.1f",
$data->{temperatureMin}[$i] ) + 0.5