Comfort Home Automation/ Security System Forums Home
Home Search search Menu menu Not logged in - Login | Register

Light Toggle and status on iphone
 Moderated by: slychiu
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Saturday Feb 13th, 2016 11:05 pm
   PM  Quote  Reply 
1st Post
rodime
Comfort Installers
 

Joined: Sunday Nov 5th, 2006
Location: Kingston Upon Thames, United Kingdom
Posts: 73
Status: 
Offline

  back to top

Hi,
Is there any way to create a toggle for the iPhone interface via the control menu that will display status? 
Today I have a separate action key for a light for on and a separate key for off within the control menu.  I could program a response that will do the toggle with one action key, but is there any way I can indicate the status of the light within the control menu that will translate to the iPhone interface.  Like a slide switch typical of the ios general interface.
Also, in general, is there anyway to display anything other than text for an action key in the iPhone interface?
Thanks



 Posted: Sunday Feb 14th, 2016 06:26 am
   PM  Quote  Reply 
2nd Post
tech07
Administrator
 

Joined: Thursday Jan 29th, 2009
Location: Singapore
Posts: 107
Status: 
Offline

  back to top

Do you mean a toggle button like this?



 Posted: Sunday Feb 14th, 2016 01:40 pm
   PM  Quote  Reply 
3rd Post
rodime
Comfort Installers
 

Joined: Sunday Nov 5th, 2006
Location: Kingston Upon Thames, United Kingdom
Posts: 73
Status: 
Offline

  back to top

Precisely!

How do I achieve this?



 Posted: Sunday Feb 14th, 2016 02:31 pm
   PM  Quote  Reply 
4th Post
tech07
Administrator
 

Joined: Thursday Jan 29th, 2009
Location: Singapore
Posts: 107
Status: 
Offline

  back to top

In the Control Menu, the words for action key 0 should be Off and action key 1 should be On.

You must have a feedback type as Flag or Counter.. 

eg Bedroom Light 

Feedback Type = Counter 1
Action Key 0 word = off (not "light off")

Action Key 1 word = On (not "light On")

save the file and send to your phone again


close the app before tapping on the jrlcclx attachment


Last edited on Sunday Feb 14th, 2016 05:38 pm by slychiu



 Posted: Monday Feb 15th, 2016 08:45 pm
   PM  Quote  Reply 
5th Post
rodime
Comfort Installers
 

Joined: Sunday Nov 5th, 2006
Location: Kingston Upon Thames, United Kingdom
Posts: 73
Status: 
Offline

  back to top

Got it, thanks. Was this actually documented anywhere?

In setting a counter in the control menu feedback type, and leaving the key words blank, a dimmer bar is created. Using a counter register reference in the CBUS UCM lighting module, I can then dim the light according to the slider value, without the need to refer to any response.

However, if I set a flag in the control menu, and map a register reference in CBUS lighting module to a flag, the on and off words do not automatically trigger the flag via the iPhone toggle, I have to write a response against on to set the flag and against off to clear the flag specifically.

Why the difference? Should the flag not automatically get set in the same way as the counter value, without a response?

Also - is there a way to turn off the click sound within the iPhone app every time you set a value? It's exceptionally loud (have to turn iPhone volume down) and quite annoying.

Thanks



 Posted: Tuesday Feb 16th, 2016 04:12 pm
   PM  Quote  Reply 
6th Post
tech07
Administrator
 

Joined: Thursday Jan 29th, 2009
Location: Singapore
Posts: 107
Status: 
Offline

  back to top

Got it, thanks. Was this actually documented anywhere? I could not find anything, but I thought it was documented

In setting a counter in the control menu feedback type, and leaving the key words blank, a dimmer bar is created. Using a counter register reference in the CBUS UCM lighting module, I can then dim the light according to the slider value, without the need to refer to any response.
However, if I set a flag in the control menu, and map a register reference in CBUS lighting module to a flag, the on and off words do not automatically trigger the flag via the iPhone toggle, I have to write a response against on to set the flag and against off to clear the flag specifically. 

That is right. Flags need to have a response. However I am told it is planned to make this automatic in the near future
Also - is there a way to turn off the click sound within the iPhone app every time you set a value? It's exceptionally loud (have to turn iPhone volume down) and quite annoying.Not at the moment but it has bee noted  as a future improvememt

Last edited on Tuesday Feb 16th, 2016 04:12 pm by tech07



 Current time is 01:03 am
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems