> Upon investagtion, I suspect the error is somewhere in the middle
> of the file
> named "mh", in the function
> sub process_serial_data {
> ...
>
> # Check for codes All-on All-off
> if ($event_data =~ /^X(\S)([OP])$/) {
> print "X10: House code $1 set to $2\n" if $Debug{x10} or
> $config_parms{x10_errata} >= 3;
> my $state = ($2 eq 'O') ? ON : OFF;
> &X10_Item::set_by_housecode($1, $state);
> return 1;
> }
>
> Note that even at x10_errata to 4, the log does NOT display the
> "print" in the
> above function, but instead something else!
The mistake there was we used print instead of print_log. print goes to the
console, print_log goes to the tk and web print log window. I updated it
there and a few other places to use print_log, to be consistant with the
other x10_errata msgs.
Bruce
|