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

Counter value change not triggering response
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Tuesday Oct 11th, 2016 06:36 pm
   PM  Quote  Reply 
1st Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 519
Status: 
Offline

  back to top

Hi,
I have a counter which will increment/decrement based on the need to have the oil burner on (ie, if the heating calls for hot water then incremnt counter, which then triggers a response to trun on the burner)
My logic is, there are a number of different reasons for having the burner on, so as each resource calls for the burner, i increment the counter by one, and decrement it by 1 when a resource no longer needs it.
So my counter response triggers the activation of he heating based on the value of the counter!
But, for some reason the counter response is not triggering ?
Counter 88 triggers a response called "HEAT BURNER TOGGLE"

If counter "burner_required" = 0 then
      Do "Heat burner off"
   else if counter "burner_required">0
      do "heat burner on"
  end if
end if


The change in counter value is working when I request it, but it is not triggering the response!
I am under a bi of pressure to get this up and running, as I need to have it working in order to qualify for a home heating grant which expires end of the month, so would really appreciate some help.
I am basivaly trying to get comfort up and running with thermostatic control based on scs values etc.

Last edited on Wednesday Oct 12th, 2016 05:47 am by



 Posted: Wednesday Oct 12th, 2016 05:51 am
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


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

  back to top

The Counter Response is triggred by something outside of Comfort eg UCM/KNX, Cbus etc. It is not triggered by a Counter change in a Response. This restriction was  in order to avoid loops

If you decrement and increment the counter in a Response, then you can do the checking in the same response

eg
Increment Counter X
Do Response Check Counter



 Posted: Wednesday Oct 12th, 2016 11:17 am
   PM  Quote  Reply 
3rd Post
wexfordman
UCM Pi Users
 

Joined: Monday Jan 1st, 2007
Location: Cork, Ireland
Posts: 519
Status: 
Offline

  back to top

Brilliant, makes sense, thanks



 Posted: Thursday Oct 27th, 2016 09:41 pm
   PM  Quote  Reply 
4th Post
thickglass
Member
 

Joined: Thursday Oct 27th, 2016
Location: USA
Posts: 1
Status: 
Offline

  back to top

Oh, I've just encountered the same problem, many thanks to slychiu.



 Current time is 01:32 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems