![DSC Misterhouse PC5401 User Manual Download Page 9](http://html1.mh-extra.com/html/dsc/misterhouse-pc5401/misterhouse-pc5401_user-manual_2534351009.webp)
DSC Alarm PC5401 Serial Module
/4
3
MISTERHOUSE INTEGRATION
To integrate PC5401 into Misterhouse (MH), first configure properly MH.PRIVATE.INI and begin your
personal code with the following example files.
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.
¾
DSC5401_example.pl
: This one his example for your personal code, this had 2 sections.
−
The 1
st
section present example code.
−
The second example section is web-based event.
¾
DSC5401_web.pl
: This will provide a web interface with zone Status, etc. We explain later how to
install this file. For the moment you can copy this file in MH->Web->Bin directory (ex.:
/mh/web/bin)
Some of them are needed to trigger specific event, like thermostat broadcast etc. The card allow mainly
passive event (no user intervention), so it listen to the serial port for information provided by the card.
The module will change state regarding the information receive
3.1
MH.PRIVATE.INI Configuration
There is much information in the mh.private.ini file. These allow getting a better way to display events
information, every zone and user partition.
The mh.private.ini configuration specifications are:
¾
User number need 4 digit to define them "9999"
¾
Zone number need 3 digit "999"
¾
Partition number need 1 digit "9"
¾
3 parameters are required to tell interface specification configuration and module start-up name
¾
And 5 parameters to tell which information you want to put in the log file.
Description
Syntax
Option
Module start-up name
DSC_5401_module=DSC5401
None
Define which serial port for interfacing PC5401 in MH.
DSC_5401_serial_port=/dev/ttyM5
Specify the communication speed.
DSC_5401_baudrate=XXXX