I have an energy monitoring switch that has the parameter “KWH”. I can examine the present value using:
luup.variable_get(“urn:micasaverde-com:serviceId:EnergyMetering1”,“KWH”,471)
I can reset this value in a Reactor Acion, but I want to be able to do that using LUA code. I know I need to use a “luup.call_action” command, but I d’t know the correct syntax.
Does anyone know the correct syntax?
Thanks,
Pete