The UK Home Automation Archive

Archive Home
Group Home
Search Archive


Advanced Search

The UKHA-ARCHIVE IS CEASING OPERATIONS 31 DEC 2024


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CM11 "power failure"?


  • To: ukha_d@xxxxxxx
  • Subject: CM11 "power failure"?
  • From: Bruno Prior <bruno@xxxxxxx>
  • Date: Thu, 12 Dec 2002 01:11:29 +0000
  • Mailing-list: list ukha_d@xxxxxxx; contact ukha_d-owner@xxxxxxx
  • Reply-to: ukha_d@xxxxxxx

I'm trying to take my first steps with computer control of X10. The CM11
is connected to the serial port via a serial extension lead, because of
a shortage of power sockets near the computer. When I try to communicate
with the CM11, using either Misterhouse or Heyu, I am getting similar
messages that the CM11 has experienced a power failure and requested a
time update. It also claims that the battery has been used for 42,405
minutes and needed replacing. I have replaced the batteries with new
ones and still get this message.

I can't find anything about this sort of error on the web. I am
wondering whether it could be due to:

(a) me not realising I have to do something basic to initialise the CM11
or get it talking to the computer,

(b) the communication getting scrambled by the serial extension cable, or

(c) a broken CM11?

I've asked about (b) before, and been told not, but I thought I'd
mention it again in case it has a bearing.

Has anyone seen this sort of error message before, or got a clue what
might cause it?

Cheers,

Bruno


--------------

Output of "heyu info":

Module experienced a power failure. It requested a time update.
Battery has been used  42405 minutes.  It should be replaced soon.
Firmware revision Level = 5
Interface clock: Error, 332:45:165, Julian 421
Housecode = d
0 = off, 1 = on,               unit  16.......8...4..1
Last addressed device =       0xa5a5 (0011001111001100)
Status of monitored devices = 0xa5a5 (0011001111001100)
Status of dimmed devices =    0xa5a5 (0011001111001100)


---------------

Output of "mhl -tk 0":

Deleting startup file
Running mh

Command: mh -tk 0
Pgm  path   : /usr/local/mh/bin
Pgm  version: 2.73      Last updated: Sun Nov 10 04:51:04 2002
Perl version: 5.008
OS   version: linux linux
Other       : user=xxxxx pid=1234 box=box.on.my.domain cpu=-

Reading parm files: ./mh.ini ./mh.private.ini
Code Directories:
  - ./../code/test
  - ./../code/common
Loading other modules
Starting setup
Creating socket and serial objects
  - creating http            on tcp  8080 buffered
  - creating server_mhsend   on tcp  8084 buffered
  - creating server_telnet   on tcp  1234
  - creating Ibutton         object on port /dev/ttyS1
  - creating cm11            object on port /dev/ttyS0
Reseting time with: Thu Dec 12 02:08:53 2002

power_reset: 9b 35 08 01 59 90 67
   sent 7 bytes
   checksum = 0
Process id 7324 written to ./../data/mh.pid
External command file (xcmd_file): ./../house_cmd.txt
HTML file     : ./../web/ia5
Reading password from ./../data/.password
Read in 8 items from ./../data/password_allow
Read in 1 commands from from ./../data/disabled_commands
Done with setup

12/12/02 02:08:53 AM Re-reading  and mh.ini
12/12/02 02:08:53 AM Translating test_x10.mht -> ./../code/test/test_x10.mhp
12/12/02 02:08:53 AM Initialized read_table_A.pl
12/12/02 02:08:53 AM Reading 53 code files
12/12/02 02:08:53 AM Evaluating user code

Good code saved
running: play ./../sounds/sound_click1.wav
Restoring object states
Object states restored
Activate the voice commands
Starting monitor commands loop

