Smart Meter P1 actual usage Fase1, Fase2, Fase3 to Daily total KW

Easy to use, 100% Lua-based event scripting framework.

Moderator: leecollings

User avatar
waltervl
Posts: 5846
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Smart Meter P1 actual usage Fase1, Fase2, Fase3 to Daily total KW

Post by waltervl »

Did you give multiple devices the same name eg L1C ? DzVents cannot handle that so you have rename those to unique names.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
fortissimo
Posts: 7
Joined: Tuesday 10 November 2020 20:58
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smart Meter P1 actual usage Fase1, Fase2, Fase3 to Daily total KW

Post by fortissimo »

Every device is unique in its name.
User avatar
waltervl
Posts: 5846
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Smart Meter P1 actual usage Fase1, Fase2, Fase3 to Daily total KW

Post by waltervl »

Then it looks like you have a type error somewhere. For example I do not see "upvalue 'L1C'" mentioned.
Perhaps you have missed a comma or bracket.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
DuDo
Posts: 14
Joined: Saturday 18 November 2017 9:25
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Smart Meter P1 actual usage Fase1, Fase2, Fase3 to Daily total KW

Post by DuDo »

i get
2022-07-27 10:10:46.772 Error: dzVents: Error: (3.1.8) kWh estimated values: An error occurred when calling event handler CalculateKWHusedL1L2L3
2022-07-27 10:10:46.772 Error: dzVents: Error: (3.1.8) kWh estimated values: ...pts/dzVents/generated_scripts/CalculateKWHusedL1L2L3.lua:90: attempt to concatenate a nil value (field 'counter')


but where is the original script?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest