Still trying to get the entire thing working, and was trying out the arming. I enabled remote arming (EnableRemoteArm=true), and now the panel is Red in vera. Seems to be kind of stuck now – can’t disarm it either.
50 06/04/13 22:27:38.224 luup_log:3: DSCAlarmPanel: debug Smoke Sensors: <0x2b847680>
01 06/04/13 22:27:38.226 LuaInterface::CallFunction_Startup-2 device 3 function alarmStartup failed DSCAlarmPanel with return false <0x2b847680>
06 06/04/13 22:27:38.226 Device_Variable::m_szValue_set device: 3 service: urn:micasaverde-com:serviceId:HaDevice1 variable: CommFailure was: 1 now: 1 #hooks: 0 upnp: 0 v:0x94d3f0/NONE duplicate:1 <0x2b847680>
50 06/04/13 22:27:38.227 luup_log:3: DSCAlarmPanel: debug processIncoming:: Command=505, Data=‘3’, Checksum=CD <0x2de47680>
50 06/04/13 22:27:38.228 luup_log:3: DSCAlarmPanel: debug Panel::Login Response (3) <0x2de47680>
01 06/04/13 22:27:38.229 LuImplementation::StartLua running startup code for 3 I_DSCAlarmPanel1.xml failed <0x2b847680>
50 06/04/13 22:27:38.230 luup_log:4: (MiosUpdater::Startup) Device #4-MiOS Update Utility <0x2b847680>
50 06/04/13 22:27:38.231 luup_log:4: (MiosUpdater::Startup) Too soon since last check. Return <0x2b847680>
50 06/04/13 22:27:38.232 luup_log:5: SysMon: Initialising System Monitor Plugin <0x2b847680>
50 06/04/13 22:27:38.233 luup_log:5: SysMon: Startup complete <0x2b847680>
Disarm:
02 06/04/13 22:33:25.640 Device_LuaUPnP::HandleActionRequest 17 not ready 0x916590 <0x2dc47680>
02 06/04/13 22:33:25.640 JobHandler_LuaUPnP::RunAction device 17 action urn:micasaverde-com:serviceId:AlarmPartition2/RequestArmMode failed with -911/Device not ready
What’s going on?
Did you follow these steps?
http://code.mios.com/trac/mios_dscalarmpanel#AdditionalSetup
EnableRemoteArm is set to the wrong value. It should be one of the following: disarm, stay, or arm.
Just noticed that this morning in the message box at the top of mios:
DSCAlarmPanel : EnableRemoteArm Parameter must be either blank, false or a value from the wiki…
How do I proactively find these helpful messages? It wasn’t appearing last night as best as I could tell. Just noticed it this morning when checking on it again.
Now it is still failing to startup:
DSC Alarm Panel[3] : Startup Lua Failed
I wonder if it has to do with my zone labeling…
I get some warnings in the log:
50 06/05/13 7:27:44.484 luup_log:3: DSCAlarmPanel: debug Warning: No device for Zone 7 <0x2e10d680>
But no errors
I’ll have to look at this more later.
Are you sure you have zone 7 setup?
yeah, and further examination showed a couple other zones complaining. So I dropped the panel and re-added it and didn’t rename the zones this time.
I suspect this is because I hadn’t (didn’t know about) changed the variable for manual renaming.
Could a warning cause the system not to start up?
Ok, according to the wiki it says the valid values are arm,stay,disarm, and false.
stay gives me the error. arm works and false works.
Well, that’s pretty annoying. The wiki is wrong. I brought down the subversion repository and grepped through it:
local function initializeParameters(device)
local enableRemoteArming = luup.variable_get(DSC_PANEL_SID, "EnableRemoteArm", device)
if (enableRemoteArming == nil) then
ENABLE_REMOTE_ARM = false
ENABLE_REMOTE_DISARM = false
luup.variable_set(DSC_PANEL_SID, "EnableRemoteArm", "false", device)
elseif (enableRemoteArming == "false") then
ENABLE_REMOTE_ARM = false
ENABLE_REMOTE_DISARM = false
elseif (enableRemoteArming == "arm") then
ENABLE_REMOTE_ARM = true
ENABLE_REMOTE_DISARM = false
elseif (enableRemoteArming == "disarm") then
ENABLE_REMOTE_ARM = true
ENABLE_REMOTE_DISARM = true
else
return false,
"EnableRemoteArm Parameter must be either blank, false or a value from the wiki...",
MSG_CLASS
end
Could someone PLEASE update the wiki? I’ve wasted a couple hours on this:
[code]
If remote Arming and Disarming is not required from Vera, then exit and save; however if this is required then stay in this screen and enter one of the following into the EnableRemoteArm variable:
disarm (Least secure as all functions are available including disarm)
stay (This will enable stay arming and away arming, but not disarm)
arm (Will only enable away mode arming) [/code]
Darn that Wiki…
Anyway at least you tried to… many others don’t 
Thanks to @guessed who I think just fixed it… although he may have given me the misinformation originally when I wrote that… alternatively it was my completely my fault, and so my bad!!!