User`s guide
X10CONFIG(5) X10CONFIG(5)
Example:
CM11A_QUERY_DELAY10#10 millisecond delay
LOCK_TIMEOUT directive
Before a Heyu process can write to the spool file it must first acquire the writefile lock. This directive spec-
ifies howlong a Heyu process will spend trying to acquire the lock before timing out and quitting. Having
anumber of Heyu processes active atthe same time and processes which hog the spool file, e.g., when
sending commands to the CM11, may require increasing this time. The parameter for this directive isthe
time in seconds to spend, with the default being 10 seconds.
Example:
LOCK_TIMEOUT 20
DISPLAY_SENSOR_INTV directive
Setting the parameter of this directive toYES instructs Heyu to append to monitor/logfile entries for an
Oregon or Security sensor the elapsed time interval in hh:mm:ss since the previous transmission from that
sensor.
LOGDATE_UNIX directive
This directive can be used to replace the normal date/time string displayed in the logfile and monitor with
Unix time, i.e., seconds from the 1 Jan 1970 epoch, to millisecond precision. The parameter for this direc-
tive isYES or NO, with the default being NO.
ORE_ID_16 directive.
Setting the parameter of this directive toYES expands the ID code of an Oregon sensor to 16-bit by using
the channel code of the sensor as the upper byte and the normal sensor ID as the lower byte. The default is
NO, to use only the normal sensor ID.
ENGINE_POLL directive
This directive sets the delay in the polling loop of the Heyu Engine and Heyu Monitor daemons. Too lowa
value results in somewhat excessive CPU usage when idle. The value is expressed in microseconds, with
the default being 10000 (= 10 milliseconds). The valid range is 100 to 100000 microseconds.
Example:
ENGINE_POLL 10000
RESTRICT_DIMS directive
The values for dim and bright levels for both Direct and Macro commands is specified in the X10 protocol
as ranging from 1-22, howeverthe field in the binary command can accept a number between 0-31. It is
unknown at this time whether additional dims/brights beyond 210 are actually sent by the CM11A, however
the time for execution of the command is observed to increase approximately proportionately.Setting this
directive toNOallows values between 0 and 31 to be programmed without generating an error message,
while taking the default of YES restricts the range to 1-22. In anyevent, a CM11A receiving Dim or Bright
signals overthe ACpower line neverreports an expanded value greater than 210, which is actually reached
when the programmed levelis19orgreater.(Entering a value of 0 for dim/bright levelfor my CM11As
appears to send the same number of dims/brights as level2,but who knows what yours will do.)
POWERFAIL_UPDATEdirective
When ACpower resumes after an interruption, the CM11A will poll the computer with a constant stream of
requests at one-second intervals for a time update and will accept no other command until the request is sat-
isfied. The Heyu relay by default automatically responds and updates the CM11A clock. The choices for
this directive are either YES or NO, with the default being YES. Choosing NO for this directive instructs
the relay to respond with a truncated update which satisfies the CM11A but doesn´t actually reset the clock.
local 28










