How to at least log a reboot (power failure)?

My Vera is installed at my vacation home and I’d like to be able to at least log when there has been a power failure that is at least long enough that it causes Vera to reboot.

Is there a log of the “uptime” somewhere?

What I’d like even better is an event that triggers on a reboot and sends me a text each time it reboots. Any ideas how to do that?

Basically you want to send something on start. Create a dummy plugin and put notification code (I used twitter while it worked) as part on init routine.

http://forum.micasaverde.com/index.php?topic=4624.msg25230#msg25230

AP15e-

saw that other thread- can you be a bit more specific for the dolts like me?

Do we set up a scene to run every 5 minutes or once a day or just at boot?

And how do we get the log file off the vera- telnet and all that?

is there a way to have it ftp it to another device on the network?

I read thru the thread http://forum.micasaverde.com/index.php?topic=4624.msg25230#msg25230 and agree with michaelk.

I’m not a code jockey (and don’t really want to be) writing Luup, telneting into vera and hacking away. Not my idea of relaxation…
I really want the system to work well enough to be usable out-of-the-box. MCV is close, but not quite there yet…

I’m hoping MCV will read these suggestions and take them in as part of UI4 (the real release). I’m happy to help MCV understand the requirement and I will more than happily document on the Wiki the “best” way of doing things that don’t require Luup and hacking.

@michaelk

Set up your scene to run every x minutes. I would suggest x=15.

Yes, you have to use telnet/SSH to read the log file.

Yes, you can use ftpput via os.execute() in your scene.

@DrZWave

Please do not assume that MCV will read all suggestions posted to this forum.

Please file your feature requests at http://bugs.micasaverde.com (in addition to your forum posts).

thanks

[quote=“Ap15e, post:6, topic:166871”]@michaelk

Yes, you can use ftpput via os.execute() in your scene.
…[/quote]

so something like:

os.execute('uptime >> ftp.192.168.1.2/directory/uptimes.log)

I happen to have an ftp drive at 192.168.1.2 that my all in one scans to. So it can just pick up the files there easier.