Latitude: 51.32,  Longitude: 0.44,  Time Zone: 1
sunrise=8:53 AM sunset=4:50 PM
sunrise twilight=8:14 AM sunset twilight=5:30 PM
The moon is Half Waxing, 54% bright, and 7 days old
The next full moon is on Thursday, December 19th
Read 256 codes from ./../data/phone/phone.area_codes.list
Read 3 entries from ./../data/phone/phone.caller_id.list
Read 6 entries from ./../data/pronouncable_words.list
Voice names: Microsoft Mary Microsoft Mike Microsoft Sam
Reading alarm clock data (Thu, Dec 12  2:08 AM):
  - 0 10-21 * * *              rooms=all It is now $Time_Now
  - 5/27/98 8:15 AM            Remember dentist appointment!
  - 12/25 10 am                Ho, Ho, Ho, Merry Christmas
  - 0 10,14,18,22    25 12 *  Ho, Ho, Ho, Merry Christmas
  - 0 10,12,14,18,22 1  1 *   Happy, happy, new year one and all
  - 0 9,13,20    31,1 12,1 *  Yearly notice: Write down car mileage
  - 30 8,13,20 1,7 1,4,6,9 *  Tax notice: Send in estimated tax payment.
   7 alarms set.
12/12/02 02:08:59 AM Rereading menu code
Warning, could not open file_read file ./../code/test/main2.menu: No
such file or directory
Error, serial port for serial_modem has not been set:
data="ATE1V1X4&C1&D2S0=0+VCID=1 12/12/02 02:08:59 AM Caller ID Interface has been Initialized...
12/12/02 02:08:59 AM Read 0 trigger entries
12/12/02 02:09:01 AM: Saving object states ... done
12/12/02 02:09:01 AM It is  2:09 AM on Thursday, December 12th.
normal: It is  2:09 AM on Thu, Dec 12.
testing port  ...
12/12/02 02:09:01 AM Oops2: can't open device:
  at ../lib/Serial_Item.pm line 74

  not available
normal: A miser is hard to live with, but makes a fine ancestor.

CM11 power fail detected.  Resetting the CM11 clock withReseting time
with: Thu Dec 12 02:09:05 2002

power_reset: 9b 05 09 01 59 90 67
   sent 7 bytes
   checksum = 0
12/12/02 02:09:05 AM CM11 power reset detected
normal: Power has been restored
display call with -tk 0.  Text=time 0 text Detected a power reset

CM11 power fail detected.  Resetting the CM11 clock withReseting time
with: Thu Dec 12 02:09:15 2002

power_reset: 9b 0f 09 01 59 90 67
   sent 7 bytes
   checksum = 0
12/12/02 02:09:15 AM CM11 power reset detected
normal: Power has been restored
display call with -tk 0.  Text=time 0 text Detected a power reset
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=106 cs2=.  Will retry
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=106 cs2=.  Will retry
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=106 cs2=.  Will retry
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=106 cs2=.  Will retry
Bad cm11 acknowledge send transmition
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=104 cs2=.  Will retry
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=104 cs2=.  Will retry
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=104 cs2=.  Will retry
Bad cm11 data send transmition
Bad checksum in cm11 send: cs1=104 cs2=.  Will retry
Bad cm11 acknowledge send transmition
12/12/02 02:09:30 AM Light set to on
running: play ./../sounds/sound_nature/bird1.wav
12/12/02 02:09:30 AM mh paused for 20 seconds (v=66)
Exit flag set in sig_handler
Exiting program: normal
12/12/02 02:09:57 AM: Saving object states ... done
Bye Bye
mh rc=1
mh exited normally




http://www.automatedhome.co.uk
Post message: ukha_d@xxxxxxx
Subscribe:  ukha_d-subscribe@xxxxxxx
Unsubscribe:  ukha_d-unsubscribe@xxxxxxx
List owner:  ukha_d-owner@xxxxxxx
List of UKHA Groups here - http://groups.yahoo.com/group/UKHA_Grouplists/


Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.

Home | Main Index | Thread Index

Comments to the Webmaster are always welcomed, please use this contact form . Note that as this site is a mailing list archive, the Webmaster has no control over the contents of the messages. Comments about message content should be directed to the relevant mailing list.