How to setup a Nightly Reboot?

I have a Vera3 and so far, really like it. Though, I’ve noticed that after a day or two device controls and status slow down a ton, and sometimes just don’t happen. A reboot fixes it right quick.

So… I’d like to have the Vera reboot itself every night at 4am.

Is there a plugin, or script I can set to run?

thx!

A number of people put their Vera Plugpack into a [mechanical] timer. This will cause it to restart on some frequency no matter what, since it’s power-cycling the device.

See posts like this for an example:
http://forum.micasaverde.com/index.php/topic,8379.msg69543.html#msg69543

There are software ways to do this, using built-in commands like [tt]cron[/tt] and [tt]reboot[/tt], but if something more fatally goes wrong with the box then these might not run as expected… whereas the timer will always run as long as there is power applied to it 8)

Since a reboot is a temporary solution to your problem. It might be best to track down what is causing your Vera 3 to slow down. Vera 3 has plenty of resources that it should not cause any slow downs. What plugins are you running on your Vera 3?

  • Garrett

The issue is with the Altsteon daemon and a simple reboot fixes it right up. A nightly reboot will not hurt anything so might as well.

Anyone have code?

I think the following should work with a regular timer:

os.execute( 'reboot' )

I’m seeing the same thing with my Vera 3: at some point it slows down, especially noticeable in triggers firing on external events (state changes, scene controllers). A reboot fixes this. I have no plugins except the virtual switch one.

I don have to reboot that often though. Perhaps once a week

Can you enable storing the logs on an USB flash drive and let me know if the slowdowns still occur?

Done! I was kind of expecting Vera 3 to have sufficient memory to manage without an external stick though (it does perform better than Vera 2 with my 50 or so devices)

It does, I just want to be sure that this isn’t a problem anymore.

The logs on an esternal USB can improve the performance or memory problem?

if you don’t enable log to USB, the log will be stored on internal memory of the device. if you have many devices, you will need all the extra memory you can spare.

It does, I just want to be sure that this isn’t a problem anymore.[/quote]

It’s been 3 weeks without a significant slowdown of my Vera 3, so far so good… So the USB stick does make a difference

Humm, that is exactly why (and for also other things) I am asking a port on x86 devices. Anyone at MCV could build us a x86 image :slight_smile:

I have a lot of devices and many plugins on my Vera 3 and it does not break a sweat! Not sure why others are having slowdowns. I highly doubt you’ll see an x86 port anytime soon.

  • Garrett

Did you do a fresh install with Vera 3 or did you upgrade and restore from a previous Vera 2? Maybe something weird happened when I did that. I already disabled all the plugins (and the energy thingy) to rule those out.

I restored a backup of my Vera 2 onto my Vera 3.

  • Garrett

So, without the USB stick, the slowdown returns?

BTW, do you have default, verbose or custom log levels enabled?

The stick is still in, I just put a new beta on (to fix the problems with the Duewi/ZME scene controller) and I prefer to make 1 change at a time :). I’ll take it out again after a while?

Logging was custom, dialed way back to see if that would fix the slowdown (it didn’t). Support just set it back to verbose to take a look at the Minimote issue a few peeps reported recently.