News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - Gangsingen

#46
Installation issues / Re: PLCBus devices setup
January 05, 2011, 11:35:47 AM
Thanks for the advice Bongo!!

I removed all PLCBUS devices, regen orbiters, rebooted, updated the core via apt-get.

When I plug in the 1141 now it starts running scripts, 20_Denonreciever.sh and so forth, but no PLCBUS... The pnp script exists in the /usr/pluto/pnp directory, but isn´t executed.

Does the changes in the zwave template affect this? http://forum.linuxmce.org/index.php?topic=11157.msg77351#msg77351
#47
Installation issues / Re: PLCBus devices setup
January 04, 2011, 08:00:22 PM
Hello guys!!

A few days ago I did a clean internet install of LMCE 810. I also did the apt-get update&upgrade to get the most recent updates to the software. Once I did that I plugged in my PLCBUS 1141 USB interface to see if the plug&play scripts worked.

All that happened was that LMCE found a "Generic USB to RS232 Dongle". I started (once again) to read the forums and found a solution for that problem here:http://forum.linuxmce.org/index.php?topic=11157.msg77351#msg77351.

Once I did that LMCE stopped recognizing the 1141 as a Generic USB to RS232 Dongle and started running some plug&play scripts when I plugged the 1141 in. Only problem was that the PLCBUS pnp script wasnt in the /usr/pluto/pnp directory.

Yesterday I ran apt-get update&upgrade again and the system was updated. Now I got the pnp scripts in place, yeah!!!!

Now when I plug the 1141 back in, the system doesn´t seem to react at all....no pnp scripts are launched or anything.....grrrrr.

I added the 1141 manually. In webadmin I went to Advanced>Configuration>Devices  and "Add a top level device". I found the PLCBUS template#1920 and added it to the system. I set the "COM Port on PC" to /dev/ttyUSB0 (the 1141 is the only USB device connected to the core).

I also added a light to the system with adress A1 and rebooted the system.....and it doesn´t work.

When I do a quick reload of the router I get this in the 1141 log:

========== NEW LOG SECTION ==========
1 01/04/11 19:55:26 47 (spawning-device) Starting... 1
1 01/04/11 19:55:27 47 (spawning-device) Found /usr/pluto/bin/PLCBUS
05 01/04/11 19:55:28.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:29.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:30.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:31.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
05 01/04/11 19:55:32.079 Connect() failed, Error Code 111 (Connection refused)) <0xb71e2ad0>
01 01/04/11 19:55:46.488 Open port: /dev/ttyUSB0 <0xb71e2ad0>
05 01/04/11 19:55:47.182 Creating child 48 <0xb71e2ad0>
05 01/04/11 19:55:47.182 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb71e2ad0>
05 01/04/11 19:55:47.182 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb71e2ad0>


When I then try to send a command to light A1 I get this in the log:
t 0 <0xb61dfb90>
01 01/04/11 19:57:27.148 COMMAND_Generic_On_CONST received for child A1 <0xb61dfb90>
01 01/04/11 19:57:27.148 Adding command to queue... <0xb61dfb90>
01 01/04/11 19:57:27.547 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:28.047 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:28.547 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:29.047 Send Queue Size: 1 <0xb71e1b90>
01 01/04/11 19:57:29.047 Sendcount exceeded, this was the last sent attempt, removing job... <0xb71e1b90>


Can you guys help me to track down the problem?
#48
Hi!

Try to connect the SB to the system with the ethernet connection. I have to do this with my SB2 to make it controllable via LMCE. I know that technically it shouldn´t make any difference, but this was the solution for me. Give it a try!
#49
I got the USB version. Will do a new clean install today.
#50
Bongo, have you got a 100% working PLCBUS setup? Wich PLCBUS modules are you using? Don´t you ever get the errors in the 1141 log as get? (see my earlier post in this thread) I´m using the 1141 and "PLCBUS-2264D" modules.
#51
Users / Re: plcbus 3phase
October 26, 2010, 01:24:37 PM
Esperanto: Do you have PLCBUS up and running reliably? My setup doesn´t... http://forum.linuxmce.org/index.php?topic=9266.0
#52
Quote from: valent on September 26, 2010, 06:42:01 PM
Where from do you buy your X10 parts?

I bought my PLCBUS stuff from http://www.x10-hk.com  and they have some X10 stuff aswell.
#53
I reinstalled LMCE twice. First time I had the 1141 connected when I followed the wiki to get the 1141 working. Second install I waited till all the steps was completed but no difference there.

I also discovered that the unit adresses (A1, A2 and so on) aren´t the same in LMCE as in the "real" PLCBUS software provided by the x10-hk store. If I first program one switch to adress A1 via LMCE web admin, it will respond to command A1 sent by LMCE. But if I try to submit A1-ON via the PLCBUS software to that same switch, it doesn´t respond to that. That must mean that it isn´t possible to combine LMCE and PLCBUS remote controllers as their adress definiton aren´t the same, right?
#54
Hi everybody.

I got the PLCBUS 1141 working by following the wiki instructions, but as I follow the log I get this error every single time I turn on or off the lamp!

01 04/04/10 19:08:19.511 Error while calling method: Cannot call class method: cmd_350
error: undefined method `chr' for nil:NilClass, line: 795
backtrace:
in: (eval): 795
from (eval):795:in `gsdcommandin'
from (eval):402:in `datain'
from (eval):172:in `datain'
from (eval):17:in `cmd_350'
<0xb40c7b90>


And after turning on and off the lamp a few times the device dies:

01 04/04/10 19:19:17.689 A CRITICAL ERROR HAS OCCURED (CHECK YOUR RUBY CODE) <0xb3fd0b90>
Return code: 1
3 04/04/10 19:19:18 31 (spawning-device) Device died... count=19/50 dev=31
Sun Apr  4 19:19:18 CEST 2010 died


I´m using 0810 and I have tried to reinstall a couple of times with the same error every time.

Any tips of how to get rid of this?