The Vera Community forums have moved!

Advanced => Programming => Scene Scripting => Topic started by: g8kmh on April 12, 2018, 02:34:17 pm

Title: Scene execution - failed attempt to call a nil value
Post by: g8kmh on April 12, 2018, 02:34:17 pm
Rather than add to the last topic from a long while back...

Does anyone else (still) get this error? Apparently at random, depending on the last LUA saved? I'm running UI7 latest public on a VeraPlus.

What's interesting is that I have ZeroBrane and the first statement that should be executed in the scene function is the mobdebug require. However since the debug session doesn't get started I'm guessing that the issue is somewhere in the Luup engine.

As I have multiple ZRC-90's the LUA code is easier than (apologies) kludging virtual switches for PLEG (unless anyone has a more elegant method they have working for UI7).