Page 3 of 3

Re: Lua version problem domoticz

Posted: Tuesday 31 March 2020 15:57
by sjoemie1985
one other question

i see that the EnergyImportLow has an higher value than EnergyImportHigh is that normal or do i have somewhere an fault in the lua script?

Code: Select all

2020-03-31 15:55:12.024 Status: LUA: ----- PowerGeneration = 469572 W
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyGeneration = 303294 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- PowerImport = 0 W
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyImportLow = 469572 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyImportHigh = 303294 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyImport = 772866.0 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- PowerExport = 736 W
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyExportLow = 95006 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyExportHigh = 250489 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyExport = 345495.0 Wh
2020-03-31 15:55:12.024 Status: LUA: ----- PowerConsumption = 468836.0 W
2020-03-31 15:55:12.024 Status: LUA: ----- EnergyConsumption = 730665.0 Wh
2020-03-31 15:55:12.026 Status: LUA: ----- PowerGeneration = 469572 W
2020-03-31 15:55:12.026 Status: LUA: ----- EnergyGeneration = 303294 Wh
2020-03-31 15:55:12.026 Status: LUA: ----- PowerImport = 0 W
2020-03-31 15:55:12.026 Status: LUA: ----- EnergyImportLow = 469572 Wh
2020-03-31 15:55:12.026 Status: LUA: ----- EnergyImportHigh = 303294 Wh

Re: Lua version problem domoticz

Posted: Tuesday 31 March 2020 18:44
by waaren
sjoemie1985 wrote: Tuesday 31 March 2020 15:57 one other question

i see that the EnergyImportLow has an higher value than EnergyImportHigh is that normal or do i have somewhere an fault in the lua script?
The Low and High are only referring to the tariff. So it depends on how you spread you energy usage over the day.

BTW you should look at your Lua script that sends these log messages. Why should it report with this high frequency?

Re: Lua version problem domoticz

Posted: Wednesday 01 April 2020 0:44
by sjoemie1985
waaren wrote: Tuesday 31 March 2020 18:44
sjoemie1985 wrote: Tuesday 31 March 2020 15:57 one other question

i see that the EnergyImportLow has an higher value than EnergyImportHigh is that normal or do i have somewhere an fault in the lua script?
The Low and High are only referring to the tariff. So it depends on how you spread you energy usage over the day.

BTW you should look at your Lua script that sends these log messages. Why should it report with this high frequency?
gonna look at those time settings.
but i see the script is totaly working fine and uploads the data :)
think i was bit to fast, with some reply.
think i use less energy than my solar panels are collecting at pretty sunny days :)