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
Script to calculate kwH to Currency
Moderator: leecollings
- LouiS22
- Posts: 433
- Joined: Friday 27 February 2015 13:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Budapest, Hungary
- Contact:
Re: Script to calculate kwH to Currency
There's a built in option to that.
Go to settings/Meter,Counter, then provide the appropiate value (0,8 in you case). Then go to the device, and you'll find a report tab with the cost. Downside: it's only a monthly summary.
Go to settings/Meter,Counter, then provide the appropiate value (0,8 in you case). Then go to the device, and you'll find a report tab with the cost. Downside: it's only a monthly summary.
-
- Posts: 15
- Joined: Monday 09 November 2015 6:55
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Script to calculate kwH to Currency
hi
yes i saw that today...
yes i saw that today...
Who is online
Users browsing this forum: Bing [Bot] and 1 guest