Invalid StartupLUA!

I’m getting the message “SWITCH PROGRAMS[43] : Invalid StartupLUA!” but I don’t even have any startupLUA on that device so I’m unsure why I would even get message that it’s invalid.

I’m getting the same error in a pleg device.

Look for a device property or trigger that wasn’t fully setup and remove it or set it up.

In the Advanced Tab … what is the value of the Variable:
StartupLUA

I’ve also suddenly got the same message it was certainly not there before. The message showing in startuplua is " please enter your startup code here. Global variables and functions defined here will be available to then out for your actions,"

Message I have is program logic event generator (70) : invalid statuplua!

StartupLUA =
Please%20enter%20your%20Startup%20LUA%20code%20here.%20Global%20variables%20and%20functions%20defined%20here%20will%20be%20available%20to%20the%20LUA%20for%20your%20actions.

[quote=“RichardTSchaefer, post:4, topic:187026”]In the Advanced Tab … what is the value of the Variable:
StartupLUA[/quote]

Hi

I got the same message.

The Advanced tab, StartupLUA says:

Please%20enter%20your%20Startup%20LUA%20code%20here.%20Global%20variables%20and%20functions%20defined%20here%20will%20be%20available%20to%20the%20LUA%20for%20your%20actions.

Best regards

Thomas

Removed the text in StartupLua… Error message went away.

yes same here I’ve removed the text and then the issue is resolved. Assume its something that crept in when the app updated itself as I have auto update enabled and I see its running the latest version.

Same here - Same solution - great forum :slight_smile:

I have the same issue. I deleted the text in StartupLUA, also did a “Reload Engine” but I am still getting the same error.

Did you delete this from the Advanced Tab ? Or the Actions Editor ?
Did you wait for the reload to complete before doing a Browser Refresh ?

I did this from Advanced->Variables. Frankly, I don’t 100% recall the steps afterwards but what I usually do it clicking into a different field and wait until “Change property command sent”. I am not sure if I refreshed the browser after that.

When you go back back to the advanced tab … do you still see the bad value there ?
If so then your saves are not happening.

What type of Vera are you using ?
What UI ?

Richard, when I went back (multiple time) I didn’t see the bad value anymore. I have a vera lite. I was on the second newest firmware and updated to the latest version yesterday (v1.7.569) hoping some issues will be fixed (my PLEG devices sometimes suddenly disappeared so I had to do a restore). I still get the same error (“Invalid StartupLUA!”) but so far the PLEG devices didn’t disappear anymore.

Sounds like you may be running out of memory on your Vera Lite.

Wow, I have only 9 apps installed and my list of devices has only 32 entries which includes the ‘devices’ from the apps, a 4-in-1 sensor that shows up as 4, a bunch of dimmers and outlets, etc. It’s really quite a simple and small setup. How can I check the amount of memory available?

Btw, this is an issue of RAM not storage, correct? If so then wouldn’t just the unit crash or lock up instead of losing a (PLEG) device? Also after a restart I would assume the devices will be back as the information is stored in the flash storage (I assume) and loaded during boot up?

Yes its RAM … Z-wave devices do not impact memory much … Other PLUGINS do. How many NON Z-Wave devices do you have ?

When it restarts … because you change something … if there is a problem … it reverts to a previous change … i.e. If you add a device and do a save … it fails and it reverts to the pre-device added state.

This happens when you try to change a setting … it fails and reverts to the previous good state.

I have the following non z-wave devices:

1x World Weather (plugin)
1x Day or Night (plugin)
1x Ping Sensor (plugin)
1x IPhone Locator (plugin)
1x PLEG (plugin)
2x Blue Iris (plugin)
2x Combination Switch (plugin)
1x VeraAlerts (plubin)

All physical devices are z-wave devices.

You can eliminate the Combination plugin and replace them with Conditions in the PLEG you have … that will save some memory!