Vera firmware update
-
Uhh I think I even hacked that back then... Since I had removed my vera from my account for ages to prevent errant cmh reloads signals sent from their servers, I could never be logged in. So I hacked the webserver to assume that I always am. I am surprised the two would be related though. Let me see how I did this.
Probably best to stick with the crontab way for now. It is the least intrusive.
-
Can anyone remind me the trick to stop Vera nagging me about the firmware 'upgrade' that's available. Apart from the move to OpenLuup
C
@CatmanV2 said in Vera firmware update:
stop Vera nagging me about the firmware 'upgrade'
So that’s only an issue if you use Vera’s own interface, yes? I really can’t remember the last time I needed to do that, since I always ran (indeed, still run) AltUI as my everyday interface to Vera.
-
@CatmanV2 said in Vera firmware update:
stop Vera nagging me about the firmware 'upgrade'
So that’s only an issue if you use Vera’s own interface, yes? I really can’t remember the last time I needed to do that, since I always ran (indeed, still run) AltUI as my everyday interface to Vera.
@akbooer said in Vera firmware update:
@CatmanV2 said in Vera firmware update:
stop Vera nagging me about the firmware 'upgrade'
So that’s only an issue if you use Vera’s own interface, yes? I really can’t remember the last time I needed to do that, since I always ran (indeed, still run) AltUI as my everyday interface to Vera.
Force of habit. Fair point, though. Plus the alerts....
C
-
While looking into SFTPing into my vera I found out that in order to save some minute storage space, they removed SFTP from the vera firmware. You could connect with SSH, SCP but not SFTP. I highlighted this before in the old place but I didn't know how. I just fixed it.
So basically dropbear lacks an sftp server and this tiny program is fairly easy to add back.:
You just need to install the openssl-sftp-server package and get it launched right after dropbear at startup.
I vaguely remember to have forced the webserver to act as if it was logged by editing the /www/cgi/js/interface.js file and changing the value of "this.userAuthenticated" to 1 from !1. -
There was a script that did that.
I used it so it wasn't a myth. .I've searched for it endlessly but suspect it was removed for reasons unknown.
It is more than likely one of my technical posts they deleted without telling me.
It is this:os.execute("cat /etc/cmh/version > /etc/cmh/version_latest")
This needs to be run every day though so you could potentially put in a timer triggered scene instead of my crontab idea.
There are so many ways to do this... I think this would be the easiest. -
@rafale77 said in Vera firmware update:
It is more than likely one of my technical posts they deleted without telling me.
It is this:os.execute("cat /etc/cmh/version > /etc/cmh/version_latest")
This needs to be run every day though so you could potentially put in a timer triggered scene instead of my crontab idea.
There are so many ways to do this... I think this would be the easiest.No it wasn't this one. The one I used was and os.execute, but only needed to be run once. It worked flawlessly until I ran an update. Probably the only thing that did run without constant attention.
-
@rafale77 said in Vera firmware update:
It is more than likely one of my technical posts they deleted without telling me.
It is this:os.execute("cat /etc/cmh/version > /etc/cmh/version_latest")
This needs to be run every day though so you could potentially put in a timer triggered scene instead of my crontab idea.
There are so many ways to do this... I think this would be the easiest.No it wasn't this one. The one I used was and os.execute, but only needed to be run once. It worked flawlessly until I ran an update. Probably the only thing that did run without constant attention.
Then I don't know.
Another way to make it permanent (until the next upgrade) is to run this:os.execute("sed -i 's/upgradeAvailable=1/upgradeAvailable=0/g' /www/cgi-bin/cmh/get_version.sh|cat /etc/cmh/version > /etc/cmh/version_latest")
-
Then I don't know.
Another way to make it permanent (until the next upgrade) is to run this:os.execute("sed -i 's/upgradeAvailable=1/upgradeAvailable=0/g' /www/cgi-bin/cmh/get_version.sh|cat /etc/cmh/version > /etc/cmh/version_latest")
@rafale77 said in Vera firmware update:
Then I don't know.
Another way to make it permanent (until the next upgrade) is to run this:os.execute("sed -i 's/upgradeAvailable=1/upgradeAvailable=0/g' /www/cgi-bin/cmh/get_version.sh|cat /etc/cmh/version > /etc/cmh/version_latest")
That could be it, however, it's a moot point if you have updated to the latest (&Last) FW version.