We have moved at community.getvera.com

Author Topic: Error in Scenes and Events - VeraAlerts related Errors in Luaupnp log  (Read 722 times)

Offline Spanners

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: +16/-5
Hi Richard,

Having some issues with VeraAlerts not updating, tried the workaround of creating a dummy scene. Some alerts started working again but now get an Error in Scenes and events error.

Digging into the logs, seeing this in bright red which seems to indicate an error with some of the scenes VeraAlerts is linked to. Interestingly some scenes have a lot of %20 in them, but not all. Not sure if this is related to the scene editor bug in the new firmware? Any ideas on how to fix?

01   08/09/16 18:50:51.377   LuaInterface::LoadCode: [string "function scene_50()..."]:41: '}' expected near 's' <0x77285320>

Full log extract in attachment.

Offline Spanners

  • Sr. Member
  • ****
  • Posts: 265
  • Karma: +16/-5
Re: Error in Scenes and Events - VeraAlerts related Errors in Luaupnp log
« Reply #1 on: August 11, 2016, 01:47:06 am »
Ok, seem to have found the errors:

Code: [Select]
[StartVeraAlerts]]luup.call_action('urn:richardgreen:serviceId:VeraAlert1','DeviceNotification', {Msg='Aidan Home', Name='Aidan Present', Description=' Aidan's iPhone is present', DeviceID=382, HouseModeMask=undefined, Service='urn:upnp-org:serviceId:IPhoneLocator1', Variables='Present', Recipients ='Luisa aiw15lgd6171'}, 142)--[[EndVeraAlerts]]
end
function event_14()
--[[StartVeraAlerts]]luup.call_action('urn:richardgreen:serviceId:VeraAlert1','DeviceNotification', {Msg='Aidan Away', Name='Aidan Away', Description=' Aidan's iPhone is away', DeviceID=382, HouseModeMask=undefined, Service='urn:upnp-org:serviceId:IPhoneLocator1', Variables='Present', Recipients ='Luisa aiw15lgd6171'}, 142)--[[EndVeraAlerts]]
end

The Description isn't being properly delimited due to the 's in the name. This seems to be recently caused when I renamed that iPhone locator (new v2.40 feature).




Offline RichardTSchaefer

  • Moderator
  • Master Member
  • *****
  • Posts: 10091
  • Karma: +764/-143
Re: Error in Scenes and Events - VeraAlerts related Errors in Luaupnp log
« Reply #2 on: August 11, 2016, 11:39:46 am »
Because of another VERA bug ... that effects ALL scenes (and notifications in Vera are implemented as scenes) 

You need to remove the single quote from your messages as in:
                   Aidan's