|
View:
New views
12 Messages
—
Rating Filter:
Alert me
|
|
|
MisterHouse support for CM15Pro (CM15A)Hi to everyone!
My name is Mario Markovic. I am from Rijeka (Croatia) and I am studying electrical engineering at the Faculty of Engineering, University of Rijeka. I am currently working on my diploma-thesis which topic is X10 protocol and everything that goes with it. Very important part of my thesis is enabling X10 CM15Pro (CM15A) Computer Interface to work under Linux (Ubuntu). So far I managed to install some drivers and turn on/off lights with small Perl script. Now I want to make MisterHouse to work with CM15Pro. But, here is where I've encountered on a problem. So, how do implement CM15Pro (CM15A) support for MisterHouse? So far I tried to follow instructions from this link http://misterhouse.wikispaces.com/X10-CM15A but with no success. Thanks in advance for Your answers. Best regards, Mario Markovic ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)On Sun, Oct 25, 2009 at 02:52:39PM +0100, Mario Markovic wrote:
> Hi to everyone! > > My name is Mario Markovic. I am from Rijeka (Croatia) and I am studying > electrical engineering at the Faculty of Engineering, University of > Rijeka. I am currently working on my diploma-thesis which topic is X10 > protocol and everything that goes with it. > > > Very important part of my thesis is enabling X10 CM15Pro (CM15A) Computer > Interface to work under Linux (Ubuntu). So far I managed to install some > drivers and turn on/off lights with small Perl script. Now I want to make > MisterHouse to work with CM15Pro. But, here is where I've encountered on a > problem. So, how do implement CM15Pro (CM15A) support for MisterHouse? > > So far I tried to follow instructions from this link > http://misterhouse.wikispaces.com/X10-CM15A > but with no success. > > Thanks in advance for Your answers. Please don't take this the wrong way, but you first must learn how to ask questions in a way that makes it likely that you're going to get an answer, especially if you add the latency of Email. Let me explain: "Hi, I just installed misterhouse and it doesn't work. Please let me know what's wrong with it." In other words, put yourself in the shoes of the person who's going to try to help you when you ask a question if you're hoping for an answer :) Read this, carefully: http://catb.org/~esr/faqs/smart-questions.html putting aside http://catb.org/~esr/faqs/smart-questions.html#homework if you show you did enough work when asking your question :) Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)> On Sun, Oct 25, 2009 at 02:52:39PM +0100, Mario Markovic wrote:
>> Hi to everyone! >> >> My name is Mario Markovic. I am from Rijeka (Croatia) and I am studying >> electrical engineering at the Faculty of Engineering, University of >> Rijeka. I am currently working on my diploma-thesis which topic is X10 >> protocol and everything that goes with it. >> >> >> Very important part of my thesis is enabling X10 CM15Pro (CM15A) >> Computer >> Interface to work under Linux (Ubuntu). So far I managed to install some >> drivers and turn on/off lights with small Perl script. Now I want to >> make >> MisterHouse to work with CM15Pro. But, here is where I've encountered on >> a >> problem. So, how do implement CM15Pro (CM15A) support for MisterHouse? >> >> So far I tried to follow instructions from this link >> http://misterhouse.wikispaces.com/X10-CM15A >> but with no success. >> >> Thanks in advance for Your answers. > > Please don't take this the wrong way, but you first must learn how to ask > questions in a way that makes it likely that you're going to get an > answer, > especially if you add the latency of Email. > > Let me explain: > "Hi, I just installed misterhouse and it doesn't work. Please let me know > what's wrong with it." > > In other words, put yourself in the shoes of the person who's going to try > to help you when you ask a question if you're hoping for an answer :) > > Read this, carefully: > http://catb.org/~esr/faqs/smart-questions.html > > putting aside http://catb.org/~esr/faqs/smart-questions.html#homework > if you show you did enough work when asking your question :) > > Marc > -- > "A mouse is a device used to point at the xterm you want to type in" - > A.S.R. > Microsoft is to operating systems & security .... > .... what McDonalds is to gourmet > cooking > Home page: http://marc.merlins.org/ > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > Thanks for the advices. The thing is that I successfully installed MH (at least I think I did). Then I followed instructions from http://misterhouse.wikispaces.com/X10-CM15A but with no result. First, I can't open http://localhost:8080 (I tried to change the port, it didn't help). I found out that I can access MH web menu by typing my IP address. But, I get two new lines (commands) in the blue window of MH (not in web browser) that state "turn test cm15a lights on" and "turn test cm15a lights off" but nothing happens when I run them. Everything that came up in Terminal window since running MH till issuing upper commands You can find in the attachment. Thanks in advance. Command: mh Pgm path : . Pgm version: mh 2.105 Last updated: Mon Oct 13 18:51:50 2008 Perl version: 5.008008 OS version: linux linux Other : user=student pid=5627 box= cpu=- This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Read parameter files: ./mh.ini ./mh.private.ini ******************************************************************************** Warning, you should create your own data directory outside of the main distribution directory and point data_dir to it. Otherwise, you may lose your customizations on upgrades. The best way to accomplish this is to copy the entire contents of the standard data directory into a new directory. ******************************************************************************** Debugging for x10 turned on Code Directories: - ./../code/test - /home/student/Desktop/mh/code - ./../code/common User Lib Directory: /home/student/Desktop/mh/lib Audio::Mixer not installed ... volume control is disabled Error in use GD: Can't locate GD.pm in @INC (@INC contains: /home/student/Desktop/mh/lib ./../code/test /home/student/Desktop/mh/code ./../code/common ./../lib ./../lib/site . /etc/perl /usr/local/lib/perl/5.8.8 /usr/local/share/perl/5.8.8 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl .) at (eval 407) line 2. BEGIN failed--compilation aborted at (eval 407) line 2. To disable this error, set mh.ini parm gd=0 Loading Tk modules Version 804.027 Loading other modules Starting setup - using simple Text distance function - reading previous log files - archiving previous ./../data/logs/*.log files .... - read 1 trigger entries - creating http on tcp 8080 buffered - creating server mhsend on tcp 8084 buffered - creating server telnet on tcp 1234 raw - creating xap_send on udp 3639 send - creating xap_hub_listen on udp 3639 listen - mh in xAP Hub mode Error: Could not start a udp xAP send server on 65535: IO::Socket::INET: Bad hostname 'localhost' - creating xap_listen_core on udp listen Notice. xAP socket (xap_listen_core) had been closed and has been reopened - creating xpl_send on udp 3865 send - creating xpl_listen on udp 49152 listen - creating xpl_hub_listen on udp 3865 listen - mh in xPL Hub mode - creating xpl_send_49152 on udp 49152 send - creating generic device cm15a on /dev/usb/cm15a0 10/27/09 10:19:27 AM Can't open generic device cm15a: /dev/usb/cm15a0: No such file or directory - process id 5627 written to ./../data/mh.pid - setting up main window - 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 Done with setup 10/27/09 10:19:27 AM Reading mh.private.ini and mh.ini html_alias alias /rrd dir does not exist, dir=./../data/rrd html_alias alias /user_code dir does not exist, dir=./../code/test,/home/student/Desktop/mh/code Voice names: Microsoft Mary, Microsoft Mike, Microsoft Sam Read 4 entries from ./../data/pronouncable_words.list 10/27/09 10:19:27 AM Reading 1 .mht table files: test.mht 10/27/09 10:19:27 AM Translating test.mht -> ./../code/test/test.mhp 10/27/09 10:19:27 AM Initialized read_table_A.pl Reading code_dirs: ./../code/test /home/student/Desktop/mh/code ./../code/common 10/27/09 10:19:27 AM Reading 18 code files 10/27/09 10:19:27 AM Evaluating user code Warning: Dummy_Interface #0: Creating dummy interface for id=A1, state= and interface=. Warning: Dummy_Interface #1: Creating dummy interface for id=B1, state= and interface=. Warning: Dummy_Interface #2: Creating dummy interface for id=B2, state= and interface=. Warning: Dummy_Interface #3: Creating dummy interface for id=C1, state= and interface=. Warning: Dummy_Interface #4: Creating dummy interface for id=C1, state= and interface=. Warning: Dummy_Interface #5: Creating dummy interface for id=D1, state= and interface=. Warning: Dummy_Interface #6: Creating dummy interface for id=D2, state= and interface=. Good code saved Restoring object states Object states restored Activating voice commands Starting monitor commands loop Latitude: 44.0817, Longitude: -92.5038, Time Zone: -6 sunrise=6:40 AM sunset=5:07 PM sunrise twilight=6:10 AM sunset twilight=5:37 PM The moon is Half Waxing, 63% bright, and 8 days old The next full moon is on Wednesday, December 2nd Creating Frames Creating Items menu Creating Groups menu Setting geometry to +0+0 Creating Modules Menu Creating Toolbar 10/27/09 10:25:00 AM: Saving object states ... done Warning: Dummy_Interface #1: trying to set state off Socket_Item client start error: could not start a tcp client socket - host=localhost port=8080: IO::Socket::INET: Bad hostname 'localhost' Error, socket_close sock port undefined for port http Warning: Dummy_Interface #1: trying to set state on 10/27/09 10:26:00 AM: Saving object states ... done Warning: Dummy_Interface #1: trying to set state off Socket_Item client start error: could not start a tcp client socket - host=localhost port=8080: IO::Socket::INET: Bad hostname 'localhost' 10/27/09 10:26:00 AM Oops2: Number found where operator expected at (eval 2314) line 1, near "09 10" 10/27/09 10:26:00 AM Oops2: (Missing operator before 10?) 10/27/09 10:26:00 AM Oops2: Bareword found where operator expected at (eval 2314) line 1, near "00 AM" 10/27/09 10:26:00 AM Oops2: (Missing operator before AM?) 10/27/09 10:26:00 AM Oops2: Bareword found where operator expected at (eval 2314) line 1, near "8080 is" 10/27/09 10:26:00 AM Oops2: (Missing operator before is?) Error, socket_close sock port undefined for port http Running external command: turn on the cm15a test light set by tk Error found in user code file: ./../data/mh_temp.user_code 10/27/09 10:26:11 AM: Cannot open device No such file or directory at (eval 524) line 2787. Line 2782: Line 2783: Line 2784: if ( $state = said $v_cm15_cmd ) { Line 2785: print_log "Turning the test light $state"; Line 2786: Line 2787: sysopen( CM15A, "/dev/usb/cm15a0", O_RDWR |O_NOCTTY | O_NONBLOCK ) || die "Cannot open device $!"; Line 2788: Line 2789: if ( $state eq "on" ) { Line 2790: #set $test_light "on"; Line 2791: send_cm15a( \*CM15A, "A6J" ); # turn A6 ON Line 2792: } else { Error logged to: ./../data/error.log Running external command: turn off the cm15a test light set by tk Error in user code: Cannot open device No such file or directory at (eval 524) line 2787. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)On Tue, Oct 27, 2009 at 10:38:42AM +0100, Mario Markovic wrote:
> But, I get two new lines (commands) in the blue window of MH (not in web > browser) that state "turn test cm15a lights on" and "turn test cm15a > lights off" but nothing happens when I run them. I don't use cm15a so I cna't help you with that, but look at the error log you posted: > - creating generic device cm15a on /dev/usb/cm15a0 > 10/27/09 10:19:27 AM Can't open generic device cm15a: /dev/usb/cm15a0: No such file or directory That's obviously a clue that something is wrong :) > - process id 5627 written to ./../data/mh.pid > - setting up main window > - 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 That too. > Socket_Item client start error: could not start a tcp client socket > - host=localhost port=8080: IO::Socket::INET: Bad hostname 'localhost' That explains why the web interface doesn't work. Don't you have localhost in /etc/hosts? > 10/27/09 10:26:00 AM Oops2: Number found where operator expected at (eval 2314) line 1, near "09 10" > > > 10/27/09 10:26:00 AM Oops2: (Missing operator before 10?) > > 10/27/09 10:26:00 AM Oops2: Bareword found where operator expected at (eval 2314) line 1, near "00 AM" > > > 10/27/09 10:26:00 AM Oops2: (Missing operator before AM?) > > > 10/27/09 10:26:00 AM Oops2: Bareword found where operator expected at (eval 2314) line 1, near "8080 is" not sure where those strings came from, but you need to fix that. > 10/27/09 10:26:00 AM Oops2: (Missing operator before is?) > > Error, socket_close sock port undefined for port http > Running external command: turn on the cm15a test light set by tk > Error found in user code file: ./../data/mh_temp.user_code > 10/27/09 10:26:11 AM: Cannot open device No such file or directory at (eval 524) line 2787. > Line 2782: > Line 2783: > Line 2784: if ( $state = said $v_cm15_cmd ) { > Line 2785: print_log "Turning the test light $state"; > Line 2786: > Line 2787: sysopen( CM15A, "/dev/usb/cm15a0", O_RDWR |O_NOCTTY | O_NONBLOCK ) || die "Cannot open device $!"; > Line 2788: > Line 2789: if ( $state eq "on" ) { > Line 2790: #set $test_light "on"; > Line 2791: send_cm15a( \*CM15A, "A6J" ); # turn A6 ON > Line 2792: } else { > Error logged to: ./../data/error.log > Running external command: turn off the cm15a test light set by tk > Error in user code: Cannot open device No such file or directory at (eval 524) line 2787. And that's obviously the error you generated, so things won't work until the device is there. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)Marc MERLIN wrote:
>> 10/27/09 10:26:11 AM: Cannot open device No such file or directory at (eval 524) line 2787. >> Line 2782: >> Line 2783: >> Line 2784: if ( $state = said $v_cm15_cmd ) { >> Line 2785: print_log "Turning the test light $state"; >> Line 2786: >> Line 2787: sysopen( CM15A, "/dev/usb/cm15a0", O_RDWR |O_NOCTTY | O_NONBLOCK ) || die "Cannot open device $!"; >> Line 2788: >> Line 2789: if ( $state eq "on" ) { >> Line 2790: #set $test_light "on"; >> Line 2791: send_cm15a( \*CM15A, "A6J" ); # turn A6 ON >> Line 2792: } else { >> Error logged to: ./../data/error.log >> Running external command: turn off the cm15a test light set by tk >> Error in user code: Cannot open device No such file or directory at (eval 524) line 2787. >> > > And that's obviously the error you generated, so things won't work until the > device is there. > > Marc > Getting the cm15A to run can be a bit on the tricky side. If you have the module loaded and the device plugged in, you see an entry LIKE /dev/usb/cm15a0. In my distribution of linux I got a /dev/cm15a0 (This was on a CentOS 5 system). After you find that and make sure your device is seen in the system (you should see the standard usb devices plugged into system alerts in the kernel log, including where they are assigned in the /dev directory) so if you could do an lsmod to see if cm15a is in the list, as well as doing a generic lsusb you should also see the X10 controller on one of the USB entries. I would provide working examples, but my CM15A is packed in a box right now (I hate moving) and I can't connect it at the moment to provide you a little more help on the example side. Now, if the lsmod doesn't provide a cm15a item in the list you need to find the modules you compiled (if you followed the instructions you should have done that already) and need to try an insmod cm15a.ko (or cm15.a.o if you are running a 2.4 kernel). Please include an output of the lsmod and lsusb in the response for a little better help. I think making sure the O/s sees your cm15a first would be a great step, and then nail out the MH stuff afterwards. As a side note, the test routines you mentioned aren't linked to anything by default, so you have to set up items that point to real X10 devices to get those to work. Seann ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)Seann Clark wrote:
> Marc MERLIN wrote: >>> 10/27/09 10:26:11 AM: Cannot open device No such file or directory at >>> (eval 524) line 2787. >>> Line 2782: Line 2783: Line 2784: if ( $state = said $v_cm15_cmd ) { >>> Line 2785: print_log "Turning the test light $state"; >>> Line 2786: Line 2787: sysopen( CM15A, "/dev/usb/cm15a0", O_RDWR >>> |O_NOCTTY | O_NONBLOCK ) || die "Cannot open device $!"; >>> Line 2788: Line 2789: if ( $state eq "on" ) { >>> Line 2790: #set $test_light "on"; >>> Line 2791: send_cm15a( \*CM15A, "A6J" ); # turn A6 ON >>> Line 2792: } else { >>> Error logged to: ./../data/error.log >>> Running external command: turn off the cm15a test light set by tk >>> Error in user code: Cannot open device No such file or directory at >>> (eval 524) line 2787. >>> >> >> And that's obviously the error you generated, so things won't work >> until the >> device is there. >> >> Marc >> > > > > Getting the cm15A to run can be a bit on the tricky side. If you have > the module loaded and the device plugged in, you see an entry LIKE > /dev/usb/cm15a0. In my distribution of linux I got a /dev/cm15a0 (This > was on a CentOS 5 system). After you find that and make sure your device I'd expect /dev/cm15a0, at some point there was some sub-system that automagically built the device dynamically and there was a change to the /dev/ directory instead of the /dev/usb/ directory. -- Linux Home Automation Neil Cherry ncherry@... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)First of all, I want to thank you all for your suggestions.
I changed /dev/usb/cm15a to /dev/usb/iplc0 and that helped becuse that is my device file. Now, running "turn on (off) the test light" from blue MH windows actually turn on and off the light. So MH is communicating with CM15Pro. Next thing that I want to do is to add support for CM15A in MH web menu where I can select lamp module address and turn it, on, off, dim, bright... I tried to enter following code in the mh.privte.ini file but it didn't help: cm15a_device=/dev/usb/iplc0 x10_interface=cm15a debug=X10 x10_errata=4 Thanks once again. > On Tue, Oct 27, 2009 at 10:38:42AM +0100, Mario Markovic wrote: >> But, I get two new lines (commands) in the blue window of MH (not in web >> browser) that state "turn test cm15a lights on" and "turn test cm15a >> lights off" but nothing happens when I run them. > > I don't use cm15a so I cna't help you with that, but look at the error log > you posted: > >> - creating generic device cm15a on /dev/usb/cm15a0 >> 10/27/09 10:19:27 AM Can't open generic device cm15a: /dev/usb/cm15a0: >> No such file or directory > > That's obviously a clue that something is wrong :) > >> - process id 5627 written to ./../data/mh.pid >> - setting up main window >> - 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 > > That too. > >> Socket_Item client start error: could not start a tcp client socket >> - host=localhost port=8080: IO::Socket::INET: Bad hostname 'localhost' > > That explains why the web interface doesn't work. Don't you have localhost > in /etc/hosts? > >> 10/27/09 10:26:00 AM Oops2: Number found where operator expected at >> (eval 2314) line 1, near "09 10" >> >> >> 10/27/09 10:26:00 AM Oops2: (Missing operator before 10?) > >> >> 10/27/09 10:26:00 AM Oops2: Bareword found where operator expected at >> (eval 2314) line 1, near "00 AM" >> >> >> 10/27/09 10:26:00 AM Oops2: (Missing operator before AM?) >> >> >> 10/27/09 10:26:00 AM Oops2: Bareword found where operator expected at >> (eval 2314) line 1, near "8080 is" > > not sure where those strings came from, but you need to fix that. > >> 10/27/09 10:26:00 AM Oops2: (Missing operator before is?) >> >> Error, socket_close sock port undefined for port http >> Running external command: turn on the cm15a test light set by tk >> Error found in user code file: ./../data/mh_temp.user_code > >> 10/27/09 10:26:11 AM: Cannot open device No such file or directory at >> (eval 524) line 2787. >> Line 2782: >> Line 2783: >> Line 2784: if ( $state = said $v_cm15_cmd ) { >> Line 2785: print_log "Turning the test light $state"; >> Line 2786: >> Line 2787: sysopen( CM15A, "/dev/usb/cm15a0", O_RDWR |O_NOCTTY | >> O_NONBLOCK ) || die "Cannot open device $!"; >> Line 2788: >> Line 2789: if ( $state eq "on" ) { >> Line 2790: #set $test_light "on"; >> Line 2791: send_cm15a( \*CM15A, "A6J" ); # turn A6 ON >> Line 2792: } else { >> Error logged to: ./../data/error.log >> Running external command: turn off the cm15a test light set by tk >> Error in user code: Cannot open device No such file or directory at >> (eval 524) line 2787. > > And that's obviously the error you generated, so things won't work until > the > device is there. > > Marc > -- > "A mouse is a device used to point at the xterm you want to type in" - > A.S.R. > Microsoft is to operating systems & security .... > .... what McDonalds is to gourmet > cooking > Home page: http://marc.merlins.org/ > ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)Mario Markovic wrote:
> First of all, I want to thank you all for your suggestions. > > I changed /dev/usb/cm15a to /dev/usb/iplc0 and that helped becuse that is > my device file. Now, running "turn on (off) the test light" from blue MH > windows actually turn on and off the light. So MH is communicating with > CM15Pro. What driver are you using? What Distribution? The iplc should only appear with the Insteon PLC (2414). Something is really odd. -- Linux Home Automation Neil Cherry ncherry@... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)> Mario Markovic wrote:
>> First of all, I want to thank you all for your suggestions. >> >> I changed /dev/usb/cm15a to /dev/usb/iplc0 and that helped becuse that >> is >> my device file. Now, running "turn on (off) the test light" from blue MH >> windows actually turn on and off the light. So MH is communicating with >> CM15Pro. > > What driver are you using? What Distribution? The iplc should only appear > with the Insteon PLC (2414). Something is really odd. > > -- I've installed CM15Pro drivers by following http://scottzumwalt.blogspot.com/2008/07/cm15a-x10-home-automation-with-linux.html When I think about it, maybe it's iplc0 because in one step I issued "mknod --mode=a=rw /dev/usb/iplc0 c 180 240" ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)Mario Markovic wrote:
>> Mario Markovic wrote: >>> First of all, I want to thank you all for your suggestions. >>> >>> I changed /dev/usb/cm15a to /dev/usb/iplc0 and that helped becuse that >>> is >>> my device file. Now, running "turn on (off) the test light" from blue MH >>> windows actually turn on and off the light. So MH is communicating with >>> CM15Pro. >> What driver are you using? What Distribution? The iplc should only appear >> with the Insteon PLC (2414). Something is really odd. >> >> -- > > I've installed CM15Pro drivers by following > > http://scottzumwalt.blogspot.com/2008/07/cm15a-x10-home-automation-with-linux.html > > When I think about it, maybe it's iplc0 because in one step I issued > "mknod --mode=a=rw /dev/usb/iplc0 c 180 240" Ah! You just used a different name, that's okay. It might be wiser to change: mknod --mode=a=rw /dev/usb/iplc0 c 180 240 to mknod --mode=a=rw /dev/usb/cm15a0 c 180 240 -- Linux Home Automation Neil Cherry ncherry@... http://www.linuxha.com/ Main site http://linuxha.blogspot.com/ My HA Blog Author of: Linux Smart Homes For Dummies ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)Hi.
I have a new question. It's not about MH, it about Perl. But since MH is based on Perl, you might now the answer. I want to make a script which I can run from Ubuntu Terminal window. So when I type, e.g. "perl name_of_the_script.pl A6", light with the A6 address should turn on. I read the "A6" by using the ARGV. But later on, I can't enter the variable (or appropriate format of it) in the "pack" function. In the attachment is the .pl script with comments to help you to see what I want. I kindly ask for Your help. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
|
|
Re: MisterHouse support for CM15Pro (CM15A)> Hi.
> > I have a new question. It's not about MH, it about Perl. But since MH is > based on Perl, you might now the answer. > > I want to make a script which I can run from Ubuntu Terminal window. So > when I type, e.g. "perl name_of_the_script.pl A6", light with the A6 > address should turn on. I read the "A6" by using the ARGV. But later on, I > can't enter the variable (or appropriate format of it) in the "pack" > function. In the attachment is the .pl script with comments to help you to > see what I want. > > I kindly ask for Your help. Meanwhile, I've solved the problem. Thanks anyway. Cheers. ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ________________________________________________________ To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 |
| Free embeddable forum powered by Nabble | Forum Help |