02.01.2023, 12:01
No I remember what was going on, on my site;
This is my line in my log
this is what the current logs said about the value
this is a part of the script I use
My question is, is there a reason why he doesn't update the value?
It looks like they are not the same, behind the dot.
This is my line in my log
this is what the current logs said about the value
Code:
P1 HomeWizzard [new and updated] 02.01.2023 12:57:03
* string: returned_total: gr: 51/0/11 = 9434.957
this is a part of the script I use
Code:
--Reading electricity delivered by client (Tariff 2) in 0,001 kWh 14.4 byte
--Teruggeleverd Elektriciteit Tarief 1
returned_tarrif2 = data:match'1-0:2.8.2%((%d+.%d+)'
returned_tarrif2 = tonumber(returned_tarrif2)
--log("returned_tarrif2: " ..returned_tarrif2)
grp.checkupdate('51/0/10', returned_tarrif2) --
--------------------
returned_total = returned_tarrif1 + returned_tarrif2
grp.checkupdate('51/0/11', returned_total) --
log("returned_total: gr: 51/0/11 = " ..returned_total)
My question is, is there a reason why he doesn't update the value?
It looks like they are not the same, behind the dot.