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

Comfort Protocol
 Moderated by: admin
 New Topic   Reply   Printer Friendly 
 Rate Topic 
AuthorPost
 Posted: Wednesday Mar 27th, 2013 10:27 am
   PM  Quote  Reply 
1st Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1255
Status: 
Offline

  back to top

Hi

The current "RP" event presumably starts when the phone first rings.

Is it feasible to extend the protocol such that it sends RPxx instead with maybe RP01 as ring start and RP00 as ring end? I'm assuming here you know when the bell starts and ends ring.

Why? I'd like to build into ComfortClient UI such that if you are remote and the phone is ringing you get a visual indicator (something flashing say, maybe a screen border or something). I cant do that at the moment as all you get is a single RP event when ringing starts and no indicator when it hangs up.

Julian



 Posted: Wednesday Mar 27th, 2013 06:31 pm
   PM  Quote  Reply 
2nd Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 562
Status: 
Offline

  back to top

Julian,

It funny that you should request this, a while ago I've added a feature to the Simulator to allow Simulator-Specific commands to be recognised. These are:

1. b? - Returns all the Bypassed Zones in one query, and now
2. (New)RP01/00 - Phone Ring and Phone Stop Ring.

This was just done for my own benefit so perhaps Cytech can see value in these commands and put it on their roadmap for the future.

If someone doesn't want these commands to be 'accepted' then just uncheck the checbox in the Simulator. It's currently hidden but I will make it visible in the next release.

Regards,
Ingo



 Posted: Wednesday Mar 27th, 2013 08:57 pm
   PM  Quote  Reply 
3rd Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1255
Status: 
Offline

  back to top

Spooky :shock:



 Posted: Thursday Mar 28th, 2013 01:37 am
   PM  Quote  Reply 
4th Post
slychiu
Administrator


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

  back to top

Hi Julian
I may be possible to send RP00 when the phone stops ringing in the future
It can determine that the ringing has stopped only after a minimum of 4 seconds as some countries have a long pause between rings



 Posted: Thursday Mar 28th, 2013 08:03 am
   PM  Quote  Reply 
5th Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1255
Status: 
Offline

  back to top

Hi Chiu

I think that would be acceptable at even 4 seconds. If the phone was ringing for a long period then maybe it could send:

1) RP01 for ring start
2) RP00 for hang-up
3) RP02 every 5 secs (or whatever you deem appropriate) during ring cycle

I'd add(3)for long ring cycles so we can tell it is still active rather than somehow we've just missed the hang-up event on the bus. I'd then probably do a "hard stop" after say 2 minutes in local code if for any reason an RP00 had not been received.

Julian



 Posted: Thursday Mar 28th, 2013 08:09 am
   PM  Quote  Reply 
6th Post
juwi_uk
Member


Joined: Friday May 25th, 2007
Location: Newbury, United Kingdom
Posts: 1255
Status: 
Offline

  back to top

Actually maybe also add an RP03 to acknowledge that the phone was answered.

We can then look to do some "Sexy stuff" based on the data being received!

:D

Last edited on Thursday Mar 28th, 2013 08:09 am by juwi_uk



 Posted: Thursday Mar 28th, 2013 11:27 am
   PM  Quote  Reply 
7th Post
Ingo
UCM Pi Users


Joined: Sunday Jan 21st, 2007
Location: South Africa
Posts: 562
Status: 
Offline

  back to top

The Doorbell works similar. DB<id> is sent on Doorbell press and DBFF sent when it's answered. There is no continous DB<id> command being sent so for 'easier' implementation Cytech could perhaps just copy the DB command routine.

What it does do is to send DB<id> every time you press the Door bell button. Perhaps send RP01 on every ring current detection. It might get 'noisy' in countries with short ring cadence - like RSA, but I am sure a small delay can fix that. EG tring.tring...........tring.tring, so just wait XXXmS before sending another RP command. For the US with triiiiiiiing..........triiiiiiiiing it will work fine.

Colourful explanation right :)

Ingo



 Posted: Friday Mar 29th, 2013 01:17 am
   PM  Quote  Reply 
8th Post
slychiu
Administrator


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

  back to top

Good suggestion, we shall look into it



 Current time is 04:13 pm
Top




UltraBB 1.172 Copyright © 2007-2014 Data 1 Systems