Author Topic: VeraAlerts Message Overrides not Saving  (Read 1281 times)

Offline rnmullen

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
VeraAlerts Message Overrides not Saving
« on: July 13, 2016, 05:34:56 pm »
I have run into an issue setting up VeraAlerts that I have been unable to resolve. I installed Pushover, VeraAlerts, and PLEG and setup various notifications and message overrides for when certain PLEG conditions are met. I receive the notifications VeraAlert notifications just as I should, but the notification never actual transmits the condition names, but not the message overrides. I have reloaded LUA, rebooted, confirmed that the overrides are saved by running a report, but still have not been able to obtain the notification with the message override. Any advice would be appreciated!

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9604
  • Karma: +733/-136
    • RTS Services Plugins
Re: VeraAlerts Message Overrides not Saving
« Reply #1 on: July 13, 2016, 05:59:19 pm »
UI5 or UI7 ?
Which Plugin Version ?
Send me email with output from the REPORT command in the Vera Alerts PLugin.

Offline rnmullen

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Re: VeraAlerts Message Overrides not Saving
« Reply #2 on: July 29, 2016, 10:34:13 am »
Unfortunately this issue has now gotten worse and now I receive no notifications for regular Vera notifications. I am not exactly sure when this issue arose, and it might have occurred after a VeraPlus firmware upgrade.

In any case, I am still able to: (i) send notifications manually through VeraAlerts, (ii) receive internal Vera alerts (reboot and property changes notifications), (iii) receive PLEG action notifications (with the notification set as an action in PLEG), and (iv) receive VeraAlerts setup in Lua for PLEG actions.

Naturally it would be nice to receive all notifications through VeraAlerts rather than mix and match VeraAlerts and regular Vera notifications set in each individual device.

Any help would be greatly appreciated!

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9604
  • Karma: +733/-136
    • RTS Services Plugins
Re: VeraAlerts Message Overrides not Saving
« Reply #3 on: July 29, 2016, 11:07:22 am »
This appears to be a UI issue ... either restore to the pre-nextgen version ... or help to identify the problem.

To restore use a Vera backup and disable Auto-Update or Disable Auto-Update then see:
   http://forum.micasaverde.com/index.php/topic,15065.0.html

To help debug I will need to see any errors from the JavaScript console from the UI. Instructions on how to access the Javascript console is available from the Log entry in the Vera Alerts menu.
 

Offline rnmullen

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Re: VeraAlerts Message Overrides not Saving
« Reply #4 on: July 29, 2016, 11:48:06 am »
Assuming I pulled the logs properly, my errors appear to be as follows:

https://vera-us-oem-relay31.mios.com/www/1.7.2044-en/skins/default/img/devices/device_states/ProgramLogicEG.png Failed to load resource: the server responded with a status of 404 (NOT FOUND)
https://vera-us-oem-relay31.mios.com/www/1.7.2044-en/skins/default/img/devices/device_states/VeraAlerts-48.png Failed to load resource: the server responded with a status of 404 (NOT FOUND)
J_VeraAlerts.js:1 '//@ sourceURL' and '//@ sourceMappingURL' are deprecated, please use '//# sourceURL=' and '//# sourceMappingURL=' instead.
ProgramLogicEG.png:1 GET https://vera-us-oem-relay31.mios.com/www/1.7.2044-en/skins/default/img/devices/device_states/ProgramLogicEG.png 404 (NOT FOUND)

As always, thank you very much for your help.

Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9604
  • Karma: +733/-136
    • RTS Services Plugins
Re: VeraAlerts Message Overrides not Saving
« Reply #5 on: July 29, 2016, 12:45:14 pm »
I am beginning to think this may be a Vera Problem.

There are lots of reports of problems with saving scenes.
A Notification in Vera is internally implemented as a Scene with the specified trigger.

By any chance are you also getting any errors about LUA or scenes ?
Some folks (not necessarily Vera Alerts users) have reported this.

Offline rnmullen

  • Sr. Newbie
  • *
  • Posts: 22
  • Karma: +0/-0
Re: VeraAlerts Message Overrides not Saving
« Reply #6 on: July 31, 2016, 09:13:49 pm »
I have not seen any errors in the log relating to Lua saving scenes. While I attempted a message override I got the follow log entries (not all appear to be related and I think perhaps none of them are related to overrides):

016-6-31 21:3:5  Error in Application.mergeLuStatusDeviceStates: TypeError: Cannot set property 'value' of undefined
DayTime_0.png:1 GET http://192.168.1.141/cmh/skins/default/img/devices/device_states/DayTime_0.png 404 (Not Found)
ProgramLogicEG.png:1 GET http://192.168.1.141/cmh/skins/default/img/devices/device_states/ProgramLogicEG.png 404 (Not Found)
9core.js?*1.7.2044-1-12002413*:12 2016-6-31 21:3:8  Error in Application.mergeLuStatusDeviceStates: TypeError: Cannot set property 'value' of undefined
DayTime_0.png:1 GET http://192.168.1.141/cmh/skins/default/img/devices/device_states/DayTime_0.png 404 (Not Found)
ProgramLogicEG.png:1 GET http://192.168.1.141/cmh/skins/default/img/devices/device_states/ProgramLogicEG.png 404 (Not Found)
9core.js?*1.7.2044-1-12002413*:12 2016-6-31 21:3:11  Error in Application.mergeLuStatusDeviceStates: TypeError: Cannot set property 'value' of undefined

When I attempt to add a new notification through Vera (in this case for a Kwikset lock) I got the following errors in the log:

2016-6-31 21:10:48  Error in Utils.parseJson: Empty json string
core.js?*1.7.2044-1-12002413*:12 2016-6-31 21:10:48  Lu status cannot be parsed
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.8933910746935194 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=134422?&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.25547052122841674 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.2326087299518571 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=134422?&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.09033179228154475 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.8419426461933885 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.8916472842984744 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=134422?&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.41943472082316724 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.7117244759183439 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.586333876804281 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=13442224&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.9093499118433792 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=134422?&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.22880165216452353 500 (Internal Server Error)send @ external-libs.js?*1.7.2044-1-12002413*:5ajax @ external-libs.js?*1.7.2044-1-12002413*:5ajaxRequest @ core.js?*1.7.2044-1-12002413*:12Application.loadLuStatus @ core.js?*1.7.2044-1-12002413*:2(anonymous function) @ core.js?*1.7.2044-1-12002413*:2
external-libs.js?*1.7.2044-1-12002413*:5 GET http://192.168.1.141/port_3480/data_request?id=lu_status&DataVersion=134422?&MinimumDelay=1000&Timeout=60&LoadTime=1469942805&rand=0.08129995372867871 500 (Internal Server Error)



Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 9604
  • Karma: +733/-136
    • RTS Services Plugins
Re: VeraAlerts Message Overrides not Saving
« Reply #7 on: August 01, 2016, 03:42:48 pm »
The following errors are potential serious problems:
Code: [Select]
016-6-31 21:3:5  Error in Application.mergeLuStatusDeviceStates: TypeError: Cannot set property 'value' of undefined
9core.js?*1.7.2044-1-12002413*:12 2016-6-31 21:3:8  Error in Application.mergeLuStatusDeviceStates: TypeError: Cannot set property 'value' of undefined
Although there is no indication that this came from VeraAlerts ... this is the internal UI7 code.


Offline Wekurtz74

  • Full Member
  • ***
  • Posts: 223
  • Karma: +3/-0
Re: VeraAlerts Message Overrides not Saving
« Reply #8 on: December 27, 2016, 05:26:49 pm »
Forgive me to drag this old thread up, but I am getting this same error as quoted in the last post, to wit:  "Error in Application.mergeLuStatusDeviceStates: TypeError: Unable to set property 'value' ......etc., etc" on the latest official firmware for veraPlus.  This is the only thread that mentions this language. 

Was there any resolution to this error?  if so, how?  It seems to be causing numerous Restarts for me.  Thanks in advance for any insight that can be provided.