Speeding up Vera

I have a Vera Lite and use it to control lights via an http get message. My problem is a varying delay between issuing the command (e.g. by pressing the on/off buttons of the light in the vera UI) and the light responding. Sometimes the response is almost instantaneous, and sometimes it takes several seconds. When issuing the same http command from a browser the response is always instantaneous.

I’d like to speed this up but am not sure how to go about this.
One concern I have is that it’s low on memory (see attached graph). I’m not storing the log to USB (the port is used for a Caddx security system and I’d had inconsistent results with a USB hub). I’ve also read in a different thread that messages should not constantly be written to the log (see excerpt attached). How much memory does the log use? Is there a way to limit it, e.g. to 1MB? (I use the log only for debugging).

Please tell me if you need more information (what) to make suggestions. What have others done to diagnose speed problems?

Memory Available, not Memory Free, is the important parameter.

These all look pretty standard memory and CPU values for VeraLite (I have three.) I would look first to your Z-Wave mesh for the source of any delays. Is it dense enough? If you switch from the Vera front panel, rather than HTTP, do you still see delays?

Thank you for the response. I conclude that lack of memory is not the problem, and assume that logging to memory is not slowing down the device either.

My lights are Insteon, not Z-Wave. Control is with http get requests to an ISY Insteon controller (I had it and the Insteon lights for years before I got the Vera - nothing against the altsteon plugin, but the ISY is easier for me since it’s already setup and supports all my devices).

The http get requests may be the culprit. Usually a single command (e.g. from the UI5 front panel) is virtually instantaneous. But repeat commands are typically slow. Could be that http requests allocate resources that must be recycled before another request can be handled.

I could e.g. replace the individual http requests with a client/server architecture that allocates a single connection and keeps it alive (as altsteon does). That’s quite a bit of programming - it would be nice to know ahead of time that this is actually where the bottleneck is.

Any ideas for investigating the issue? Ideally we’d have a profiler for the Vera - absent this is it possible e.g. to write timestamps to the log?

[ul][li]not sure if this does profiling? http://forum.micasaverde.com/index.php/topic,17780.msg139714.html#msg139714[/li]
[li]I must be misunderstanding something… ALL entries to the log are timestamped ?[/li][/ul]

Ttmetro,

You might want to check out the isy plug in I have developed.

http://forum.micasaverde.com/index.php/topic,17309.0.html

  • Garrett