ADICON Support Forum Applied Digital, Inc.
Page 1 of 1 1
Topic Options
#18640 - 08/30/07 11:03 PM New HA user looking for ALOT of help!!
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
HI all! This is my first post on this site and it is due to my interest in home automation. I must preface my questions by saying that I have zero programming experience, but I am interesting in diving in to it. Now that that is out there I will ask what will seem obvious to many of you.

Things to control: TV's, DVD, Whole house audio, lighting, camera monitoring, ceiling fans(rf receivers in them already), garage door
I am not sure where to begin...I have done a lot of research and found that the RTI(remote technologies inc.) has a remote that can transmit both IR and RF, so I figured I could use that to control the A/V components.

I have seen that alot of people are talking about ocelot and adicon to control garage doors and lighting but I have no idea how it works.

In a nutshell, I have a challenge that I need a lot of help to overcome.

Help Please!
I have a home that I would like to incorporate some controlling features.(Lighting, home audio system, garage door, camera and so forth)
I currently have a NuVo whole house audio system installed(concerto). I am using Open House cameras for outside surveillence.

Top
#18641 - 08/31/07 07:32 AM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Well, you'll need to start small and be specific. You do mention "...people are talking about ocelot and adicon to control garage doors and lighting..." but do you have a spcefic project that you want to start with? Do you have an Ocelot or are planning to get one? How about lighting, the Ocelot currently only has X10 support built-in. Are you planning on using X10 switches for lighting?
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18642 - 08/31/07 07:40 AM Re: New HA user looking for ALOT of help!! [Re: Guy Lavoie]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
Thanks for the quick response Guy. I am planning on using X10 for switching as it is a completely finished house. I have used a couple of x10 devices with the desktop timer, but that is it for experience there too.
Top
#18643 - 08/31/07 08:05 AM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
So do you already have or plan to get an Ocelot? A good place to start learning about programming and hardware is by reading the downloadable manual from here:

http://www.appdigusers.com/forum/showflat.php/Cat/0/Number/187405/an/0/page/0#Post187405
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18644 - 08/31/07 11:28 AM Re: New HA user looking for ALOT of help!! [Re: Guy Lavoie]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
yes i was planning on getting an ocelot and an adicon 2500 based on what i have been reading, but i wasn't sure if that was the way to go.
Top
#18645 - 08/31/07 12:02 PM Re: New HA user looking for ALOT of help!! [Re: legorik27]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
thanks for the link. I will check that out. how about the garage door? would control/monitor that with the ocelot?
Top
#18646 - 08/31/07 12:17 PM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Just search for "garage door" and you will find several discussions on this forum. People who do this normally get the SECU16 expansion module which has 8 analog/digital inputs and 8 relay outputs.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18647 - 10/29/07 08:52 PM Re: New HA user looking for ALOT of help!! [Re: legorik27]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
Well after all of this time I have been able to get some of things I was hoping to accomplish done. I have a hurdle now that I am not sure how to jump over.

I have outdoor cameras(3) that are modulated on three channels and sent to each TV. Each TV has a satellite receiver in the same location as the TV. I am trying to figure out a way to have a driveway sensor trigger the SECU16 that would in turn automatically display the driveway cameras on any TV that is currently on for 15sec and then return to what they were watching. I can send IR commands out to the TV's but I dont know how to get it back to what they were previously on. I feel like I am making this more complicated than it should be. Can anyone give me a good solution?

