-
Notifications
You must be signed in to change notification settings - Fork 130
Marcs mh.private.ini File with Basic Insteon Settings
galiven edited this page Nov 7, 2014
·
2 revisions
The following is a sample mh.private.ini file from Marc Merlin, that includes basic Insteon parameters:
# Copy mh.ini overrides into here. See the top of mh.ini on how # you can move this file to your own directory to make mh upgrades easier @ put this in your init script and/or /etc/profile: @ export mh_parms=/var/local/src/misterhouse/mh.private.ini @ Point to the directory that has the user code files in it @ Notes: @ - $Pgm_Root is the directory that mh is installed in (e.g. x:\misterhouse\mh) @ - code_dir_common points files that would likely be common to all mh uses. @ - code_dir can be a comma delimited set of paths. # You can start mh with the code and data from the tree #code_dir = $Pgm_Root/code/test #data_dir = $Pgm_Root/data # and switch to your own later (it's ok for code to be empty, all you should have in there # is your Insteon config in insteon.mht if applicable). code_dir = /var/local/src/misterhouse/code # while you can start with an empty data dir, you may want to copy the data dir from mh data_dir = /var/local/src/misterhouse/data # you can get lat/lon from http://aa.usno.navy.mil/cgi-bin/aa_pap.pl or google maps latitude = 37.3 longitude = -121.9 time_zone = -8 country = US city = Cupertino state = CA http_port = 8080 #voice_cmd = MS # Voice recognition #voice_text = MS # Voice synthesis # If you have Insteon, it's likely better to enable the X10 support # built in the Insteon PLM via the web interface # Otherwise, if you have a cm11a or firecracker, enable these: #cm11_port = /dev/x10 #cm17_port = /dev/firecracker # Insteon Power Line Modem (not the Powerlinc Controler ("PLC")) # Serial PLMs normally appear in /dev/ttyS0-9 # USB PLMs normally appear in /dev/ttyUSB0-9 Insteon_PLM_serial_port = /dev/insteon @ MisterHouse constantly saves the states (on, off ...) of all devices to a @ file. When MisterHouse is loaded, the previous saved states are restored. @ In addition, the PLM module is designed to interrogate every device at startup @ (not reload) so that the real device state is known and used to @ initialize the state value for each defined Insteon_Device. This causes @ a non-negligable amount of Insteon traffic during startup. @ This scan is likely only necessary if you have MisterHouse off for long periods @ of time during which your devices are changing state. Insteon_PLM_scan_at_startup=1 time_format=24 # I really really want yyyymmdd, but mh does not support that date_format=ddmmyyyy # Various different aspects of MH can be debugged. Additional items are separated # by commas. More verbose debugging of Insteon can be achieved by increasing # debug level. For example the base level is insteon:1 while the current highest # is insteon:4. Specifying insteon without an colon or number equates to # insteon:1. A debug level of 1 for insteon provides a good level of detail # about messages on your network, without being overwhelming. debug=insteon # die screen saver, die! :) Marc really hates the screensaver web_refresh = # Security Settings # The following parameters will disable all listening ports associated with # the various servers embedded within MisterHouse. Most new users will not # need to access these servers and as such it is safest to disable the listening # port. If you intend to use these services, you can disable the following # lines, but be sure that you have taken the appropriate security steps before # doing so. server_telnet_port= server_mhsend_port= xap_disable=1 xpl_disable=1