Jump to content

kevkmartin

Members
  • Posts

    185
  • Joined

  • Last visited

Everything posted by kevkmartin

  1. I made my own doorbell button using a blank stainless steel switch cover, and a lighted arcade LED. I use the IO Linc, both to indicate to the ISY that the button is pressed , AND to light he LED at night. It works great! Sent from my iPad using Tapatalk HD
  2. Sure. The sensor is just a standard magnetic sensor that could be direct wired to an elk input. Just make sure you match up the NO / NC contact used with the ELK expectation for the chosen zone. Sent from my iPad using Tapatalk HD
  3. The most reliable method would be to make a SECOND program with no if clause. The wait statement and the turn off would be the THEN clause of the second program. Have the THEN clause of the first program execute the THEN clause of the second program. Sent from my iPad using Tapatalk HD
  4. I use the app called Push. You set it up, and are assigned a proxy email address. The isy sends an email to the assigned address; that triggers a push notification to the iPhone.
  5. You WILL need two programs. One program should turn on the lights; it looks like that one should use an "if Triggerlinc status is OFF" then turn on lights. You would need to change the programs posted "off" as well. The program I posted would need to see the button pressed for a full two seconds before the off command will be issued. Sent from my iPad using Tapatalk HD
  6. I agree. Use status. Darn pseudo code...
  7. How about: If Triggerlinc is On Then Wait 2 seconds Turn 1st floor lights off Else No actions Sent from my iPad using Tapatalk HD
  8. You will need to issue REST commands to the ISY. Look into REST on the wiki. Sent from my iPad using Tapatalk HD
  9. If you get the current temperature in a variable (cur_temp) here's some pseudo code: If command is temp_up Then new_temp = cur_temp +1 Else No actions If command is temp_down Then new_temp = cur_temp -1 Else No actions set_temp_55 If new_temp = 55 Then Else No actions . . . You would need a set_temp_xx for each temperature in the range you think reasonable. Make sure that new_temp is defined as a State (vs Integer) variable. Hope this helped. Sent from my iPad using Tapatalk HD
  10. If you have access to the current temperature, can you just add or subtract 1 from that, and then send the discrete command? Sent from my iPad using Tapatalk HD
  11. I run a program via MobiLinc Pro on my iPhone. If I forget, I get another reminder the next day when I get home.
  12. I have a program that counts the number of days elapsed since I last replaced the furnace filter: ---------- If Time is 5:30:00PM Then $FF_Days_Since_Furnace_Filter_Reset += 1 $FF_Days_Since_Furnace_Filter_Reset Init To $FF_Days_Since_Furnace_Filter_Reset Else - No Actions - (To add one, press 'Action') ---------- There is also a program the notifies me by e-mail / text message that its time to change the filter: ---------- If $FF_Days_Since_Furnace_Filter_Reset >= 40 Then Send Notification to 'Kevin MMS Alert' content 'Furnace Filter Days' Send Notification to 'Kevin E-Mails' content 'Furnace Filter Days' Run Program 'FF - Announce Filter Due' (If) ***more on this later*** Else - No Actions - (To add one, press 'Action') ---------- I also have (had) a line in the Then clause that would announce through the whole house voice system "Please remember to change the furnace filter today." Recently, I upgraded my alarm system to an ELK... so the ISY now "knows" if we are home or not based on this program: ----- If Elk Area 'House' 'Armed State' is Armed Away Or Elk Area 'House' 'Armed State' is Armed Vacation Then $HA_Is_Home = 0 $HA_Is_Home Init To 0 $HA_Is_Away = 1 $HA_Is_Away Init To 1 Else $HA_Is_Home = 1 $HA_Is_Home Init To 1 $HA_Is_Away = 0 $HA_Is_Away Init To 0 ----- I wanted to change the behavior of the filter program to - rather than just announce the message - announce it immediately if we are home, BUT if we are away, hold the voice announcement until we arrive home. So... I wrote this program, which is normally left DISABLED: ---------- If $HA_Is_Home is 1 Then Resource 'Audio_Attention' Resource 'Audio_Furnace_Filter' Disable Program 'FF - Announce Filter Due' Else Enable Program 'FF - Announce Filter Due' ---------- It becomes ENABLED if the days since filter change is >=40 AND we are not home (the ELSE clause executes when the If is forces by the notify program). Then, when we arrive home (and the Is.Home variable updates), this program executes, makes the voice announcement, then the program DISABLES its self. Is there any issue (performance, reliability, etc...) with using programs to enable / disable each other (or themselves)?
  13. It's now installed!!! Sent from my iPad using Tapatalk HD
  14. With all of this wiring complete, you will be ready to use the IOLinc as a lighted doorbell controller. Link the IOLink to your ISY-99. The relay mode should be in the (default) latching mode. Once linked, you will see two nodes: Relay - this node will be commanded to control the LIGHT of the doorbell switch Sense - this node will report the status of the doorbell button Programming and Variables: I use three variables (two state variable, and one normal variable) to accomplish my doorbell control: Is_Day (state variable) - this is set by a program as follows: Program "Is Day" If From Sunrise To Sunset (Same Day) Then $Is_Day = 1 Else $Is_Day = 0 Doorbell_Status (State Variable) - this state variable will have a value of "1" whenever the doorbell button is pressed, and "0" otherwise Doorbell_Is_Day (Integer) - this variable tracks to the State variable $Is_Day via program. Theis is necessary to prevent certain doorbell programs from EVALUATING when transitioning from Day to Night / Night to Day. Doorbell_Chime_Executing (Integer) - this will have a value of "1" while the doorbell chime is actually sounding and "0" otherwise Program "DB - Is Day Variable" If $Is_Day is 1 Then $Doorbell_Is_Day = 1 Else $Doorbell_Is_Day = 0 Program "DB - Light Default" - this program will turn the doorbell button ON (by default) at night, and OFF (by default) at night: If $Is_Day is 1 Then Set 'Doorbell / Doorbell IOLinc Relay' Off Else Set 'Doorbell / Doorbell IOLinc Relay' On Program "DB - Button Status" - This program will set the value of variable Doorbell Status, and initiate other programs to sound the doorbell and control the light: If Status 'Doorbell / Doorbell IOLinc Sensor' is Off Then $Doorbell_Status = 0 Else $Doorbell_status = 1 Run Program 'DB - Sound Should Play' (If) Program "DB - Sound Should Play" - this program will prevent the doorbell sound from playing AGAIN while a chime is already sounding If $Doorbell_Chime_Executing is 0 Then Run Program 'DB - Play Sound and Light' (If) Else No Actions Program "DB - Play Sound and Light" - this is the actual program that plays the doorbell chime, and controls the doorbell switch light when it is pressed. During the day (when the switch light is off by default), the switch will light up during the chime. At night (when the switch light is on by default), the switch light will turn off during the chime. This gives the person at the door a visible indicator that something happened when they pressed the button. If $Doorbell_Is_Day is 1 Then $Doorbell_Chime_Execuing = 1 Set 'Doorbell / Doorbell IOLinc Relay' On Resource 'Audio_Attention' #This Network Resource accesses the NSUL2 and plays an attention chime Resource 'Audio_Intruder_Alert' #This plays the doorbell sound "Intruder Alert" from the 80's game Berzerk Resource 'Audio_Intruder_Alert' Resource 'Audio_Attention' Wait 7 Seconds #The duration of the chime sounds $Doorbell_Chime_Execuing = 1 Set 'Doorbell / Doorbell IOLinc Relay' Off Else $Doorbell_Chime_Execuing = 1 Set 'Doorbell / Doorbell IOLinc Relay' Off Resource 'Audio_Attention' #This Network Resource accesses the NSUL2 and plays an attention chime Resource 'Audio_Intruder_Alert' #This plays the doorbell sound "Intruder Alert" from the 80's game Berzerk Resource 'Audio_Intruder_Alert' Resource 'Audio_Attention' Wait 7 Seconds #The duration of the chime sounds $Doorbell_Chime_Execuing = 1 Set 'Doorbell / Doorbell IOLinc Relay' On That's it. When operating correctly, the lighted doorbell switch will be lit at night, and off during the day. When pressed, the lighted switch will change state (off or on as appropriate) during the chime. Please let me know if there are questions!!!
  15. Once the wiring is run from the doorbell location to the outlet, its time to connect the wiring to the IOLinc. The IOLinc is an extremely capable device, integration a sensor, a relay, and a +5v power supply into a compact unit. Terminals on the IOLinc are +5v, Sense, Ground, Relay Common, Relay NO (Normally Open), Relay NC (Normally Closed). We will be using all of the terminals EXCEPT for the Relay NC. Using the same wiring scheme from the post on wiring the doorbell switch, the following connections will be made: Sense - connect the WHITE (Switch NO) wire GND - connect BOTH the GREEN (Switch Common) and BLACK (LED Ground) wires Relay Common - connect the RED wire from the switch (LED Power) +5V - You will need to use a small length of wire to connect the +5V terminal to the Relay NO terminal
  16. Putting together the actual button is straight forward. Drill a hole (1 1/4") in the center of the single gang plate. Insert the threaded shaft of the arcade button through the hole, then tighten the large plastic nut against the back of the plate. The lighted button will have a microswitch / LED unit for all wiring connections. The connections are: LED +, LED -, Switch Common, Switch NO (normally open), Switch NC (normally closed). We will be using all of these connections EXCEPT the Switch NC. The 4 conductor wire I purchased had red, black, green, and white conductors. I chose to use red for LED power (+5v), black for LED ground, green to Switch common, and white to Switch NO. In this configuration, pressing the switch will connect the Switch Common terminal and the Switch NO terminal together.
  17. 1 single gang cover plate I used a brushed stainless steel plate from amazon.com: http://www.amazon.com/Icarus-Blank-Sing ... 427&sr=8-3 1 Lighted arcade push button with micro switch These come in many colors. They are spec'd for 12v DC, but work just fine with 5V DC (just dimmer) I purchased from Paradise Arcade: http://www.paradisearcadeshop.com/en/27-led-buttons Insteon IOLinc: http://www.smarthome.com/2450/IOLinc-IN ... ut-/p.aspx This will provide both status and control of the doorbell. 4 conductor, 18 gauge wire Enough to run from your doorbell location, through a wall, to an outlet. Sent from my iPad using Tapatalk HD
  18. This thread will outline the materials, equipment, and process required to build and install a custom lighted doorbell - integrated into your Insteon network. I will include all of the programming used to control the button. The button lights up at night, turning off when pressed (while the chime sounds). During the day, the button is off, lighting up when pressed (while chiming). The chime can be anything you have an MP3 of - assuming you have followed MrD's excellent tutorials on using an NSUL2 along with your ISY-99's network resources. Stay tuned for details.
  19. I'm still pulling my hair our with this hub!!! Sound works perfectly with usb sound card plugged directly in to port 1 on the NSLU2. Without hub: # lsusb Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 002 Device 002: ID 0d8c:013c C-Media Electroncis, Inc. Bus 001 Device 001: ID 0000:0000 Bus 001 Device 003: ID 03f0:5307 Hewlett-Packard When I plug the hub into port 1, and then the usb sound card into the hub, I get no sound. With hub: # lsusb Bus 003 Device 001: ID 0000:0000 Bus 002 Device 001: ID 0000:0000 Bus 001 Device 001: ID 0000:0000 Bus 001 Device 002: ID 1a40:0201 Bus 001 Device 004: ID 1a40:0101 Bus 001 Device 005: ID 0d8c:013c C-Media Electroncis, Inc. Bus 001 Device 003: ID 03f0:5307 Hewlett-Packard In both cases, the output from playaudio.cgi (to the screen) is the same - just no sound form the speakers when the usb hub is used. Is the different bus and / or device number causing no sound? any ideas how to resolve?
  20. Really?!?! Sent from my iPad using Tapatalk HD
  21. As I said... I believe the answer is yes.
  22. They are all linked to each other; each one retransmits what it receives... So it should work.
  23. Thanks! I ordered one... but it said shipping from Hong Kong in 15-28 days!!! I found what LOOKS like the same model on amazon.com http://www.amazon.com/gp/product/B00475WJEY/ref=oh_o00_s00_i00_details; I ordered that one to arrive on Monday. If the amazon one doesnt work, I guess I'll wait for the one from Hong Kong !!!
  24. MstrD, Can you list the model number of the USB hub you are using to attach your audio device to the NSLU2? Did you make any configuration changes to tell the kernel the USB audio is on the hub? I have tried 3 different hubs, and can not get audio to play when the USB audio is connected to a hub.
×
×
  • Create New...