Author: Mark Stayton Version: 2 Added to Library: 11-Nov-23 HCAVersion needed: 16 Keywords: Utility Requirements: Requirements: BEFORE INSTALLING THIS PACKAGE, YOU MUST DO THE FOLLOWING:
1. Install the "Virtual On/Off Device Class" package.
2. Configure HCA Messaging (Tools / Messaging).
After installing this package:
1. Run the "Setup Garage Door Monitor" program and follow the prompts. The program will find all Insteon 2450 I/OLinc devices in your system and ask if you want them to be included in garage door monitoring.
2. On the Triggers tab of the Garage Door SMS program, add triggers for the On and Off states for each garage door device to be monitored. For Insteon 2450 I/Olinc Inputs, the Insteon Message triggers are:
[device] sends Off by group 1
[device] sends On by group 1
Package Description: This package monitors garage door input devices. When a garage door opens or closes, a program sends an SMS notification with the status of the doors. If one of the doors is open, SMS messages will be sent periodically until all doors are closed.
This application currently supports Insteon I/OLinc devices by default. If you use different devices, run the "Setup Garage Device Types" program and follow the prompts to select the device types you use for garage doors, then run "Setup Garage Door Monitor" to select the individual devices.
This package contains:
(1) virtual on/off device, to enable/disable SMS messaging (Garage SMS Enable)
(1) garage door monitor program (Garage Door SMS)
(2) setup programs (Select Garage Device Types. Setup Garage Door Monitor)
Program Description: This program runs whenever a garage door opens or closes. It sends an SMS message with the status of all garage doors. If one of the doors is open, the SMS message repeats every 15 minutes.
GARAGE DOOR DEVICE SUPPORT:
This application currently supports Insteon 2450 I/OLinc devices for garage door monitoring.
If you have other devices in your design used for garage doors, run the "Select Garage Device Types" program and follow the prompts to select the device types you want to use.
WHAT YOU NEED TO DO:
1. Run the "Setup Garage Door Monitor" program and follow the prompts to pick the garage doors to be monitored. This only needs to be done once after installation, or if you add/delete garage door devices from your configuration.
2. On the Triggers tab of this program, add Insteon Message triggers for each garage door device to be monitored. You will need two triggers for each device:
[device] sends Off by group 1
[device] sends On by group 1
PROGRAM EXECUTION:
1. Garage doors to be monitored each have a tag named IsGarageDoor with a value of Yes. These are configured using the Setup Garage Door Monitor program.
2. A local variable, lastGaragesClosed, is set to the value of the tag GaragesAreClosed.
3. The status of all doors containing the tag IsGarageDoor are cheched. If all are closed, tag GaragesAreClosed is set to Yes, otherwise it is set to No.
4. If the Garage SMS Enabled switch is Off, the program exits, otherwise it continues to see if it needs to send an SMS message.
5. If lastGaragesClosed and tag GaragesAreClosed are both Yes, no message is sent and the program exits.
6. Otherwise an SMS message is sent with the status of the garage doors, the program waits 15 minutes, and begins again at 2.
Written by Mark Stayton (mark@thestaytons.net) | Version 4 | 21-Sep-2018
Return value: This program does not return a result.
Program Description: This program scans your HCA design and asks you to identify those devices types that are used for garage doors.
The collection of garage door device typs is stored as a comma-delimited list in program Setup Garage Door Monitor, as tag GarageDeviceTypes
WHAT YOU NEED TO DO:
1. Run the program if you use something other than Insteon 2450 I/OLinc Input devices for your garage doors, or if you add or delete garage door devices to your configuration.
Written by Mark Stayton (mark@thestaytons.net) | Version 4 | 21-Sep-2018
Return value: This program does not return a result.
Global Variable Use:
Name | Description |
---|---|
stats_num_DeviceTypes | Number of unique device types currently in your design. |
gdm_prompt | User prompts during execution of Garage Door Monitor programs. |
sys_DeviceTypes | DO NOT EDIT! List of all device types currently in your design. Update by running the "Create HCA Device Types CSV Lists" program. |
gdm_input | User input during execution of Garage Door Monitor programs. |
Program Description: This program scans the HCA database looking for any Insteon 2450 IOLinc devices.
When one is found, the user is prompted whether they want to add that device to the list of garage door devices to be monitored.
If yes, a tag named IsGarageDoor is added to the device with a value of Yes.
Once all devices have been selected, a set of instructions are presented on how to complete the setup.
WHAT YOU NEED TO DO:
1. Run the program when the Garage Door Monitor application is first installed, and again if you add or delete garage door devices to your configuration.
Written by Mark Stayton (mark@thestaytons.net) | Version 4 | 21-Sep-2018
Return value: This program does not return a result.
Global Variable Use:
Name | Description |
---|---|
gdm_input | User input during execution of Garage Door Monitor programs. |
gdm_prompt | User prompts during execution of Garage Door Monitor programs. |