Avoid the "new firmware" page?

Is there some way to stop UI7 redirecting me to the firmware upgrade page every time?

I have no intention of updating my firmware now I have a stable system and since it doesn’t seem to offer me anything useful.

But every time I access the web UI it bounces me to the firmware page, even if I put in the full URL with #dashboard or whatever.

Seriously, normally you get used to a UI, but Vera’s just sucks more and more as I discover this crap.

And why not just use a notification? They take up half the screen to show absolutely nothing of any use, and now here’s an ideal use-case and it does a stupid redirect to a whole new page instead. There’s a reason it’s called a dashboard - you’re supposed to show important things there, not bypass it.

Hack answer to my own question - slightly ironic to avoid a firmware upgrade warning, but…

make a backup copy and then delete this line from /www/cmh/js/main.js:

application.addEvent("on_ui_requireUpgrade", myInterface, "requireUpgrade");

Can you tell me where to find the file you refer to? I’m so tired of seeing the firmware upgrade message.

I’d appreciate any help since I’m not a programmer.

Thanks

If you’re not comfortable with Linux or technical hacks then I wouldn’t recommend it, but here are the instructions.

  1. Backup your Vera

  2. Attach to your Vera via SCP (e.g. using WinSCP), normal root login

  3. In folder /www/cmh/js find the file called main.js (it’s actually a symbolic link to the RO filesystem)

  4. Copy it to main.js.old as a backup (or onto your PC somewhere)

  5. Delete the file - this removes the symbolic link

  6. Copy/upload main.js.old to main.js in that folder - you now have a “real” file you can edit

  7. Edit the file to remove the line “application.addEvent(“on_ui_requireUpgrade”, myInterface, “requireUpgrade”);” (WinSCP has an “Edit” option which automatically downloads the file and then uploads it back when you save and close the editor)

  8. All done

You can also do it directly via SSH terminal, but bear in mind you have to replace the symbolic link with a real file, the location the link points to is read-only.

Oh… thanks much for this… That page was not only annoying but got hung up more than once in the redirect.

:clap:t3::clap:t3::clap:t3::clap:t3::clap:t3:

Thanks a lot! A most welcome contribution to allow my Vera Lite’s to continue running without further upgrade, short om memory for that purpose anyway!

[quote=“rge, post:2, topic:195577”]Hack answer to my own question - slightly ironic to avoid a firmware upgrade warning, but…

make a backup copy and then delete this line from /www/cmh/js/main.js:

application.addEvent("on_ui_requireUpgrade", myInterface, "requireUpgrade");

Well done! Glad to be rid of the nag.

Instead of deleting you can also comment out that line by adding “//” at the beginning

This doesn’t seem to be working consistently for me. It works locally with an IP but when connecting thru the mios relay server it still flashes the firmware page. I also tried // commenting out the line, but that never worked. I had to delete the line.

I can confirm that this trick only works locally but since I never login through the portal… it doesn’t matter.

I am not sure how it is possible for the commenting out of the line not to work though. I’ve been running this way for weeks.

Yea, I agree…
Commenting it out should have worked just fine. The interpreter is 100% …
Maybe there was residual latency or something… maybe I screwed up…
But I have two controller’s… maybe mios was bouncing between local and relay
and I wasn’t paying attention…
Thanks for the reply back.

No Problem. Hope you get your geofence problem resolved. Or even better for mcv to finally release a truly working firmware as opposed to alphas and betas. I am still puzzled by how they release features on new firmwares without beta testing and then occasionally run a beta to try to fix released firmware issues and almost forcing people to upgrade to more unstable/untested firmwares than the previous with this “new firmware” page.

Yea… agreed…
Maybe they only have a couple of programmers doing all the coding…
I’m not sending them a monthly use fee so it is what it is.
For that I’ll be patient.