I’m trying to use this code below to trigger a zone bypass on my alarm panel which is controlled by the AD2USB plugin. I posted this is the plugin thread but am not having any luck with an answer so I thought I would try to get some more eyes on it over here.
luup.call_action("urn:micasaverde-com:serviceId:VistaAlarmPanel:1","bypassZones",{Zones="all",PINCode="****"},Partition_Device)
Note: PIN code redacted for obvious reasons.
This is the log:
08 09/13/12 21:52:21.834 Scene::RunScene running 39 Bypass Zones <0x31fb2680>
01 09/13/12 21:52:21.834 GetLuaInterface can’t find device type: 0/0x12d87a8 str: (null) <0x31fb2680>
08 09/13/12 21:52:21.834 JobHandler_LuaUPnP::HandleActionRequest device: 0 service: urn:micasaverde-com:serviceId:VistaAlarmPanel:1 action: BypassZones <0x31fb2680>
08 09/13/12 21:52:21.835 JobHandler_LuaUPnP::HandleActionRequest argument Zones=all <0x31fb2680>
08 09/13/12 21:52:21.835 JobHandler_LuaUPnP::HandleActionRequest argument PINCode=**** <0x31fb2680>
02 09/13/12 21:52:21.835 JobHandler_LuaUPnP::HandleActionRequest can’t handle service: urn:micasaverde-com:serviceId:VistaAlarmPanel:1 <0x31fb2680>
Seems like the device isn’t defined right or something. I can’t figure out what is causing it.
Edit: Fixed missing code.
Edit: Solved[url=http://forum.micasaverde.com/index.php/topic,7266.msg85762.html#msg85762] http://forum.micasaverde.com/index.php/topic,7266.msg85762.html#msg85762[/url]