Top
#18648 - 10/30/07 07:12 AM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
"Returning to what they were watching" is the sitcking point here. There is no foolproof way of knowing what a TV is doing, unless it is entirely controlled through an "intelligent" system that could keep track of what you last did with it. Few people would be willing to give up the usefulness of the handheld remote in order to be able to do this. If you are willing to settle for a system that will get it right most of the time, then you might be able to do something like setting up a IR receiver to try and keep track of the last input mode that was selected on the TV and have it return to that input after your 15 second input switch. You seem to indicate that the cameras are being modulated to TV channels. If you were watching another channel before that, a channel recall button (and thus IR command) might be useful for going back to the original channel. Likewise, if the system "knows" that you are watching a DVD, you could send it a "pause" command in order to allow you to pick up the movie where you left off, etc.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18649 - 10/30/07 12:53 PM Re: New HA user looking for ALOT of help!! [Re: Guy Lavoie]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
That makes sense. Does the ocelot have a way to have flags set in the system with different ir commands? Such as IR received indicating DVD input; set flag DVD?
Top
#18650 - 10/30/07 01:31 PM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
Yes, you can set flags or variables, do all kinds of logic tests, etc. For example (pseudo code):

IF Receive IR #3 //if the code that selects the DVD input was received
THEN Variable #5 = 1 //set current a/v mode flag to 1 (DVD watching)
IF Receive IR #8 //if the code that selects the TV tuner was received
THEN Variable #5 = 2 //set current a/v mode flag to 2 (watching TV)
etc...

IF SECU16 input #1 Turns ON //if driveway sensor is tripped
AND Variable #5 = 1 //and current a/v mode was 1 (DVD watching)
THEN Timer #1 = 1 //start timer
THEN Transmit IR #110 //press "pause" on DVD
THEN Transmit IR #8 //select tuner mode on TV
THEN Transmit IR #64 //press "4"
THEN Transmit IR #67 //press "7"
THEN Transmit IR #81 //press "enter" (tune to channel 47)


IF Timer #1 becomes > 15 //after 15 seconds of seeing camera image
AND Variable #5 = 1 //and current a/v mode was 1 (DVD watching)
THEN Transmit IR #3 //select DVD input mode on TV
THEN Transmit IR #112 //press "play" on DVD to resume watching
THEN Timer #1 = 0 //and stop timer


IF SECU16 input #1 Turns ON //if driveway sensor is tripped
AND Variable #5 = 2 //and current a/v mode was 2 (TV watching)
THEN Timer #1 = 1 //start timer
THEN Transmit IR #64 //press "4"
THEN Transmit IR #67 //press "7"
THEN Transmit IR #81 //press "enter" (tune to channel 47)

IF Timer #1 becomes > 15 //after 15 seconds of seeing camera image
AND Variable #5 = 2 //and current a/v mode was 2 (TV watching)
THEN Transmit IR #114 //press "channel recall" on TV to resume watching
THEN Timer #1 = 0 //and stop timer



etc.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18651 - 10/31/07 02:59 PM Re: New HA user looking for ALOT of help!! [Re: Guy Lavoie]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
Thanks Guy!

This will really help alot. Like you said, not flawless, but it should really work pretty well. Thank you.

Another question: I am learning IR codes from different devices and I have them under different file names. How can I get them all into the ocelot? I wonder if it erases it's current IR memory when I download a different file?

Top
#18652 - 10/31/07 07:11 PM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
See my response in the other thread:

