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

Comfort as a Watchdog
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Sunday Apr 8th, 2018 01:47 pm
   PM  Quote  Reply 
1st Post
Pharris15
Member
 

Joined: Wednesday Feb 25th, 2015
Location:  
Posts: 15
Status: 
Offline

  back to top

Hi can anyone suggest a method of using Comfort as a watchdog?I have an 'alive' message coming into my UCM at regular intervals and I would like to trigger an alarm or warning if the messages stop arriving.



 Posted: Sunday Apr 8th, 2018 02:23 pm
   PM  Quote  Reply 
2nd Post
slychiu
Administrator


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

  back to top

? You mean from the PC into UCM? What sort of alive message? and does the UCM recognise the message?



 Posted: Sunday Apr 8th, 2018 02:58 pm
   PM  Quote  Reply 
3rd Post
Pharris15
Member
 

Joined: Wednesday Feb 25th, 2015
Location:  
Posts: 15
Status: 
Offline

  back to top

I have a recognised message coming from a PC into the UCM via RS485 in the "device to comfort" field.It is sent every 180 seconds. I want to trigger a response if the message is not received after, say 300 seconds.Thanks



 Posted: Tuesday Apr 10th, 2018 04:25 pm
   PM  Quote  Reply 
4th Post
slychiu
Administrator


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

  back to top

You mean you have a Universal UCM with the Device to Comfort in which you have entered a string that is sent by the external system

This is mapped to a number of Comfort register Types eg Counter, sensor or Response. Mapping to Response works but is not recommended because when you edit responses, the Response number may change so you have to keep synchronising by Writing to Comfort and writing to UCM
I suggest to map to Counter which triggers a Counter Response which does not need to be synchronised.

In the Counter Response, Do Response X after 300 seconds using a Timer, ie Start a Timer which will trigger Response X when the timer expires.

Response X is activated after 300 seconds unless another message is received from the Universal UCM, which causes the Counter Response to run again which restarts the Timer for 300 secs. hence Response X will only activate if no message is received in 300 seconds



 Posted: Tuesday Apr 10th, 2018 08:44 pm
   PM  Quote  Reply 
5th Post
Pharris15
Member
 

Joined: Wednesday Feb 25th, 2015
Location:  
Posts: 15
Status: 
Offline

  back to top

Hi, I am confused as to how the counter function works. I have assigned the message LoxAlive to counter 10 (called Watchdog) but the counter doesn't change. Also will the counter keep incrementing?

Attachment: UCM.png (Downloaded 12 times)



 Posted: Wednesday Apr 11th, 2018 06:15 am
   PM  Quote  Reply 
6th Post
slychiu
Administrator


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

  back to top

The Counter will not increment or do anything unless you assign a Response to it

Every counter can be assigned toa Response which is activated when a message is sent to a counter
I suggested that you make a Response

"Do Response X after 200 seconds using Timer Y"

so that when a message is sent to the counter it starts a Timer fo 300 seconds



 Current time is 10:26 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems