From: Alan W. <arw...@wo...> - 2003-07-08 23:50:43
|
>> Alan, is your polarizing filter between the laser and the KWmeter case or >> is it between the CdS detector and the KWmeter case? Also, if you rotate >> the laser do you notice a difference in the voltage of the CdS when the >> filter is between the CdS and KWmeter (or between the KWmeter and the >> laser)? I guess you are getting lots of scattering of the laser into/out >> of the KWmeter case? I think that a filter between the laser and meter >> would give you a cleaner beam into the meter and through the disk though >> the intensity is likely to be less going into the meter. Also, I am >> wondering if the laser is polarized and therefore the orientation of the >> polarizing filter would have to be set to get maximum intensity through >> the >> laser. I would not be surprised if the CdS cell is not more sensitive to >> light polarized in one direction vs. another relative to its internal >> detector. Perhaps you could put a focusing lens between the laser and >> KWmeter case to reduce the diameter of the beam that strikes the disk (I >> guess the plastic KWmeter case smears out the laser alot?). Thanks for >> the update. -Lincoln answer below >> P.S. I see after reading your note more carefully that you are putting >> the >> filter between the CdS cell and KWmeter? I guess this will reduce the >> introduction of stray light into the CdS cell from ambient light? How >> about a red color filter to drop out the intensity of all light outside >> the >> wavelength of your red laser? -Linc I had considered all of those thoughts myself. Even though of using a dulling spray paint on the surround of the glass to minimize reflections within, that brought to thinking of a narrow pass filter in the 670nm band, but such filters are expensive and hard to come by. My laser beam is a bit too large and not all penetrates the hole. Some additional collumation would be good I think, but at the same time, striking the CDS it is good to have a large beam. The CDs is sensitive to the alignment, I find a diagonal hit from the beam partially down one trace and then onto another produces the best voltage ranges from the Cds. I have a red sensitive transistor that I might try someday as well. My current arrangment is: Laser on bottom of glass shining up meter glass spinning disk with holes meter glass Polarizer filter Scotch tape #5 Deep magenta gel filter (like from B&W contrast filters) a deep well socket (mechanics type) CDs cell black tape to hold CDs wires which hold the alignment and keep daylight out from the top of the socket. I'm quite hopefull with the larger voltage swings, that as a result of another suggesting, I can increase the spread on the voltage differential of the comparitor circuit and that should help with the bounces as well! I'd like to find a deep red B&W filter to replace the magenta gel. The laser appears not to be polarized and not necessary to turn the filter, but perhaps I got lucky and put it in the proper orientation right off the bat! Alan Epson Inkjet Printer FAQ: http://home.att.net/~arwomack01/index.html 24 Days to MH automation: http://alan.firebin.net/24_days.html -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
From: <lin...@ex...> - 2003-07-09 12:23:55
|
Alan, I haven't read all the threads on this topic as closely as I should so forgive me if this has already been mentioned. It seems to me that a relatively simple solution would be to use two CdS cells, positioned that one never sees the illumination source and the original one in its current configuration. Take the CdS outputs into a quad comparator circuit which can give you all the gain you want/need on the output and into your data acquisition system. You may be trying to get a lot of gain out of your single CdS which might make it sensitive to stray illumination. A comparitor circuit will allow you to get good performance all day long even with direct light on the KWmeter because both CdS cells will see that ambient light or stray ambient light but the laser or other illuminator will provide additional energy to the CdS that the reference CdS doesn't see. I don't know what the practical lower limit on rpms is for optical tachometers, but certainly as you turn that water heater on or dryer I bet the KWmeter disk is probably spinning 30rpm or more. -Lincoln Lincoln Foreman URC/Reservoir Characterization/Geologic Modeling 713 431-6303 (office) 713 478-9238 (cell) 713 431-7305 (fax) |---------+-----------------------------> | | Alan Womack | | | <arwbackup@worldne| | | t.att.net> | | | | | | | | | 07/08/03 06:48 PM | | | | |---------+-----------------------------> >------------------------------------------------------------------------------------------------------------------------| | | | To: <lin...@ex...> | | cc: Alan Womack <mis...@li...> | | Subject: re: UPDATE power meter monitor | >------------------------------------------------------------------------------------------------------------------------| >> Alan, is your polarizing filter between the laser and the KWmeter case or >> is it between the CdS detector and the KWmeter case? Also, if you rotate >> the laser do you notice a difference in the voltage of the CdS when the >> filter is between the CdS and KWmeter (or between the KWmeter and the >> laser)? I guess you are getting lots of scattering of the laser into/out >> of the KWmeter case? I think that a filter between the laser and meter >> would give you a cleaner beam into the meter and through the disk though >> the intensity is likely to be less going into the meter. Also, I am >> wondering if the laser is polarized and therefore the orientation of the >> polarizing filter would have to be set to get maximum intensity through >> the >> laser. I would not be surprised if the CdS cell is not more sensitive to >> light polarized in one direction vs. another relative to its internal >> detector. Perhaps you could put a focusing lens between the laser and >> KWmeter case to reduce the diameter of the beam that strikes the disk (I >> guess the plastic KWmeter case smears out the laser alot?). Thanks for >> the update. -Lincoln answer below >> P.S. I see after reading your note more carefully that you are putting >> the >> filter between the CdS cell and KWmeter? I guess this will reduce the >> introduction of stray light into the CdS cell from ambient light? How >> about a red color filter to drop out the intensity of all light outside >> the >> wavelength of your red laser? -Linc I had considered all of those thoughts myself. Even though of using a dulling spray paint on the surround of the glass to minimize reflections within, that brought to thinking of a narrow pass filter in the 670nm band, but such filters are expensive and hard to come by. My laser beam is a bit too large and not all penetrates the hole. Some additional collumation would be good I think, but at the same time, striking the CDS it is good to have a large beam. The CDs is sensitive to the alignment, I find a diagonal hit from the beam partially down one trace and then onto another produces the best voltage ranges from the Cds. I have a red sensitive transistor that I might try someday as well. My current arrangment is: Laser on bottom of glass shining up meter glass spinning disk with holes meter glass Polarizer filter Scotch tape #5 Deep magenta gel filter (like from B&W contrast filters) a deep well socket (mechanics type) CDs cell black tape to hold CDs wires which hold the alignment and keep daylight out from the top of the socket. I'm quite hopefull with the larger voltage swings, that as a result of another suggesting, I can increase the spread on the voltage differential of the comparitor circuit and that should help with the bounces as well! I'd like to find a deep red B&W filter to replace the magenta gel. The laser appears not to be polarized and not necessary to turn the filter, but perhaps I got lucky and put it in the proper orientation right off the bat! Alan Epson Inkjet Printer FAQ: http://home.att.net/~arwomack01/index.html 24 Days to MH automation: http://alan.firebin.net/24_days.html -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. |
From: EB <eb...@se...> - 2003-07-09 16:05:39
|
I'm looking for advice/examples on setting up one MH server to actually have the netcallerID device plugged into it's serial port, while sending this data to a central mh server. What MH modules need to be active? Since I plan on running a basic but fill distro of MH on both sides, I just need to make sure that proxy_server.pl is loaded to enable the functionality I seek (along with the callerid module of course) The examples in the docs says "On your main mh box, change your mh.ini port parms to point to the address:port of the proxy box, like this: cm11_port = proxy localhost:8085 " So I assume to setup a proxy netcallerid interface you would do Serial_netcallerid_port = proxy servername:port Instead of: serial_netcallerid_port = /dev/ttyS0 serial_netcallerid_baudrate = 4800 I have yet to hit a combination of this that worked.... Any thoughts or suggestions welcomed. Edward Brookhouse eb...@se... |
From: Bruce W. <br...@mi...> - 2003-07-21 02:06:51
|
> I'm looking for advice/examples on setting up one MH server to actually > have the netcallerID device plugged into it's serial port, while sending > this data to a central mh server. What MH modules need to be active? > Since I plan on running a basic but fill distro of MH on both sides, I > just need to make sure that proxy_server.pl is loaded to enable the > functionality I seek (along with the callerid module of course) > > The examples in the docs says "On your main mh box, change your mh.ini > port parms to point to the address:port of the proxy box, like this: > > cm11_port = proxy localhost:8085 > > " > > So I assume to setup a proxy netcallerid interface you would do > > > Serial_netcallerid_port = proxy servername:port > > Instead of: > > serial_netcallerid_port = /dev/ttyS0 > serial_netcallerid_baudrate = 4800 > > > I have yet to hit a combination of this that worked.... > > Any thoughts or suggestions welcomed. > > Edward Brookhouse Which callerid code are you using? I have not tried it here (plenty of ports on my mh box and the callerid monitoring does not slow down the main mh, so no need for a proxy), but it should work. I might have tried it quite a while back when implementing the proxy code. If you are using common/callerid.pl, you would need that enabled on both the main and proxy mh boxes. Same if you are using the older public/NetCalleID.pl code. Bruce |
From: EB <eb...@se...> - 2003-07-29 21:57:17
|
Hi all, I switched to callerid.pl from netcallerid.pl and the proxy works with: (include code/proxy) callerid_port=/dev/ttyS0 callerid_name=line 2 caller_id_format= 4 callerid_type=netcallerid local_area_code=703 caller_id_file = $Pgm_Root/data/phone/phone.caller_id.list area_code_file = $Pgm_Root/data/phone/phone.area_codes.list state_file = $Pgm_Root/data/states.list caller_id_reject_file = At the other end: (include code/proxy) callerid_port = proxy 192.168.0.22:8085 callerid_name = line 2 callerid_baudrate=4800 callerid_type= netcallerid callerid_format=4 The format is a bit off when you see the debug output, but shows up nicely (if not a little truncated) in the web page. If I just add server_proxy_port=8085 on both servers, and enable make sure code/proxy is enabled, is there anything else to stop "proxy can not talk to misterhouse" TIA Edward Which callerid code are you using? I have not tried it here (plenty of ports on my mh box and the callerid monitoring does not slow down the main mh, so no need for a proxy), but it should work. I might have tried it quite a while back when implementing the proxy code. If you are using common/callerid.pl, you would need that enabled on both the main and proxy mh boxes. Same if you are using the older public/NetCalleID.pl code. Bruce ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
From: EB <eb...@se...> - 2003-07-29 23:08:42
|
This is a tale of setting up callerid/netcallerid/proxynetcallerid when I get done I'll toss it into the faq o matic .. To be able to do two lines I added to mh.private.ini callerid2_port=/dev/ttyS1 callerid2_name=line 1 callerid2_type=netcallerid callerid2_format=4 and callerid2_port = proxy 192.168.0.22:8085 callerid2_name = line 1 callerid2_baudrate=4800 callerid2_type=netcallerid callerid2_format=4 Callerid data gets proxied beautifully, voice et al, but I still hear proxy can not talk to misterhouse...... -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of EB Sent: Tuesday, July 29, 2003 6:00 PM To: mis...@li... Cc: 'Bruce Winter' Subject: RE: [misterhouse-users] Proxy net callerid Hi all, I switched to callerid.pl from netcallerid.pl and the proxy works with in mh.ini (include code/proxy) callerid_port=/dev/ttyS0 callerid_name=line 2 caller_id_format= 4 callerid_type=netcallerid local_area_code=703 caller_id_file = $Pgm_Root/data/phone/phone.caller_id.list area_code_file = $Pgm_Root/data/phone/phone.area_codes.list state_file = $Pgm_Root/data/states.list caller_id_reject_file = At the other end: (include code/proxy) callerid_port = proxy 192.168.0.22:8085 callerid_name = line 2 callerid_baudrate=4800 callerid_type= netcallerid callerid_format=4 The format is a bit off when you see the debug output, but shows up nicely (if not a little truncated) in the web page. If I just add server_proxy_port=8085 on both servers, and enable make sure code/proxy is enabled, is there anything else to stop "proxy can not talk to misterhouse" TIA Edward Which callerid code are you using? I have not tried it here (plenty of ports on my mh box and the callerid monitoring does not slow down the main mh, so no need for a proxy), but it should work. I might have tried it quite a while back when implementing the proxy code. If you are using common/callerid.pl, you would need that enabled on both the main and proxy mh boxes. Same if you are using the older public/NetCalleID.pl code. Bruce ------------------------------------------------------- This SF.net email is sponsored by: VM Ware With VMware you can run multiple operating systems on a single machine. WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines at the same time. Free trial click here: http://www.vmware.com/wl/offer/345/0 ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
From: Steve S. <st...@sw...> - 2003-07-30 01:02:53
|
Bruce and Jason, please jump in if I am wrong, as I plan on proxying more items soon... It is my understanding that the Proxy connections simply act like a remote serial port. To describe this, all ASCII data sent to the proxy port, is simply echoed by the proxy to the real serial port on the proxy machine. The reverse is also true... anything heard from the serial port by the proxy is sent to each connected MH machine, with the name of the port attached to the data. None of the processing of data is done at the proxy on behalf of the connected MH instances. If the above it true, then you should have the area code configuration, state list, callerid file, etc on the main MH box. The proxy would only need a serial port defined, and proxy_server.pl loaded. The CallerID lookups may be done on the proxy at the same time, should you wish to load all the appropriate modules on BOTH computers. However, your main machine is what needs to have all modules loaded, or you will not hear any callerid announcements. If your main MH machine does not have the callerid port setup and the appropriate common code activated, then it will do nothing but see the data, and not know how to process it. While it is possible to generate a string of text, then sending it to a remote box for actual speaking, this is not the nature of the proxied serial ports, like the netcallerid uses. The processing and the speach are all generated by the main MH box while the proxy is simply a "middleman" that tells the main MH box whatever the netcallerid "says". I believe all of the above statements to be correct, as it makes complete sense to me. If they are not, please correct me, so I can avoid future embarassments. :) If they are, I hope this helps clarify the proxy operation for others that may not understand it completely. As with anything else, a complete understnading of the operation can go a long way for helping you to get it working. Regards, Steve ----- Original Message ----- From: "EB" <eb...@se...> To: <mis...@li...> Cc: "'Bruce Winter'" <br...@mi...> Sent: Tuesday, July 29, 2003 6:00 PM Subject: RE: [misterhouse-users] Proxy net callerid > > Hi all, I switched to callerid.pl from netcallerid.pl and the proxy > works with: > > (include code/proxy) > > callerid_port=/dev/ttyS0 > callerid_name=line 2 > caller_id_format= 4 > callerid_type=netcallerid > local_area_code=703 > caller_id_file = $Pgm_Root/data/phone/phone.caller_id.list > area_code_file = $Pgm_Root/data/phone/phone.area_codes.list > state_file = $Pgm_Root/data/states.list > caller_id_reject_file = > > > At the other end: > > (include code/proxy) > callerid_port = proxy 192.168.0.22:8085 > callerid_name = line 2 > callerid_baudrate=4800 > callerid_type= netcallerid > callerid_format=4 > > > > The format is a bit off when you see the debug output, but shows up > nicely (if not a little truncated) in the web page. > > If I just add server_proxy_port=8085 on both servers, and enable make > sure code/proxy is enabled, is there anything else to stop "proxy can > not talk to misterhouse" |
From: Bruce W. <br...@mi...> - 2003-07-30 03:53:01
|
> Bruce and Jason, please jump in if I am wrong, as I plan on proxying more > items soon... > > It is my understanding that the Proxy connections simply act like a > remote serial port. To describe this, all ASCII data sent to the > proxy port, > is simply echoed by the proxy to the real serial port on the > proxy machine. > The reverse is also true... anything heard from the serial port > by the proxy > is sent to each connected MH machine, with the name of the port > attached to > the data. None of the processing of data is done at the proxy on behalf of > the connected MH instances. Yep, you got it exactly right. If you DID want speech on the proxy box for some reason (e.g. you wanted to use it's soundcard and speakers), you would still generate the text to speak on the main mh box, then send it to the proxy by running something like code/bruce/speak_proxy and use the the speak address= or room= option. Bruce |
From: Bruce W. <br...@mi...> - 2003-07-30 04:13:32
|
> If I just add server_proxy_port=8085 on both servers, and enable make > sure code/proxy is enabled, is there anything else to stop "proxy can > not talk to misterhouse" > > TIA > > Edward Does the 'can not talk to misterhouse' message come from the main mh, the proxy mh, or both? You do not want to run code/proxy/proxy_server.pl on your main mh, only run that on the proxy box(es). It is the code with the 'can not talk to misterhouse' warning. Bruce |
From: EB <eb...@se...> - 2003-07-30 12:48:52
|
The message was coming from the main and the proxy mh. I turned off the proxy code on the main, restarted and now just the proxy says it. What is the usage of the variables you mention? speak address= or room= option Is this what everyone is using to proxy speech? If I define something like speak_serverroom_port = proxy 192.168.0.22:8085 and enable speak_proxy.pl I get the following when I try to start the main mh. Any thoughts on what I am missing? The errors are typical of missing a module, but which? Command: mh -log_file /var/log/mh -debug 1,X10,serial,socket,startup,homebase,misc,http,port_name,proxy,phone Pgm path : . Pgm version: 2.82 Last updated: Sun Jul 6 13:49:42 2003 Perl version: 5.008 OS version: linux linux Other : user=root pid=27439 box=brick.setuidzero.org cpu=- Output will be logged into /var/log/mh tail: /var/log/mh: file truncated Starting setup Loading DNS code ... DNS set to 192.168.0.21 Creating festival TTS socket on localhost:1314 Data sent to festival: (Parameter.set 'Audio_Method 'Audio_Command)(Parameter.set 'Audio_Required_Rate 16000)(Parameter.set 'Audio_Required_Format 'au)(Parameter.set 'Audio_Command "esdplay $FILE") Creating socket and serial objects - creating http on tcp 8080 buffered - creating server_mhsend on tcp 8084 buffered - creating server_router on udp 8080 raw - creating server_telnet on tcp 1234 raw - creating callerid proxy on 192.168.0.22:8085 - creating callerid2 proxy on 192.168.0.22:8085 - creating speak_serverroom proxy on 192.168.0.22:8085 - creating cm11 object on port /dev/ttyS0 Enabling DBI database: DBI:mysql:mh:localhost:3306 Process id 27439 written to ./../data/mh.pid Reading previous log files Archiving previous ./../data/logs/*.log files .... External command file (xcmd_file): ./../house_cmd.txt HTML file : ./../web//ia5/index.shtml Warning: password_file ./../data/.password not found. Run mh/bin/set_password Read in 10 items from ./../data/password_allow Read in 1 commands from from ./../data/disabled_commands Done with setup 07/30/03 08:43:50 AM Re-reading and mh.ini Voice names: female male1 male2 male3 Read 6 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 07/30/03 08:43:50 AM Translating test.mht -> ./../code/test/test.mhp 07/30/03 08:43:50 AM Initialized read_table_A.pl 07/30/03 08:43:50 AM Translating test_x10.mht -> ./../code/test/test_x10.mhp 07/30/03 08:43:50 AM Initialized read_table_A.pl Reading code_dirs: ./../code/test /usr/local/mh/code/ebroo ./../code/common 07/30/03 08:43:50 AM Reading 36 code files 07/30/03 08:43:50 AM Evaluating user code Error in user code file ./../data/mh_temp.user_code 07/30/03 08:43:50 AM: Global symbol "$key" requires explicit package name at (eval 482) line 3397. Global symbol "$key" requires explicit package name at (eval 482) line 3400. Global symbol "$key" requires explicit package name at (eval 482) line 3405. BEGIN not safe after errors--compilation aborted at (eval 482) line 3427. Line 3392: return unless $parms{text} or $parms{file}; Line 3393: Line 3394: # We have a proxyip (e.g. common/mhsend_server.pl), so find our system to send to. Line 3395: if ($parms{proxyip}) Line 3396: { Line 3397: foreach $key (%proxy_by_room) Line 3398: { Line 3399: #should be smarter about this, but for now... Line 3400: if ($proxy_by_room{$key} eq $parms{proxyip} . ':8085') Line 3401: { Line 3402: #Figure out how to override or keep an existing -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of Bruce Winter Sent: Tuesday, July 29, 2003 11:53 PM To: mis...@li... Subject: RE: [misterhouse-users] Proxy net callerid > If I just add server_proxy_port=8085 on both servers, and enable make > sure code/proxy is enabled, is there anything else to stop "proxy can > not talk to misterhouse" > > TIA > > Edward Does the 'can not talk to misterhouse' message come from the main mh, the proxy mh, or both? You do not want to run code/proxy/proxy_server.pl on your main mh, only run that on the proxy box(es). It is the code with the 'can not talk to misterhouse' warning. Bruce ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
From: EB <eb...@se...> - 2003-07-30 22:38:02
|
Un-including the proxy code on the main fixed my proxy could not talk to mh - still looking for the usage of the speak address= or room= ..Anyone :) Thanks all Edward -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of EB Sent: Wednesday, July 30, 2003 8:44 AM To: mis...@li... Subject: RE: [misterhouse-users] Proxy net callerid The message was coming from the main and the proxy mh. I turned off the proxy code on the main, restarted and now just the proxy says it. What is the usage of the variables you mention? speak address= or room= option Is this what everyone is using to proxy speech? If I define something like speak_serverroom_port = proxy 192.168.0.22:8085 and enable speak_proxy.pl I get the following when I try to start the main mh. Any thoughts on what I am missing? The errors are typical of missing a module, but which? Command: mh -log_file /var/log/mh -debug 1,X10,serial,socket,startup,homebase,misc,http,port_name,proxy,phone Pgm path : . Pgm version: 2.82 Last updated: Sun Jul 6 13:49:42 2003 Perl version: 5.008 OS version: linux linux Other : user=root pid=27439 box=brick.setuidzero.org cpu=- Output will be logged into /var/log/mh tail: /var/log/mh: file truncated Starting setup Loading DNS code ... DNS set to 192.168.0.21 Creating festival TTS socket on localhost:1314 Data sent to festival: (Parameter.set 'Audio_Method 'Audio_Command)(Parameter.set 'Audio_Required_Rate 16000)(Parameter.set 'Audio_Required_Format 'au)(Parameter.set 'Audio_Command "esdplay $FILE") Creating socket and serial objects - creating http on tcp 8080 buffered - creating server_mhsend on tcp 8084 buffered - creating server_router on udp 8080 raw - creating server_telnet on tcp 1234 raw - creating callerid proxy on 192.168.0.22:8085 - creating callerid2 proxy on 192.168.0.22:8085 - creating speak_serverroom proxy on 192.168.0.22:8085 - creating cm11 object on port /dev/ttyS0 Enabling DBI database: DBI:mysql:mh:localhost:3306 Process id 27439 written to ./../data/mh.pid Reading previous log files Archiving previous ./../data/logs/*.log files .... External command file (xcmd_file): ./../house_cmd.txt HTML file : ./../web//ia5/index.shtml Warning: password_file ./../data/.password not found. Run mh/bin/set_password Read in 10 items from ./../data/password_allow Read in 1 commands from from ./../data/disabled_commands Done with setup 07/30/03 08:43:50 AM Re-reading and mh.ini Voice names: female male1 male2 male3 Read 6 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 07/30/03 08:43:50 AM Translating test.mht -> ./../code/test/test.mhp 07/30/03 08:43:50 AM Initialized read_table_A.pl 07/30/03 08:43:50 AM Translating test_x10.mht -> ./../code/test/test_x10.mhp 07/30/03 08:43:50 AM Initialized read_table_A.pl Reading code_dirs: ./../code/test /usr/local/mh/code/ebroo ./../code/common 07/30/03 08:43:50 AM Reading 36 code files 07/30/03 08:43:50 AM Evaluating user code Error in user code file ./../data/mh_temp.user_code 07/30/03 08:43:50 AM: Global symbol "$key" requires explicit package name at (eval 482) line 3397. Global symbol "$key" requires explicit package name at (eval 482) line 3400. Global symbol "$key" requires explicit package name at (eval 482) line 3405. BEGIN not safe after errors--compilation aborted at (eval 482) line 3427. Line 3392: return unless $parms{text} or $parms{file}; Line 3393: Line 3394: # We have a proxyip (e.g. common/mhsend_server.pl), so find our system to send to. Line 3395: if ($parms{proxyip}) Line 3396: { Line 3397: foreach $key (%proxy_by_room) Line 3398: { Line 3399: #should be smarter about this, but for now... Line 3400: if ($proxy_by_room{$key} eq $parms{proxyip} . ':8085') Line 3401: { Line 3402: #Figure out how to override or keep an existing -----Original Message----- From: mis...@li... [mailto:mis...@li...] On Behalf Of Bruce Winter Sent: Tuesday, July 29, 2003 11:53 PM To: mis...@li... Subject: RE: [misterhouse-users] Proxy net callerid > If I just add server_proxy_port=8085 on both servers, and enable make > sure code/proxy is enabled, is there anything else to stop "proxy can > not talk to misterhouse" > > TIA > > Edward Does the 'can not talk to misterhouse' message come from the main mh, the proxy mh, or both? You do not want to run code/proxy/proxy_server.pl on your main mh, only run that on the proxy box(es). It is the code with the 'can not talk to misterhouse' warning. Bruce ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01 /01 ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
From: Sean W. <li...@su...> - 2003-07-30 23:31:27
|
EB wrote: >Un-including the proxy code on the main fixed my proxy could not talk to >mh - still looking for the usage of the speak address= or room= ..Anyone >:) > >Thanks all > >Edward > > This will work: speak "room=somedefinedroom Hello world"; You can also play around with the parameters like a snip from code/common: my $msg = "Notice, just received news item: $subject.\n $body"; speak rooms => 'all', text => substr $msg, 0, 200; Oh, room==rooms. Not really any different. The code actually combines the two. Also look at the respond function when you get around to it. Very good sets of examples are in mh/code/common -- Sean Walker http://sean.surfmy.net/ |
From: Bruce W. <br...@mi...> - 2003-08-01 04:49:25
|
> I get the following when I try to start the main mh. Any thoughts on > what I am missing? The errors are typical of missing a module, but > which? > ... > 07/30/03 08:43:50 AM: Global symbol "$key" requires explicit package > name at (eval 482) line 3397. > Global symbol "$key" requires explicit package name at (eval 482) line > 3400. > Global symbol "$key" requires explicit package name at (eval 482) line > 3405. > BEGIN not safe after errors--compilation aborted at (eval 482) line > 3427. > Line 3392: return unless $parms{text} or $parms{file}; > Line 3393: > Line 3394: # We have a proxyip (e.g. common/mhsend_server.pl), so > find our system to send to. > Line 3395: if ($parms{proxyip}) > Line 3396: { > Line 3397: foreach $key (%proxy_by_room) Looks like that common/speak_proxy.pl code had an error (I'll fix it). We need to declare $key. Either this: my $key; for $key (%proxy_by_room) or this: for my $key (%proxy_by_room) Note also you can use for instead of foreach to save a bit of typing. Bruce |