Error in Scenes and Events - VeraAlerts related Errors in Luaupnp log

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.

Ok, seem to have found the errors:

[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).

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

is ther a way to auto detect this error and reboot luup engine

Best Home Automation shopping experience. Shop at getvera!

© 2020 Vera Control Ltd., All Rights Reserved. Terms of Use | Privacy Policy | Forum Rules