Script to calculate kwH to Currency
Posted: Sunday 15 October 2017 14:44
Hi
i wonder if anyone know how to calculate a energy value from a fibaro plug to money?
ex
"Device Computer kwH * money per kwh = Dummydevice SEK
16 kwh * 0,8=12,8 SEK."
i cant figure it out in a lua script and blocky is very limitied. Suggestion is to include math in blocky.
can anyone help?
Robban
i wonder if anyone know how to calculate a energy value from a fibaro plug to money?
ex
"Device Computer kwH * money per kwh = Dummydevice SEK
16 kwh * 0,8=12,8 SEK."
i cant figure it out in a lua script and blocky is very limitied. Suggestion is to include math in blocky.
can anyone help?
Robban