Author Topic: New PLCBUS driver  (Read 15781 times)

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: New PLCBUS driver
« Reply #30 on: August 14, 2011, 08:14:06 am »
http://pastebin.com/2xV03urk

1st I did a reload router.
Then I edited the conf file
Then I reset the device
Now it gets registered correctly
Also after a reload router.

Weird.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: New PLCBUS driver
« Reply #31 on: August 14, 2011, 11:09:15 am »
it is a Heisenbug :)
rock your home - http://www.agocontrol.com home automation

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: New PLCBUS driver
« Reply #32 on: August 14, 2011, 12:28:52 pm »
ehm, I know the hindenburg.........what is a heisenbug?

Oh yeah forgot I have google and wikipedia
http://en.wikipedia.org/wiki/Unusual_software_bug
« Last Edit: August 14, 2011, 12:30:32 pm by bongowongo »

Gangsingen

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: New PLCBUS driver
« Reply #33 on: August 15, 2011, 01:56:28 am »
Okay, here we go. I edited the pluto.conf and rebooted the core. My pluto.conf loglevel line reads:

LogLevels = 1,5,7,8,35

This is what I get when reloading the router.

Code: [Select]
Sun Aug 14 23:19:39 CEST 2011 Restart
========== NEW LOG SECTION ==========
1 08/14/11 23:19:47 39 (spawning-device) Starting... 1
1 08/14/11 23:19:47 39 (spawning-device) Found /usr/pluto/bin/PLCBUS
01 08/14/11 23:19:52.876 TranslateSerialUSB pci0000:00/0000:00:1d.3+1 result /dev/ttyUSB0 <0xb71ea6c0>
01 08/14/11 23:19:52.876 Open port: /dev/ttyUSB0 <0xb71ea6c0>
01 08/14/11 23:19:52.942 TranslateSerialUSB pci0000:00/0000:00:1d.3+1 result /dev/ttyUSB0 <0xb71ea6c0>
05 08/14/11 23:19:52.953 Creating child 40 <0xb71ea6c0>
05 08/14/11 23:19:52.953 Note: Device manager has attached a device of type 37 that this has no custom event handler for.  It will not fire events. <0xb71ea6c0>
05 08/14/11 23:19:52.953 Note: Device manager has attached a device of type 37 that this has no custom handler for.  This is normal for IR. <0xb71ea6c0>
05 08/15/11 1:53:55.041 Got a reload command from 0  <0xb61e7b90>
05 08/15/11 1:53:55.292 void ClientSocket::Disconnect() on this socket: 0x8e8c2b0 (m_Socket: 7) <0xb71ea6c0>
Return code: 2
« Last Edit: August 15, 2011, 10:34:06 am by Gangsingen »

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: New PLCBUS driver
« Reply #34 on: August 15, 2011, 01:31:10 pm »
This is what I get when reloading the router.
reloading the router of course makes the PLCBUS device quit..

br Hari
rock your home - http://www.agocontrol.com home automation

Gangsingen

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: New PLCBUS driver
« Reply #35 on: August 15, 2011, 07:03:40 pm »
reloading the router of course makes the PLCBUS device quit..

br Hari

Yeah of course, but the spawning sequence looks ok? Maybe I shall try to send commands to the lamp and then paste the log here?!

If a were at home I´d do it right away, but I won´t be at home until tomorrow evening.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: New PLCBUS driver
« Reply #36 on: August 15, 2011, 07:21:55 pm »
Yeah of course, but the spawning sequence looks ok? Maybe I shall try to send commands to the lamp and then paste the log here?!

If a were at home I´d do it right away, but I won´t be at home until tomorrow evening.
spawning looks ok. Sending commands would be great. btw, there is a new version available in a bit that also scans for devices on house code A-E. If possible I'd like to see the output of that one. Please not only enable log level 35 but also 40 and 41.

thanks and best regards,
hari
rock your home - http://www.agocontrol.com home automation

Gangsingen

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: New PLCBUS driver
« Reply #37 on: August 15, 2011, 07:38:23 pm »
spawning looks ok. Sending commands would be great. btw, there is a new version available in a bit that also scans for devices on house code A-E. If possible I'd like to see the output of that one. Please not only enable log level 35 but also 40 and 41.

thanks and best regards,
hari

Wonderful, is the update&upgrade give me the new version or do I need to do anything else to get it?

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: New PLCBUS driver
« Reply #38 on: August 15, 2011, 08:03:06 pm »
spawning looks ok. Sending commands would be great. btw, there is a new version available in a bit that also scans for devices on house code A-E. If possible I'd like to see the output of that one. Please not only enable log level 35 but also 40 and 41.

thanks and best regards,
hari

How do you invoke this new feature?
And how do invoke the new feature about "query state", without sending nude pics of my ex-gf?

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: New PLCBUS driver
« Reply #39 on: August 15, 2011, 08:04:16 pm »
the new package should be on the repo soon, so update and upgrade should be sufficient.

@bongowongo: you never had a girlfriend..

br Hari
rock your home - http://www.agocontrol.com home automation

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: New PLCBUS driver
« Reply #40 on: August 15, 2011, 08:09:51 pm »
so you are still demanding the pictures, knowing how hard it is for my to get a gf, make pictures, break up, and send you the pictures.
You are demanding.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2421
    • View Profile
    • ago control
Re: New PLCBUS driver
« Reply #41 on: August 15, 2011, 08:14:27 pm »
package is in the repo (thanks possy!!)

br Hari
rock your home - http://www.agocontrol.com home automation

Gangsingen

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: New PLCBUS driver
« Reply #42 on: August 16, 2011, 08:41:09 pm »
PLCBUS device just dies when sending a command to it.

I´ll try installing 8.10 from scratch again tonight from snapshot 24279 and lets start from there and lets solve the plcbus problems once for all!

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: New PLCBUS driver
« Reply #43 on: August 16, 2011, 08:50:13 pm »
Why not try:

LinuxMCE-8.10-24412-i386.iso 

Gangsingen

  • Veteran
  • ***
  • Posts: 54
    • View Profile
Re: New PLCBUS driver
« Reply #44 on: August 16, 2011, 09:35:59 pm »
Haven´t enough bandwidth left for this month, I have only 3G with 10GB/month cap. Looked at the snapshots page in wiki yesterday when I were at a hotel with free wifi and downloaded the snapshot that is recommended in the wiki.