Thursday, August 11, 2016

Garage Light Program


Garage lights Frnt _on - [ID 0031][Parent 0001]

If
        Control 'Garage Motion-Sensor' is switched On
    And Status  'Garage Light Switch' is not On

Then
        $Garage_Fr_Motion_ON  = 1
        Set 'Garage Light Switch' On

Else
   - No Actions - (To add one, press 'Action')

Comment:









if the garage wall switch is 'ON' manually, this program is ignored.






Garage lights Frnt _off - [ID 0011][Parent 0001]

If
        Status  'Garage Motion-Sensor' is Off

Then
        Wait  5 minutes
        Set 'Garage Light Switch' Off
        $Garage_Fr_Motion_ON  = 0

Else
   - No Actions - (To add one, press 'Action')

When the motion sensor stops sensing motion, times out, and sends the Off command,
its status becomes False and this program begins the countdown to turning the lights off.

If during this period motion is once again detected, the motion sensor sends another
On command, the sensor's status becomes True, and program 4 halts.

http://wiki.universal-devices.com/index.php?title=ISY-99i/ISY-26_INSTEON:Using_Motion_Sensors_in_Bathrooms



Monday, August 26, 2013

Away folder

This is an excellent idea for controlling various ISY programs. Thanks to the author: Chris Jahn.

I used it in my configuration too.

http://forum.universal-devices.com/viewtopic.php?p=10666#10666

Description

Version 2.6.6 - Relevant Wiki Link: Precedence and Execution Order

The True/False status of a Folder may be tested using a program.

Advantages

By testing the status of a Folder, it is easier to choose which programs within the Folder run when it becomes True.

How to use it


1. Select Program in the dropdown for an Action

2. Select a Folder (the selection list contains all Programs followed by all Folders)

Example:

Folder AWAY

Code:

Folder Conditions for 'AWAY'

Add conditions to limit when programs in this folder are allowed to run.

If

        Status  'Away Button' is On

Then

   Allow the programs in this folder to run.

Program inside Folder AWAY.

- This turns the bathroom light on randomly. You could add more of these programs in the folder for Kitchen, Bedrooms, etc.

Program inside Folder AWAY.

- This turns the bathroom light on randomly. You could add more of these programs in the folder for Kitchen, Bedrooms, etc.

Code:

If

        Folder  'AWAY' is True

Then

        Repeat Every  1 hour

           Wait  15 minutes  (Random)

           Set 'Bathroom Light' On

           Wait  10 minutes

           Wait  2 minutes  (Random)

           Set 'Bathroom Light' Off

Else

   - No Actions - (To add one, press 'Action')


Program inside Folder AWAY.

- This sends an e-mail notification if the Bathroom switch is pressed on while you are away. You could add more switches to this program e.g. Kitchen, Living Room etc.

Code:

If

        Control 'Bathroom Switch' is switched On

     Or Control 'Bathroom Switch' is switched Fast On

     Or Control 'Bathroom Switch' is switched Fade Up

     Or Control 'Bathroom Switch' is switched Bright

Then

        Send Notification to All

Else

   - No Actions - (To add one, press 'Action')


Program not inside Folder AWAY.

- This is used to ensure all the lights randomly turned on will be turned off when the AWAY Folder becomes False, and all programs in it are stopped.

Code:

If

        Folder  'AWAY' is False

Then

        Set 'Bathroom Light' Off

Else

   - No Actions - (To add one, press 'Action')


_________________

Chris Jahn

Universal Devices Inc.

http://www.universal-devices.com


The best Insteon Resources

Here are the locations of the best Insteon information I've found so far:

An excellent explanation how Insteon works

Universal Devices Wiki

Insteon Support Pages

Blink Lights Program v1

The idea for this program was to alert the neighbors if a door is opened while we
are away.

Another program triggers when a door is opened, and runs the following program:

==============================

If
   - No Conditions - (To add one, press 'Schedule' or 'Condition')

Then
        Repeat 50 times
           Set 'Driveway Lights Appliancelinc' Fast On
           Set 'Front Door Ceiling' Fast On
           Set 'Back Light' Fast On
           Wait  1 second
           Set 'Driveway Lights Appliancelinc' Fast Off
           Set 'Front Door Ceiling' Fast Off
           Set 'Boat Light' Fast Off

Else
   - No Actions - (To add one, press 'Action')


==============================

This program would have been nice, had it worked well. Unfortunately, I found two different problems with it.

1. It would take sometimes 20 seconds to blink these lights once, and sometimes longer. At the time of the testing, I received some error messages that the ISY was having problems to
communicate with the "Driveway Lights Appliancelinc" so I moved it to get power from a circuit closer to the PLM/ISY.

I continued testing and found that the cycle time was back to 2 seconds after moving the
troublesome Appliancelinc.

--this must mean that the ISY is sending out an Insteon command
and waiting for an acknowledgement before sending out the next command...

Unfortunately this has an impact on the programed operations, so it would be better NOT to
use very large repeat loops without checking conditions. We'll need to come up with a version 2 program to work around this.

How to Stop a Program's Operation

2. The program is not easy to stop.

I tried various ways to try to stop it, but these two ways below did not work:

a. The Blink Program is in a conditional folder, called "AWAY." When one pushes an "AWAY" button on a remotelinc, it makes the condition of the folder "True" and the programs in the folder can then be triggered. This part of the solution seems to work very well.

Push the "Away" button, and an Insteon Scene activates an "Away LED" on a keypadlinc, as well as making the "Away" folder condition "True."

