Jump to content

Single Mobilinc dashboard button to show alarm status and arm/disarm


rccoleman

Recommended Posts

Posted (edited)

I'm trying to do something that feels simple to me, but I just can't figure it out.  I basically want a Mobilinc (iOS) dashboard button that both shows the current alarm status (armed/disarmed) *and* lets me toggle the status by tapping it.  Essentially what the giant red/green button does in the Mobilinc Elk plug-in, but on the dashboard.

 

Simple requirements -

 

* The dashboard button should always show the current alarm status (armed/disarmed), regardless of how it got that way (keypad, ISY admin console, program, etc).

* Tapping the dashboard button should toggle the alarm state: If it's armed, disarm it.  If it's disarmed, arm it in Away mode.

 

I can write programs to do either one of these things, but not both together on the same button.  I've tried all sorts of combinations of integer and state variables, disabled programs, and any other clever tricks that I can think of and I just can't make it work without unintended side effects.  Is there an easy way to do this that I'm just not seeing?

 

Edit: my apologies for putting this in the wrong area - I was looking for similar topics and ended up in the wrong one.  Perhaps a mod can move it to "questions and answers".

 

Thanks,

Rob

Edited by rccoleman
Guest
This topic is now closed to further replies.

×
×
  • Create New...