Sorry, but I can't help you here. I don't have a stargate and I am not
sure if the stargate notifies mh of changes in object state.
Can someone who is familiar with the stargate help Gary?
Matt
Gary Thompson wrote:
> Thanks, Mathew for taking the time to help. Yes, the test.mhp was there.
> I have attached it after I added an x10 light, a SG flag and a SG relay.
> The address seemed to be the key. I looked at a stargate.mht file that
> another user listed and saw how the addresses were supposed to go. I
> have the option of dialing into to the Stargate thru the attached WEBX
> board so I can see in real time what is happen in relation to a MH
> command. When for example I turn on a light with the web interface using
> MH I will see the indication in the WEBX browser. However, when I turn
> on the light using the WEBX MH does not see the change. Is a program
> needed to specifically look for this. Thanks Again,
>
> Gary
> ----- Original Message ----- From: "Matthew Williams"
> <mattrwilliams@...>
> To: <misterhouse-users@...>
> Sent: Saturday, January 29, 2005 1:45 PM
> Subject: Re: [misterhouse-users] MH won't start after adding items
>
>
>> A couple of unusual things here:
>>
>> - the test.mhp is usually generated by mh upon startup based upon the
>> contents of test.mht. More generally speaking, mh creates .mhp files
>> whenever the corresponding .mht file is updated. I noticed that you
>> enclosed test.mht.backup1. Was test.mht not in the code/test
>> directory? By the way, you can see this process taking place in your
>> log "Translating test.mht..."
>> - your test.mhp file doesn't contain any code related to the stargate
>> objects or your X10 item. Are you sure that you enclosed the right
>> test.mhp file?
>> - the test.mht file that you enclosed may be missing some data. I am
>> not very familiar with the Stargate, but the object constructor seems
>> to want an address. This is taken from 2nd parameter in the .mht
>> file. You don't have anything in your stargate entries in the 2nd
>> parameter. Again, this may not be a major problem - perhaps someone
>> more familiar with the stargate can comment.
>>
>> My advice would be to:
>> - stop mister house
>> - remove stargate items from test.mht
>> - delete test.mhp
>> - restart mister house - it will automagically generate test.mhp
>>
>> Hopefully at this point everything should work fine. Next, add the
>> stargate items, this time with addresses, one at a time. Restart
>> mister house after each add. This way, if the stargate items are
>> causing problems, it will be easier to track down the problem.
>>
>> Matt
>>
>> Gary Thompson wrote:
>>
>>> Thanks Matthew, Here they are. The only new x10 device I added was
>>> living_room_lamp.
>>>
>>>
>>> ----- Original Message ----- From: "Matthew Williams"
>>> <mattrwilliams@...>
>>> To: <misterhouse-users@...>
>>> Sent: Saturday, January 29, 2005 11:34 AM
>>> Subject: Re: [misterhouse-users] MH won't start after adding items
>>>
>>>
>>>> Can you please post the contents of your test.mht and test.mhp files
>>>> that are in the code/test directory? It looks like the test.mhp
>>>> file has not been correctly generated.
>>>>
>>>> It is missing the $garage_light = new X10_item line.
>>>>
>>>> Gary Thompson wrote:
>>>>
>>>>> This has happened three time already. Please set me on the right
>>>>> path. MH works fine. today I added thru the web interface, 1 x-10
>>>>> device, one Stargate flag and 1 stargate relay. After that I shut
>>>>> down MH and tried to restart. No go. The only way I can get it
>>>>> working again is to copy over the files and copy my mh.private.in
>>>>> into the mh/bin file. Now I'm back where I started. I'm spinning my
>>>>> wheels. here is my data.
>>>>> Thanks,
>>>>>
>>>>> Gary
>>>>> Read parm files: ./mh.ini ./mh.private.ini
>>>>> Code Directories:
>>>>> - ./../code/test
>>>>> - ./../code/common
>>>>> Loading Windows modules
>>>>> Loading Tk modules Version 800.024
>>>>> Loading other modules
>>>>> Starting setup
>>>>> - using simple Text distance function
>>>>> Creating MS VR object
>>>>> Creating MS TTS object for voice_text=MSV5 ...
>>>>> - Sound card 1: SoundMAX Digital Audio
>>>>> - Sound card 2: Modem #1 Line Playback
>>>>> - Engine used: msv5
>>>>> Creating socket and serial objects
>>>>> - creating http on tcp 81 buffered
>>>>> - creating server_mhsend on tcp 8084 buffered
>>>>> - creating server_telnet on tcp 1234 raw
>>>>> - creating xap_send on udp 3639 send
>>>>> - creating xap_listen on udp 3639 listen
>>>>> - mh in xAP/xPL Hub mode
>>>>> - creating HomeBase object on port com1
>>>>> Process id 3540 written to ./../data/mh.pid
>>>>> Setting up tk window
>>>>> Reading previous log files
>>>>> Archiving previous ./../data/logs/*.log files ....
>>>>> External command file (xcmd_file): ./../house_cmd.txt
>>>>> HTML file : ./../web//ia5/index.shtml
>>>>> Done with setup
>>>>> 01/28/05 06:37:53 PM Re-reading and mh.ini
>>>>> html_alias alias /rrd dir does not exist, dir=./../data/rrd
>>>>> Voice names: Microsoft Mary Microsoft Mike Microsoft Sam
>>>>> Read 4 entries from ./../data/pronouncable_words.list
>>>>> Read 380 codes from ./../data/phone/phone.area_codes.list
>>>>> Read 4 entries from ./../data/phone/phone.caller_id.list
>>>>> 01/28/05 06:37:53 PM Translating test.mht -> ./../code/test/test.mhp
>>>>> 01/28/05 06:37:53 PM Initialized read_table_A.pl
>>>>> Reading code_dirs: ./../code/test ./../code/common
>>>>> 01/28/05 06:37:53 PM Reading 18 code files
>>>>> Duplicate file.
>>>>> - Used: ./../code/test/my_test.pl
>>>>> - Skipped: ./../code/common/my_test.pl
>>>>> File skipped due to -noload: test_x10.pl
>>>>> Removing MS voice items ... 0 voice command were removed
>>>>> 01/28/05 06:37:53 PM Evaluating user code
>>>>> Error in user code file ./../data/mh_temp.user_code
>>>>> 01/28/05 06:37:53 PM: Global symbol "$garage_light" requires
>>>>> explicit package
>>>>> name at (eval 129) line 2144.
>>>>> Line 2139: #
>>>>> Line 2140:
>>>>> Line 2141: # VOICE entries default to [ON,OFF]
>>>>> Line 2142:
>>>>> Line 2143: if ($v_garage_light_state = said $v_garage_light) {
>>>>> Line 2144: set $garage_light $v_garage_light_state;
>>>>> Line 2145: respond "Turning garage light $v_garage_light_state";
>>>>> Line 2146: }
>>>>> Line 2147:
>>>>> Line 2148: if ($v_fountain_state = said $v_fountain) {
>>>>> Line 2149: set $fountain $v_fountain_state;
>>>>> C:\mh\bin>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> -------------------------------------------------------
>>>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>>>> Tool for open source databases. Create drag-&-drop reports. Save time
>>>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>>>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>>>> ________________________________________________________
>>>> To unsubscribe from this list, go to:
>>>> http://sourceforge.net/mail/?group_id=1365
>>>>
>>
>> ______________________________________________________________________
>> Post your free ad now! http://personals.yahoo.ca
>>
>>
>>
>> -------------------------------------------------------
>> This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
>> Tool for open source databases. Create drag-&-drop reports. Save time
>> by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
>> Download a FREE copy at http://www.intelliview.com/go/osdn_nl
>> ________________________________________________________
>> To unsubscribe from this list, go to:
>> http://sourceforge.net/mail/?group_id=1365
|