Pushing the "Away" button again, makes the folder condition "False", but a program already running within the folder continues to run.

b. I tried an "Alarm OFF" program outside of the "AWAY" folder:

If
        Program 'Blink Alarm Lights' is True
    And Control 'Dons Remote Control / 1C.4B.A8 - G' is switched On

Then
        Run Program 'Blink Alarm Lights' (Else Path)
        Set 'Driveway Lights Appliancelinc' Fast Off
        Set 'Front Door Ceiling' Fast Off
        Set 'Boat Light' Fast Off

Else
   - No Actions - (To add one, press 'Action')

but here I found that running  "Run Program 'Blink Alarm Lights' (Else Path)" did not interrupt
the 'Blink Alarm Lights' program that was already running.











Monday, August 12, 2013

Insteon ipad App

Contact made with Insteon for support Aug 12, 2013.

Hello, one of our Representatives will be right with you....


[Donald] I need to reset my Insteon ipad app so it can forget about my 2412N hub that is no longer used. Will the app work with an ISY?
[J.T.] Hello Donald.  My name is J.T.. I will be assisting you today.
[J.T.] No, the smartlinc app wont work with an ISY.  You need to get an app for the ISY, like Mobillinc
[J.T.] the INSTEON for Smartlinc app only worked with the 2412N, nothing else
[Donald] ok, will the 2412 work as a dual band device to improve coverage now that I use a ISY?
[J.T.] No, the 2412 is not dual band, it doesnt have RF unfortunately
[Donald] Is there anything I can do with it, since it is new. I bought it as part of an evaluation kit from Canada Computers about 3 months ago.
[J.T.] Unfortunately not really, it really only acted as a controller
[Donald] May I suggest that you correct the information on the Apple web site so that it is clear that the Insteon app only works with the old hub which is no longer supported. It would help new folks I'm sure.
[Donald] Thanks for your help. The technology seems to work very well.
[Donald] bye
[J.T.] I apologize for any confusion, there are 2 insteon apps
[J.T.] one for smartlinc (2412N)
[J.T.] and one for hub
[J.T.] the new hub, 2242-222, is the one that uses the app for hub
[J.T.] Thank you for contacting us.

[Donald] There are two different numbers on my hub ??
[J.T.] What exactly does the device look like, does it plug into the wall, or does it have a power cable?
[Donald] It plugs into the wall and has an ethernet connector
[Donald] It looks like the appliancelinc
[J.T.] one moment
[J.T.] I believe the 232 was a an earlier device which was basically a powerline-only hub, basically a software upgrade on a smartlinc where its the smartlinc (2412n) casing, but the internal workings are the hub, but it's powerline only, not dual band, like the 2242-422 which was a dual band version of the hub in the smartlinc box
[Donald] Is there a manual and or technical information you can send me? 
[J.T.] well, it would basically be the same operation as the hub.  it would just use the same hub manual.  
[Donald] do you mean the 2242-222 ?
[J.T.] right
[Donald] ok, thanks again; bye for now
[J.T.] You're welcome.  Thank you for contacting us today.

Sunday, August 11, 2013

Monitor the Porch Door




The design called for using a 2843-222 Open/Close Sensor to monitor two doors leading into the porch. The idea was to use RF only, in order to save the trouble of installing an electrical circuit (for say the I/O linc) and having to deal with another battery device to maintain.

I had read the manual quickly, and assumed that a simple magnetic switch could be used to the second door, and that the built-in magnetic switch (part of the Open/Close Sensor) could be used to monitor the first door. Installation tests proved this to be incorrect. If external magnetic switches are used with the device, they must be used on every door. These sensors need to be connected in series and the circuit connected back into the Open/Close Sensor's external contacts.  The internal magnetic switch in the 2843 can not be used, as it needs to stay "Open" (away from a magnet) when monitoring the other two external (normally closed) magnetic switches.

We'll need to buy another cheap magnetic switch and change the wiring, but for now, here is the program we are using to notify us if someone opens the porch door after midnight:

If
        Control 'Florida_Room_Door' is switched On
    And From    Sunset
        To      Sunrise (next day)

Then
        Set Scene 'Back Lights ON' On
        Wait  5 minutes

Else
        Set Scene 'Back Lights ON' Off

if someone opens the back door at night,
all the back lights will come ON for 5 mins
.



Here is the program we're using to keep the lights "ON" if
there is activity in the porch area after midnight:


If
        Status  'Florida Room-Sensor' is On
    And From    12:00:00AM
        For      6 hours

Then
        Set Scene 'Back Lights ON' On
        Wait  15 minutes

Else
        Set Scene 'Back Lights ON' Off

between midnight and the morning
if movement in the florida oom,
turn on back lights for 15 mins.

Wednesday, August 7, 2013

Program the YSI to monitor for a low battery.

The ISY provides these programming options related to monitoring an Insteon Motion Sensor (2842-222):



I have asked for advice from the Universal Devices Forum and will results here in my notes later on.

From what I understand, the Insteon Motion Sensor only uses rf to signal the ISY that the battery needs to be replaced, and since it is powered only by a battery, it minimizes the power it uses, so I'd expect the messages here to be sent only when needed, and maybe not very often.

If the motion sensor sends a "low battery ON" signal, it would be the best signal for the ISY to watch for, because it presumably would occur when one needs to change the battery.

To monitor a "low battery OFF" might mean that the battery is now fine (!) or that the low battery is now virtually "OFF" (!@#)

Again, not sure what monitoring a "low battery responding" would do on the ISY... maybe they would all do the equivalent action ...

I guess we could test it, but I'll wait for advice.