Optimizing VERA to run offline

Hi everyone, I have VERA running offline (not connected to the internet). I noticed that it is unresponsive to TCP commands(from the API) when it first boots. This happens for a few minutes and only happens when there is no internet connection. I presume that VERA is attempting to connect to the web repeatedly until she gives up.

Any idea how to optimize VERA so that I do not have such behavior?

I ran my Vera offline for a while as well. I assume the delay you’re witnessing is a result of Vera timing out trying to contact Micasaverde’s servers. How comfortable are you with the CLI and file editing? The easiest way to remove that timeout is to:

  1. remove the file get_version.sh
    rm /www/cgi-bin/cmh/get_version.sh
  2. copy the file
    cp /mios/www/cgi-bin/cmh/get_version.sh /www/cgi-bin/cmh/get_version.sh
  3. edit the file
    vim /www/cgi-bin/cmh/get_version.sh
    after the copyright, add the following two lines:

echo “NO_INTERNET”
exit

If you want to revert the changes at a later date, just perform steps 1 and 2, and skip step 3.

You could also make sure that remote config backup and log archival are unchecked on the Log and Backup tabs of the advanced configuration menu, but I think that may be redundant after modifying the above config file.

Hope that helps,

-A

Thanks Ambrotos, this is very helpful. I will give it a shot over the weekend.