Basic Example........................10 3.3.2 Putting All Together......................11 WEB I ......................... 14 NTERFACE 3.4.1 Configuration ........................14 3.4.2 DSC WEB Interface ......................15 3.4.3 Modifying MH status line....................16 ............................17 DSC MESSAGES..........................18 ........................20 RROR ESSAGES RESTRICTIONS ..........................21...
Page 4
Table 3 - MH DSC functions ........................7 Table 4 - MH DSC Variables........................9 Table 5 - Command List and Format ......................10 Table 6 - DSC Messages Description and Format ..................19 Table 7 - Errors Messages Description ....................... 20 FIGURES Figure 1 - PC5401 Board Component......................
Page 5
CHANGE HISTORY Change Description Date Version Manual creation 2005-01-15 Jocelyn B. First general review and adding comments 2005-01-24 Gaetan L. Formatting Gaetan comments and complete first release 2005-01-24 Jocelyn B. Adding Compatibility information 2005-02-19 Jocelyn B. Adding more commands information and making some corrections 2005-03-03 Jocelyn B.
The PC5401 is compatible with the following PowerSeries control panels: Power432™ PC580 Power632™ PC1555MX Power832® PC5010/5015 Power864™ PC5020 ® ™ - Certain product names mentioned herein may be trade names and/or registered trademarks of DSC and other companies. DSC Alarm PC5401 Serial Module...
Enable DSC Alarm Supervision (function 902) PC5401 Serial Module For all official specification read carefully DSC documentation. Remember by adding new composite in your Alarm Panel require to calculate the Current Draw to calibrate de power requirement with panel power supply. This board require: 35mA...
Copy both in your personal MH code directory (ex.: /mh/code/mycode). DSC5401.pm: This module is heart of all functions between the DSC Alarm panel and MH, this will provide DSC status and manage communications.
If you enable it, DSC alarm broadcast his time every 4 minutes, see command table (056) and message table for (550) events. DSC_5401_time_log=X On/Off (1,0) Note: this Option must be activate, by default is Off If you have the escort module, it will write in the log when a...
DSC Serial Module Perl Library To enable PC5401.pm file (Generic Function and communication setup) you have to put the following 2 lines in a "MyPersonalNewCode.pl" file. use DSC5401 $DSC= new DSC5401; All most information we can get from your example code is:...
$DSC->IntTstat(1..4) 21 F or C the thermostat number Return the current External thermostat temp, the number $DSC->ExtTstat(1..4) 17 F or C is the thermostat number $DSC->cmd_list List possible command Table 3 - MH DSC functions DSC Alarm PC5401 Serial Module...
3.2.2 Variables Values Access A variable can be used to get access to DSC values, which are not available by using a function. Syntax: $DSC->{VariableName}{optional} Examples: $DSC->{zone_now} $DSC->{status_zone}{1} Notes: A DSC variables and its optional information must use with an opening and closing brace in the command syntax.
$DSC ->{IntTstatTemp_now_number} Table 4 - MH DSC Variables 3.2.3 Command List and Data Format Its possible to send a few commands to the DSC alarm the following show the syntax and the table specify which commands are available. Syntax: $DSC->cmd("Command",Send_Value)
(9999 - must be replace by an active Alarm Access Code) Notes: Is some case the Alarm Access Code must be supply with the desired command. For more description about all commands refer to DSC PC5401 Developer’s Guide. Name Number...
This will monitor zone 12 for open state and calling an external Speak("Front Door is open"); voice function. if ( my $PartState = $DSC->partition_now ) { print_log "DSC->partition_now $PartState"; This will be trigger the Partition status If ( my $AlarmState = $DSC->state_now ) { print_log "DSC->state_now...
Page 17
3.3.2.2 DSC Zone Monitoring for Lightning Controls # Category=Alarm Filename: DSCmotion.pl #@ DSCMotion.pl version 1.0, #@ Motion detection and automatic light controls This module will controls your light #--------------------------------------------------------------------------------------- in accordance with your alarm if ($Startup||$Reload) { print_log "Starting DSC motion module...";...
# Subroutine to send a page / pcs message, etc. sub alarm_page { my ($text2) =@_; net_mail_send(from => "MyDSCpanel\@MyDomain.org", to => "MyWokingEmal or PCS Phome\@ProviderDomain.org", text => $text2, subject => "DSC(849JP) $DSC->{partition_status}{1}"); speak(mode=>'unmuted', volume=>100, rooms=>'all', text=>"DSC Alarm Panel Said $text2"); WEB Interface 3.4.1 Configuration Copy this file DSC5401_web.pl to /usr/local/mh/web/bin...
Black dot with grey background for undefined zone in mh.private.ini file. And command area − These sections enable you to Arm and Disarm the DSC panel. Figure 3 - DSC Web Page The next part presents the alarm activity, which are logs in /mh/data/logs directory.
#@ Misc web functions Copy this file in code directory # This is called by web/bin/status_line.pl # this allow to display DSC information in the status line # at the bottom of the web page sub web_status_line my $IntTemp = "-";...
Add the line in your mh.private.ini html_status_line=/bin/status_line.pl?sunrise&sunset&mode&web_status_line&wind&date&jclock2 Figure 5 - DSC Web Status line The status line shows the panel status and temperature status, when the panel is equipped with a DSC Escort module and with DSC Thermostat. Logs There is a log file created for every month, which will contains all DSC events.
DSC MESSAGES For more description about all messages refer to DSC PC5401 Developer’s Guide. Title Number Data Length Data Format Command Acknowledge Last Command Number (999) Command Error System Error Error code (000-255) Time/Date Broadcast hhmmMMDDYY Ring Detected Indoor Temperature Broadcast...
General System Tamper Restore Home Automation Trouble Home Automation Trouble Restore Trouble Status Partition(1-8) Trouble Status Restore Partition(1-8) Fire Trouble Alarm Fire Trouble Alarm Restore Code Required Table 6 - DSC Messages Description and Format DSC Alarm PC5401 Serial Module...
API Command Partition Error (partition out of bound) API Command Not Supported API System Not Armed API System Not Ready To Arm API Command Invalid Length API User Code not Required API Invalid Characters in Command Table 7 - Errors Messages Description DSC Alarm PC5401 Serial Module...
There is no way to manage the X10 or thermostat via Escort Module. I will explain why: − The 5401 sends and reads information from the keybus. − Since the X10 and thermostat are processed through the Escort, we cannot send a command directly. DSC Alarm PC5401 Serial Module...
Need help?
Do you have a question about the Misterhouse PC5401 and is the answer not in the manual?
Questions and answers