I have a Vera2 running 1.1.1047. It has been stable for many months but now misses a lot of timed events. I think it may be having the recurrent rebooting issue but my log screen is empty. It shows no recent events or notifications. I would like to see if the log can confirn this. Can anyone help?
You could check how much time your Vera has been up through SSH and command uptime.
- Download putty.exe (no installation required)Download PuTTY: latest release (0.78)
- Start putty and point to Vera’s IP address
- Set root as username. The password is the ID under your Vera
Unfortunately, this wouldn’t work for me. The password is invalid. Any further suggestions?
Did you use the Home ID as password? In my case is 0138AAnn. Bear in mind the password is case sensitive
Im in the same boat. I cant log in using putty. Im pretty new so Im sure Im just not doing something simple right. Would the root be the IP address of my Vera? Would the home ID be the router ID?
I have a fairly new Vera and my SSH root password was printed on the bottom of the unit; however, it was labeled as the wireless password. Your IP address in a typical home network, starts with 192.168. followed by two more numbers (e.g. 192.168.1.16). You should be able to log on to your cp.mios.com account (the one you set up when you purchased your vera) and see your Vera’s local IP address.
In PuTTY enter that IP address in the “Host Name (or IP address)” field, select SSH as the connection type, then click the “Open” button. You should get a “login as:” prompt, type root then press enter (or return on a Mac), at the password prompt enter the password from the bottom of your Vera. That should get you in.
You da man. Thanks.
os.execute( 'uptime >> /etc/cmh/LuaTerminated.log;'..
'grep "LuaUPnP Terminated with" /var/log/cmh/LuaUPnP.log >> /etc/cmh/LuaTerminated.log;'..
'cat /etc/cmh/LuaTerminated.log | sort | uniq > /etc/cmh/LuaTerminated.log')
logs uptime and Lua restarts to /etc/cmh/LuaTerminated.log. It’s a bit rough, but it does the job.
Just paste the code into the ‘Luup’ tab of a scene and set an appropriate timer.
@Ap15e, you might want to see if you can store this on [tt]/var/log/cmh/[/tt], instead of [tt]/etc/cmh/[/tt], since [tt]/var/log/cmh[/tt] can be backed by external USB key (in the Beta releases) so it won’t cause any additional memory compression in the long run.
This is a good suggestion, but external backup isn’t supported on Vera V1.
That directory is used in V1 and V2, so it’s just overlayed when the USB-Key is added/configured, and when/if that USB-Key functionality is available on a particular platform (v1, v2, etc)
So there’s nothing to lose by putting it there and, if it gets the feature, v1 will benefit also.
It also means that it won’t be forgotten over time, since it’s in a “standard spot” for MiOS Logging. It’s easy to forget about tmp files when they’re in locations you’re not looking in when you go to “cleanup” a system to free up space.