DSC5401.pm |
NONE
NONE
Generic_Item
new
Starting a new object
init
serial port configuration
startup
module startup / enabling serial port
check_for_data
check for incoming data on serial port
CmdStr
Validate the command and perform action
LocalLogit
local logit call
IsChecksumOK
Validate if checksum is OK, from the string receive
ResetDscState
Reset DSC state to simulate a "now" on some value ie: zone, temp etc.
DoChecksum
calculate checksum
DefineEventMsg
Define hash with DSC message event
DefineCmdMsg
Define hash with DSC command
DefineErrorCode
Define hash with DSC command error code
ZoneName
read the zone name and put name in hash
cmd
Sending command to DSC panel
set_clock
This method copied from Gaeton's example DSC_Clock.pl code. I recommend that this be run every day at 3am to keep the clock synchronized and also to correct for daylight saving time.
NONE
Jocelyn Brouillard Gaetan lord email@gaetanlord.ca
NONE
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
DSC5401.pm |