Vera System Summary Info?

I’m running a Vera 2 and it’s working just fine on UI4. My understanding is that the limitation of Vera 2 is memory, specifically as it applies to the number of devices in the system. I’m wondering if there’s a place I can go that provides summary info on my Vera: number of sections, rooms, devices, scenes… maybe even memory usage as a % of total or available memory… network info? Device types? I’m trying to think of all of the statistics that would appear on the page I’m envisioning.

Is there any such page in the UI that provides that info? I guess I have around 20 devices (seems like more), but I only know that from a quick manual count on the UI.

You might find the LSI (Luup System Information) plugin useful.

Searched & found thread here. I’ll have a look.

Followed the directions from this thread, but it’s not working as expected… created device & populated UpnpDevFilename with D_LSI.xml, and it’s showing me nothing…

Advanced tab…

Came home, deleted device, reloaded files, recreated device, and all is well!

Is it possible that loading device files remotely caused issues? Dunno. Works fine now, though.

Has anyone actually hit a point where they think their Vera 2 can’t keep up? I have about 60 devices right now and I have gone a bit higher than that in the past. It seemed a little slow for a while when I was running the Ergy Light plugin, not much but I uninstalled it just in case.

I’m still thinking about getting a Vera 3 just to have another machine for development…

I am running about 70 devices, with another 6 to come online soon.
I do not have any performance problems … other than (re-)starting up.
My most complicated scene involves from 1 to 25 devices … and I am
quite pleased with it’s performance.

I will likely get a Vera3 when the buzz on bugs and delays quiets.
I want to string a set of light posts up my drive … 400 ft . With controllable light/plug on each.
I want to see how far I can get with hand tweaked z-wave routes. I already have a Wifi router at the far
end, so I am likely to need another Vera there to keep it company.

Has anyone actually hit a point where they think their Vera 2 can't keep up?

Vera V2@1.5.305:
56 Luup devices, 4 Z-Wave devices, 12 scenes: frequent slowdowns, reboots and lockups that require a manual power cycle.

Vera V1@1.3.1338:
105 Luup devices, 33 Z-Wave devices, 108 scenes: quite stable, but nearly out of flash memory …

I’m nowhere near those numbers, so that gives me some confidence I won’t have to upgrade hardware for quite a while.

If your on UI4 on your vera 2, you’ll be fine. UI5 on vera 2 can be an issue. As you can see from Ap15e’s post.

  • Garrett

[quote=“Ap15e, post:9, topic:170626”]

Has anyone actually hit a point where they think their Vera 2 can’t keep up?

Vera V2@1.5.305:
56 Luup devices, 4 Z-Wave devices, 12 scenes: frequent slowdowns, reboots and lockups that require a manual power cycle.[/quote]
Vera V2@1.5.255:
45 Luup devices, 36 Z-Wave devices, 50 scenes:
Grinds to a halt multiple times a day, need to manually power cycle. Recovers on its own maybe 5% of the time.

It has gotten so bad that I put Vera on a Z-Wave receptacle, that I can use a standalone secondary controller to turn on and off when needed.

Load averages (when I can even check them) regularly get up into the high teens. I’m assuming they are off the chart when I can’t check them.

I had installed a few plugins: ping sensor, google weather, Denon receiver controller, smartphone UI and virtual switches. I uninstalled most of them (except the smartphone and virtual switches) to see if it helped…no joy.

Waiting on MCV to respond to my trouble ticket. They wrote that they are running a bit behind schedule.

Just a list of automatic LuaUPnP restarts for my Vera V2@1.5.305 …

2012-02-18 01:00:46 1329523246
2012-02-18 01:22:55 1329524575
2012-02-18 01:40:59 1329525659
2012-02-18 03:29:29 1329532169
2012-02-18 05:32:38 1329539558
2012-02-18 08:26:11 1329549971
2012-02-18 12:36:53 1329565013
2012-02-18 14:27:31 1329571651
2012-02-18 15:40:06 1329576006
2012-02-18 17:16:22 1329581782
2012-02-18 19:28:44 1329589724
2012-02-18 21:20:23 1329596423
2012-02-18 23:24:55 1329603895
2012-02-19 00:31:56 1329607916
2012-02-19 02:14:32 1329614072
2012-02-19 03:17:16 1329617836
2012-02-19 06:01:21 1329627681
2012-02-19 09:35:10 1329640510
2012-02-19 12:28:25 1329650905
2012-02-19 15:53:32 1329663212
2012-02-19 17:05:53 1329667553
2012-02-19 23:33:59 1329690839
2012-02-20 01:12:31 1329696751
2012-02-20 03:35:15 1329705315
2012-02-20 04:52:42 1329709962
2012-02-20 08:18:27 1329722307
2012-02-20 08:40:42 1329723642
2012-02-20 10:38:57 1329730737
2012-02-20 12:01:48 1329735708
2012-02-20 12:03:20 1329735800
2012-02-20 12:05:00 1329735900
2012-02-20 15:00:31 1329746431

What do these frequent restarts indicate?

What do these frequent restarts indicate?[/quote]

Seems to me a memory leak in something… If this is based on a Linux kernel then provided there is enough storage it can swap all the memory needed. If the the storage gets eaten up though by log files then it cant swap and will behave like a memory leak. Either way the resources are getting depleted. Not sure if there is garbage collection in lua (I think there is). Are there recursive call in any of your Luup code?

Lua uses a reference counting strategy. Works great for simple things. But if you have any cycles in objects … you can loose the whole group of objects, because each one still has a reference … A garbage collector uses various mark and sweep strategies … the idea is to mark all objects than see if all the objects are still referenced by known valid objects … another pass through the objects will find any lost objects and are swept away … i.e. a cycle of objects. But sadly Lua does not have one (unlike languages like Java, and C#)
The biggest source of errors in a reference count system is interacting with the underlying system … i.e. the C or C++ interface into Lua. They tend to error on the side of extra references … which turn into object (memory) leaks. Errors on the other side, removing the reference early … turn into crashes which are quite obvious.

I believe this should be a hosted app… It it so useful. Thanks.

Agreed!