I'm struggling to get this working and am hoping for some help.
I've got a Vera3 running UI7.
I followed wezzix instructions at the top of this thread, ie, created an account at emoncms, amended and loaded the EnergyMonitor.lua file and entered the startup code.
This didn't generate any inputs in emoncms so I followed RTS's instructions and added the following to the start of the EnergyMonitor.lua file
This to the end of the file:
_G.EnergyMonitorOnTimer = EnergyMonitorOnTimer
And, this in the Edit Startup Lua window:
emoncode = require("EnergyMonitor")
However, I get the following error in the top of the dashboard:
ERROR: error in lua for scenes and events
When i look at the log file I see the following error on multiple occasions...
LuaInterface::CallFunction_Timer-5 function EnergyMonitorOnTimer failed [string "module("EnergyMonitor",package.seeall)..."]:17: attempt to perform arithmetic on a nil value
Any helpful tips?