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

comfort counter use as variable
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Tuesday Jan 23rd, 2007 07:38 am
   PM  Quote  Reply 
1st Post
Louis
Member
 

Joined: Tuesday Aug 8th, 2006
Location: Cape Town, South Africa
Posts: 6
Status: 
Offline

  back to top

I would like to use a counter value created by response to send to a cbus group as the value to ramp to without 255 if statements. Is it possible to send the counter variable value in the serial string?

Tx

Louis



 Posted: Tuesday Jan 23rd, 2007 12:36 pm
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 2133
Status: 
Offline

  back to top

Action 197 which sends data to the UCM/CBUS is able to send fixed data only not variables. Hence I am afraid you will need a lot of IF statements





 Posted: Tuesday Jan 23rd, 2007 12:45 pm
   PM  Quote  Reply 
3rd Post
Louis
Member
 

Joined: Tuesday Aug 8th, 2006
Location: Cape Town, South Africa
Posts: 6
Status: 
Offline

  back to top

Thanks for the reply

This should not be difficult to implement in future, maybe you can slip this into the recomendation  list, in the mean time Ill like some more responses please, a few IF statements quikly eat into the available amount.



 Posted: Tuesday Jan 23rd, 2007 01:02 pm
   PM  Quote  Reply 
4th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 2133
Status: 
Offline

  back to top

a new action to send counter value to Cbus may be possible in the future

255 Responses is tedious but possible with Comfort Ultra (1023 Responses)



 Posted: Tuesday Jan 23rd, 2007 01:37 pm
   PM  Quote  Reply 
5th Post
Louis
Member
 

Joined: Tuesday Aug 8th, 2006
Location: Cape Town, South Africa
Posts: 6
Status: 
Offline

  back to top

Currently working with a Gen II - Ultra.

Maybe you can think of a diff way I can achieve what I want ?

I have a C-Bus Touch Panel with a Slider - This is for feedback from a timer set via C-Bus to Comfort with the help of a counter response - I want the slider or feedback to count down in increments as the timer in comfort expire (currently setting value of Comfort Counter)

The way I achieve this is by using a counter/Group updated from comfort Counter to the C-Bus group in increments with If statements and send C-Bus group commands with each in a huge response. I can see that it would be much nicer if I could use the Comfort Counter as a variable to send in the Serial string to C-Bus, but we establish that is not possible. I just thought maybe there would be a way to get it to c-bus

Maybe you know another way I can monitor Counter values in Comfort from C-Bus ? Monitor/Security/1 Application only give status of alarm zones ?

How else can I get a analog (0-255) value to c-bus ?

 

 



 Posted: Sunday Jan 28th, 2007 03:36 am
   PM  Quote  Reply 
6th Post
slychiu
Administrator


Joined: Saturday Apr 29th, 2006
Location: Singapore
Posts: 2133
Status: 
Offline

  back to top

I cannot think of a better way to do it that what you have done/
Does the slider work with the response you have written?




 Posted: Sunday Jan 28th, 2007 08:53 am
   PM  Quote  Reply 
7th Post
Louis
Member
 

Joined: Tuesday Aug 8th, 2006
Location: Cape Town, South Africa
Posts: 6
Status: 
Offline

  back to top

Very well - just using a lot of valuable space for just giving feedback of a timer to C-Bus Touch screen.



 Current time is 08:11 am
Top




UltraBB 1.17 Copyright © 2007-2008 Data 1 Systems