http://www.appdigusers.com/forum/showflat.php/Cat/0/Number/191428/Main/191427/#Post191428
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18653 - 11/14/07 02:23 PM Re: New HA user looking for ALOT of help!! [Re: Guy Lavoie]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
Would somebody please look at this and tell me if/what I am doing wrong.
0030 - IF Receive IR IR #5, from Ocelot // IR #5 (sat) input
0031 - THEN Current-A/V-input = 1 // current A/V input is Sat
0032 - IF Receive IR IR #6, from Ocelot // IR #6 (DVD) Input
0033 - THEN Current-A/V-input = 2 // current A/V input is DVD
0034 - IF Receive IR IR #7, from Ocelot // IR #7 (modulator) input
0035 - THEN Current-A/V-input = 3 // current A/V input is Camera/Fireball
0036 - // --DRIVEWAY SENSOR/SAT INPUT MAIN TV--
0037 - IF Module #1 -SECU16 Driveway-Sensor(PIR) Turns ON // Driveway sensor tripped
0038 - AND Current-A/V-input is = 1 // and current A/V input is Sat
0039 - AND Timer-Doorbell-Sensor is = 0 // and doorbell timer is stopped
0040 - AND Timer-Deck-Sensor is = 0 // and deck timer is stopped
0041 - THEN Timer-Driveway-Sensor = 1 // start timer
0042 - THEN Module #2 -SECU16-IR, Main-Living IR IR #108 // press "8" sharp aquos
0043 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0044 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0045 - IF Timer-Driveway-Sensor becomes > 15 // 15 sec timer expires
0046 - AND Current-A/V-input is = 1 // and current A/V input is Sat
0047 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0048 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0049 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0050 - THEN Timer-Driveway-Sensor = 0 // stop timer
0051 - // --DRIVEWAY SENSOR/DVD INPUT MAIN TV--
0052 - IF Module #1 -SECU16 Driveway-Sensor(PIR) Turns ON // Driveway sensor tripped
0053 - AND Current-A/V-input is = 2 // and current A/V input is DVD
0054 - AND Timer-Doorbell-Sensor is = 0 // and doorbell timer is stopped
0055 - AND Timer-Deck-Sensor is = 0 // and deck timer is stopped
0056 - THEN Timer-Driveway-Sensor = 1 // start timer
0057 - THEN Module #2 -SECU16-IR, Main-Living IR IR #108 // press "8" sharp aquos
0058 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0059 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0060 - IF Timer-Driveway-Sensor becomes > 15 // 15 sec timer expires
0061 - AND Current-A/V-input is = 2 // and current A/V input is DVD
0062 - THEN Module #2 -SECU16-IR, Main-Living IR IR #114 // press "input4" sharp aquos
0063 - THEN Timer-Driveway-Sensor = 0 // stop timer
0064 - // --DRIVEWAY SENSOR/TV INPUT MAIN TV--
0065 - IF Module #1 -SECU16 Driveway-Sensor(PIR) Turns ON // Driveway sensor tripped
0066 - AND Current-A/V-input is = 3 // and current A/V input is Carmera/Fireball
0067 - AND Timer-Doorbell-Sensor is = 0 // and doorbell timer is stopped
0068 - AND Timer-Deck-Sensor is = 0 // and deck timer is stopped
0069 - THEN Timer-Driveway-Sensor = 1 // start timer
0070 - THEN Module #2 -SECU16-IR, Main-Living IR IR #108 // press "8" sharp aquos
0071 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0072 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0073 - IF Timer-Driveway-Sensor becomes > 15 // 15 sec timer expires
0074 - AND Current-A/V-input is = 3 // and current A/V input is Camera/Fireball
0075 - THEN Module #2 -SECU16-IR, Main-Living IR IR #120 // press "last ch" sharp aquos
0076 - THEN Timer-Driveway-Sensor = 0 // stop timer
0077 - // --DOORBELL SENSOR/SAT INPUT MAIN TV---
0078 - IF Module #1 -SECU16 Doorbell-sensor Turns ON // Doorbell sensor tripped
0079 - AND Current-A/V-input is = 1 // and current A/V input is Sat
0080 - AND Timer-Driveway-Sensor is = 0 // and driveway timer is stopped
0081 - AND Timer-Deck-Sensor is = 0 // and deck timer is stopped
0082 - THEN Timer-Doorbell-Sensor = 1 // start timer
0083 - THEN Module #2 -SECU16-IR, Main-Living IR IR #107 // press "7" sharp aquos
0084 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0085 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0086 - IF Timer-Doorbell-Sensor becomes > 15 // 15 sec timer expires
0087 - AND Current-A/V-input is = 1 // and current A/V input is Sat
0088 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0089 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0090 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0091 - THEN Timer-Doorbell-Sensor = 0 // stop timer
0092 - // ---DOORBELL SENSOR/DVD INPUT MAIN TV--
0093 - IF Module #1 -SECU16 Doorbell-sensor Turns ON // Doorbell sensor tripped
0094 - AND Current-A/V-input is = 2 // and current A/V input is DVD
0095 - AND Timer-Driveway-Sensor is = 0 // and driveway timer is stopped
0096 - AND Timer-Deck-Sensor is = 0 // and deck timer is stopped
0097 - THEN Timer-Doorbell-Sensor = 1 // start timer
0098 - THEN Module #2 -SECU16-IR, Main-Living IR IR #107 // press "7" sharp aquos
0099 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0100 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0101 - IF Timer-Doorbell-Sensor becomes > 15 // 15 sec timer expires
0102 - AND Current-A/V-input is = 2 // and current A/V input is DVD
0103 - THEN Module #2 -SECU16-IR, Main-Living IR IR #114 // press "input4" sharp aquos
0104 - THEN Timer-Doorbell-Sensor = 0 // stop timer
0105 - // ---DOORBELL SENSOR/TV INPUT MAIN TV---
0106 - IF Module #1 -SECU16 Doorbell-sensor Turns ON // Doorbell sensor tripped
0107 - AND Current-A/V-input is = 3 // and current A/V input is Camera/Fireball
0108 - AND Timer-Driveway-Sensor is = 0 // and driveway timer is stopped
0109 - AND Timer-Deck-Sensor is = 0 // and deck timer is stopped
0110 - THEN Timer-Doorbell-Sensor = 1 // start timer
0111 - THEN Module #2 -SECU16-IR, Main-Living IR IR #107 // press "7" sharp aquos
0112 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0113 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0114 - IF Timer-Doorbell-Sensor becomes > 15 // 15 sec timer expires
0115 - AND Current-A/V-input is = 3 // and current A/V input is Camera/Fireball
0116 - THEN Module #2 -SECU16-IR, Main-Living IR IR #120 // press "last ch" sharp aquos
0117 - THEN Timer-Doorbell-Sensor = 0 // stop timer
0118 - // ---DECK SENSOR/SAT INPUT FOR MAIN TV--
0119 - IF Module #1 -SECU16 Deck-sensor Turns ON // Deck sensor tripped
0120 - AND Current-A/V-input is = 1 // and current A/V input is Sat
0121 - AND Timer-Driveway-Sensor is = 0 // and driveway timer is stopped
0122 - AND Timer-Doorbell-Sensor is = 0 // and doorbell timer is stopped
0123 - THEN Timer-Deck-Sensor = 1 // start timer
0124 - THEN Module #2 -SECU16-IR, Main-Living IR IR #109 // press "9" sharp aquos
0125 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0126 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0127 - IF Timer-Deck-Sensor becomes > 15 // 15 sec timer expires
0128 - AND Current-A/V-input is = 1 // and current A/V input is Sat
0129 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0130 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0131 - THEN Module #2 -SECU16-IR, Main-Living IR IR #111 // press "input" sharp aquos
0132 - THEN Timer-Deck-Sensor = 0 // stop timer
0133 - // ---DECK SENSOR/DVD INPUT FOR MAIN TV--
0134 - IF Module #1 -SECU16 Deck-sensor Turns ON // Deck sensor tripped
0135 - AND Current-A/V-input is = 2 // and current A/V input is DVD
0136 - AND Timer-Driveway-Sensor is = 0 // and driveway timer is stopped
0137 - AND Timer-Doorbell-Sensor is = 0 // and doorbell timer is stopped
0138 - THEN Timer-Deck-Sensor = 1 // start timer
0139 - THEN Module #2 -SECU16-IR, Main-Living IR IR #109 // press "9" sharp aquos
0140 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0141 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0142 - IF Timer-Deck-Sensor becomes > 15 // 15 sec timer expires
0143 - AND Current-A/V-input is = 2 // and current A/V input is DVD
0144 - THEN Module #2 -SECU16-IR, Main-Living IR IR #114 // press "input4" sharp aquos
0145 - THEN Timer-Deck-Sensor = 0 // stop timer
0146 - // ---DECK SENSOR/TV INPUT FOR MAIN TV---------
0147 - IF Module #1 -SECU16 Deck-sensor Turns ON // Deck sensor tripped
0148 - AND Current-A/V-input is = 3 // and current A/V input is Fireball/Cameras
0149 - AND Timer-Driveway-Sensor is = 0 // and driveway timer is stopped
0150 - AND Timer-Doorbell-Sensor is = 0 // and doorbell timer is stopped
0151 - THEN Timer-Deck-Sensor = 1 // start timer
0152 - THEN Module #2 -SECU16-IR, Main-Living IR IR #109 // press "9" sharp aquos
0153 - THEN Module #2 -SECU16-IR, Main-Living IR IR #101 // press "1" ""
0154 - THEN Module #2 -SECU16-IR, Main-Living IR IR #110 // press "enter" ""
0155 - IF Timer-Deck-Sensor becomes > 15 // 15 sec timer expires
0156 - AND Current-A/V-input is = 3 // and current A/V input is Fireball/Cameras
0157 - THEN Module #2 -SECU16-IR, Main-Living IR IR #120 // press "last ch" sharp aquos
0158 - THEN Timer-Deck-Sensor = 0 // stop timer



How it is supposed to work:

If motion is detected on driveway sensor, then input 2 is turned on via dry contact on sensor and Ocelot changes tv's to ch81 via IR then back to what it was already on through variable tracking.

I get the input to turn on, but no IR commands from SECUIR, C-max sees both the SECU16 and SECUIR devices.

Also is there a way to see what is happening in the program? i.e. when an IR command is received, is there a spot in the program to see that it has received an IR?

Thanks


Edited by legorik27 (11/14/07 02:34 PM)

Top
#18654 - 11/15/07 09:12 AM Re: New HA user looking for ALOT of help!! [Re: legorik27]
Guy Lavoie Administrator Offline
Beyond All Hope
*****

Registered: 12/21/02
Posts: 6401
Loc: Montreal, QC, Canada
I didn't go through the entire program yet because there are a few things you could check out first with the C-Max utilities.

- Can you successfully send the IR commands to your TV (using the SECU16IR) by testing this with the IR utilites in the controller access menu? Look for the "Transmit Remote IR" utility. You will need to enter the module's adnet address, zone number, and IR code number that you want to send. If you can get that to work reliably, then you will know that the IR itself is working and that then it could be a program logic issue.

- If you go into the Controller Utilities in the controller access menu, you will see a menu choice to "debug timers and variables". Use that to monitor variable #60 in real time (scroll down until you can see variable 60). Variable 60 will show you the last IR code that was received and recognized. Again, getting this to work reliably will tell you if that is ok, regardless of any program logic problems.
_________________________
"If you don't know what you're doing, do it neatly..."

Top
#18655 - 11/15/07 11:43 PM Re: New HA user looking for ALOT of help!! [Re: Guy Lavoie]
legorik27 Offline
newbie


Registered: 08/30/07
Posts: 19
Loc: MN
thanks I will look into that!
Top
#18656 - 11/17/07 06:03 AM Re: New HA user looking for ALOT of help!! [Re: legorik27]
chewbarker Offline
newbie


Registered: 01/01/07
Posts: 23
Another idea is to use Picture In Picture if your television supports it, that may mean you do not need to worry about what the TV was doing just function the PIP for the length of time you need it on.
Top
Page 1 of 1 1


Moderator:  Dan Smith, Monte G, ADI Tech Support, Guy Lavoie 
Hop to:
Who's Online
1 registered (kuro) and 21 anonymous users online.
Recent Posts
Basic Ocelot/IR-100 Question
by kuro
02/09/12 04:16 PM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:36 AM
SECU16IR Output Connecting To A Xantech Connecting Block
by Jean-Marie
02/09/12 08:34 AM
how to post an icon
by manu
02/03/12 03:40 AM
Command Pair
by kuro
02/01/12 12:49 AM
Shout Box

Newest Members
feshh, manu, kuro, chuck214, Funkhauser
2747 Registered Users
Forum Stats
2747 Members
19 Forums
3837 Topics
22714 Posts

Max Online: 67 @ 08/16/11 03:08 PM
February
Su M Tu W Th F Sa
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29