Author Topic: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19  (Read 6656 times)

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« on: November 22, 2016, 10:09:35 am »
There have been problems saving changes to Message Overrides since earlyl in 2016.

MCV has changed the API for scenes in UI 7.19  to solve various problems with scenes. (Notifications in Vera are implemented as scenes).
If you are having problems with Saving Vera Alerts I recommend upgrading to the UI 7.19 firmware.
See:
   http://forum.micasaverde.com/index.php/topic,40391.0.html#new

And upload the attached Vera Alerts File (Apps -> Develop Apps -> Luup Files -> Upload)
(Remove the .txt extension first!)

I will be releasing this about 1 week after Vera Makes the 7.19 release official.


If you constantly get a message indicating that XXX notifications have been updated when you open the Vera Alert Editor ... you are having problems saving changes.
With this update, you should only get this messages when a notification is created or changed!
« Last Edit: November 22, 2016, 10:16:27 am by RichardTSchaefer »

Offline Spanners

  • Sr. Member
  • ****
  • Posts: 260
  • Karma: +16/-5
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #1 on: December 20, 2016, 09:36:49 pm »
Has this been pushed out via apps.mios.com now or is it still a manual update?


Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +763/-142
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #2 on: December 21, 2016, 10:09:57 am »
It' in MCV audit for a couple of days.
When you see Version 7.21 ... you will not need this patch.

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #3 on: December 26, 2016, 04:39:43 pm »
Richard,
running VeraPlus UI7 1.7.2414

just uploaded the .js you posted and now get "ERROR : Error in lua for scenes and events"

I tried opening Vera Alerts device and, didn't modify anything, then closed it and got the message "Failed to save system configuration."

thoughts on how to troubleshoot?

thx

Online Sender

  • Hero Member
  • *****
  • Posts: 886
  • Karma: +543/-453
  • Sr. manager of my Vera
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #4 on: December 26, 2016, 04:42:16 pm »
Hi, i had the same. Follow the first post and press f5 or try another browser. It was a caching problem with me.
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #5 on: December 26, 2016, 04:46:01 pm »
Hi, i had the same. Follow the first post and press f5 or try another browser. It was a caching problem with me.

just tried both Chrome (always use this for Vera) & FF (my daily browser for everything else)... same problem.

Online Sender

  • Hero Member
  • *****
  • Posts: 886
  • Karma: +543/-453
  • Sr. manager of my Vera
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #6 on: December 26, 2016, 04:47:56 pm »
Do you see version exp2.0 in reports? Reports from veralerts? Else you dont have rhe latest...
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #7 on: December 26, 2016, 07:28:10 pm »
Do you see version exp2.0 in reports? Reports from veralerts? Else you dont have rhe latest...

says 7.15 ... I looked at the file Richard posted, it shows Version:"7.15" inside the file
« Last Edit: December 26, 2016, 07:30:21 pm by Aaron »

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #8 on: December 26, 2016, 07:39:59 pm »
Do you see version exp2.0 in reports? Reports from veralerts? Else you dont have rhe latest...

Can you please post or send me your version?  I'm going to force the re-install of the app using the URL but would like to get this fixed with the manual update if possible. thx

Online Sender

  • Hero Member
  • *****
  • Posts: 886
  • Karma: +543/-453
  • Sr. manager of my Vera
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #9 on: December 27, 2016, 12:57:54 am »
It is in the 1st post.  That is the version.
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #10 on: December 27, 2016, 01:10:35 am »
It is in the 1st post.  That is the version.

that is what caused the problem for me... and it says version 7.15, not exp2.0

I just reloaded the app store version and the error is gone.

Online Sender

  • Hero Member
  • *****
  • Posts: 886
  • Karma: +543/-453
  • Sr. manager of my Vera
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #11 on: December 27, 2016, 02:02:52 am »
Good firmware is more important than good karma. (and this costed me lots of Karma)

Offline Spanners

  • Sr. Member
  • ****
  • Posts: 260
  • Karma: +16/-5
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #12 on: December 29, 2016, 07:32:07 am »
After the upgrade to latest firmware I can't create any new scenes, and every time I exit VeraAlerts I see this error:

Failed to save system configuration.

I've installed the .js in the original post, but no change.

Any suggestions? (I've opened a ticket with support for this issue, and have an already open one where I can't create associations and see the same error message).


Offline Aaron

  • Hero Member
  • *****
  • Posts: 1985
  • Karma: +61/-193
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #13 on: December 29, 2016, 10:25:26 am »
Open the link in the post above yours

Sent from my SM-G935T using Tapatalk


Offline Spanners

  • Sr. Member
  • ****
  • Posts: 260
  • Karma: +16/-5
Re: UI7 - Saving Vera Alerts Configuration Prior to UI 7.19
« Reply #14 on: January 02, 2017, 03:45:41 am »
Richard,

Been looking through my user_data.json to see if I can find what Vera is choking on. Current status is can't change any configuration other than adding or deleting devices. Can't modify scenes, enable/disable notifications etc.

Looking at Vera Alerts related things I see about 17 alerts in the format of:

"lua": "--[[StartVeraAlerts]]luup.call_action('urn:richardgreen:serviceId:VeraAlert1','DeviceNotification', ..................

And others in the form of:

"lua": "LS1bW1N0YXJ0VmVyYUFsZXJ0c11dbHV1cC5jYWxsX2FjdGlvbigndXJuOnJpY2hhcmRncmVlbjpzZXJ2aWNlSWQ6VmVyYUFsZXJ0MS ................................

associated with "encoded_lua": 1


Should all of the VeraAlerts scene edits be in the encoded format now?