Author Topic: Does anyone have ANY experience with implementing PnP  (Read 14479 times)

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #15 on: January 03, 2008, 05:03:55 am »
Heh, That was it... Now my values are populating into the device.

That help line needs to be changed.. caused me hours of grief..

Light is still not blinking, but maybe I have to set more data, or not set some data I'm setting...

I'm continuing with Trial and error... Ugh!

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #16 on: January 03, 2008, 05:29:29 am »
Ok, I've confirmed all my devicedata is now getting into the device.

I still can't seem to get the light to blink...

the DCE isn't sending me any 776 commands...  I'm wondering if I've got the right 'wizard'..

Anyone know how to select the Lighting wizard?

The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #17 on: January 03, 2008, 05:32:20 am »
BTW, Once I select the room, it installs the device, and tells me it needs to restart router..

If I click OK (Don't restart), and go webadmin, select the light in question, and send it ON/OFF/50% commands from there, they all go through..
So I know I'm handling the commands properly...
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

PeteK

  • Guru
  • ****
  • Posts: 408
    • View Profile
Re: Does anyone have ANY experience with implementing PnP
« Reply #18 on: January 03, 2008, 07:30:47 am »
Ok, I've confirmed all my devicedata is now getting into the device.

I still can't seem to get the light to blink...

the DCE isn't sending me any 776 commands...  I'm wondering if I've got the right 'wizard'..

Anyone know how to select the Lighting wizard?



The lighting wizard is triggered when it detects a device of type "Lighting Interface." If you change your interface type in the PLM template to this, it will trigger the lighting wizard when the device is discovered.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #19 on: January 03, 2008, 07:52:43 am »
Ok, I've confirmed all my devicedata is now getting into the device.

I still can't seem to get the light to blink...

the DCE isn't sending me any 776 commands...  I'm wondering if I've got the right 'wizard'..

Anyone know how to select the Lighting wizard?



The lighting wizard is triggered when it detects a device of type "Lighting Interface." If you change your interface type in the PLM template to this, it will trigger the lighting wizard when the device is discovered.

That sounds like it's what I need!!!!
Currently, my PLM is  a device type Interface/Specialized... I will try that now.

Thanks PeteK!

The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #20 on: January 03, 2008, 08:57:14 am »
Hmm... it's still not working...

I've changed my PLM's device category to Lighting Interface...
Code: [Select]
Device Template PLM, device category Lighting Interface, manufacturer SmarthomeI'm firing the wizard, it's firing ok.. but looking at the logs, it seems the device isn't created until the wizard finishes..

I'm wondering if I have to REPORT CHILD DEVICES first...

That said, If I run the wizard, then go in and change the newly created device (remove the room), then run the wizard again, it sees the device already created, allows me to select the room, but again, it's not triggering any commands to the PLM during the lighting wizard...

I'm almost thinking it may be easier to write my own wizard... LOL

I'll keep stabbing at it...

Any other comments, even if they're in left field, would be helpful..  Sometimes, it takes someone else to look at the problem differently...

Thanks guys.

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

totallymaxed

  • LinuxMCE God
  • ****
  • Posts: 4660
  • Smart Home Consulting
    • View Profile
    • Dianemo - at home with technology
Re: Does anyone have ANY experience with implementing PnP
« Reply #21 on: January 03, 2008, 09:58:34 am »
Hmm... it's still not working...

I've changed my PLM's device category to Lighting Interface...
Code: [Select]
Device Template PLM, device category Lighting Interface, manufacturer SmarthomeI'm firing the wizard, it's firing ok.. but looking at the logs, it seems the device isn't created until the wizard finishes..

I'm wondering if I have to REPORT CHILD DEVICES first...

That said, If I run the wizard, then go in and change the newly created device (remove the room), then run the wizard again, it sees the device already created, allows me to select the room, but again, it's not triggering any commands to the PLM during the lighting wizard...

I'm almost thinking it may be easier to write my own wizard... LOL

I'll keep stabbing at it...

Any other comments, even if they're in left field, would be helpful..  Sometimes, it takes someone else to look at the problem differently...

Thanks guys.

Dan


Dan... I'll see if I can get someone to give you a pointer to get this working today. Most of the Pluto guys are back today but they are snowed under with fixes/changes etc to get the 0710 out the door so I can't promise anything... but I'll see what i can do ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses http://forum.linuxmce.org/index.php?topic=14026.0

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: http://wp.me/P4KgIc-5P

Facebook: https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465

http://www.dianemo.co.uk

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #22 on: January 03, 2008, 10:21:57 am »
Thanks Totallymaxed,

I'm at a bit of a loss on this... I think I have all the steps, and I think I'm doing them in the right order, but can't seem to get the proper outcome.

I'm also in a bit of a pickle... I'd like to categorize my device as an Interface/Specialized rather than Interface/Lighting.. as I also sense non-lighting devices..

EZRain1, EZX10RF, EZIO8SA all sense properly... though I haven't attempted any kind of a wizard with them yet..(Lighting is more important at this time)

I have a headache.

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #23 on: January 03, 2008, 11:28:08 pm »
I'm still at a loss on this...
Also, I'm trying to find the zwave source in the web svn.. can't seem to find it..
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

hari

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 2428
    • View Profile
    • ago control
Re: Does anyone have ANY experience with implementing PnP
« Reply #24 on: January 03, 2008, 11:32:10 pm »
I'm still at a loss on this...
Also, I'm trying to find the zwave source in the web svn.. can't seem to find it..
http://svn.charonmedia.org/trac.cgi/browser/trunk/src/ZWave
the zensys api is in the ZW_*.h files.

maybe also of you interest:
http://svn.charonmedia.org/trac.cgi/browser/trunk/src/Lighting_Plugin

best regards,
Hari
rock your home - http://www.agocontrol.com home automation

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #25 on: February 29, 2008, 11:16:52 pm »
I'm still at a loss on this..

If anyone knows how to get the LIGHTING Wizard to fire, I'd really like to know how.

How about if anyone has a 0710 zwave log with the detection inside?

0710 has much more debug output, or possibly a DCERouter log file with the detection..

Regards,

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

1audio

  • Addicted
  • *
  • Posts: 552
    • View Profile
Re: Does anyone have ANY experience with implementing PnP
« Reply #26 on: March 02, 2008, 04:50:34 pm »
I can supply a ZWave log. I have confirmed that there is no change the 704 ZWave code in 710 yet. However the log is 700K for on e day. (I got Chris to put a fix in, it was going into the GB's.)

I have a problem with the light flashing drill as well on ZWave. It works on some devices and not on others. I could not figure out why. Nothing obvious from the Zniffer.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #27 on: March 02, 2008, 08:05:36 pm »
1audio,

Thanks for the offer, but TSCHAK supplied me with a log file from both Zwave and dcerouter. (a couple days ago)
ok, I've gone through the log, I think the main thing I missed was registering a message interceptor...
but, I shouldn't need to register a message interceptor for myself...

After a LOT of playing around, and a step back..
I went into the wizard,
noticed the lighting there...
viola
the lighting wiz works

Lights are sensed.
Lights are turned ON/OFF via 760

I was doing it right, all the time.
the step I missed, (and still want to find) is HOW to FIRE the lighting wizard automagically.
For that matter, How to FIRE *ANY* wizard from a DCE Command/Event.
as I will need to fire different wizards, Lighting, Climate, Irrigation, etc.

The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Does anyone have ANY experience with implementing PnP
« Reply #28 on: March 12, 2008, 01:02:21 pm »
ok, an update with this Plug and Play...
it seems I'm dealing with TWO different issues here, and the commands/events are mixed up for me.

The first issue is the parent device itself, along with a shell script, what should the parent fire to tell the system 'Hey, I'm a PLM'.

The second issue is the child devices.  Ideally, I'd like to be able to 'add' children on the fly, and automagically start the appropriate wizard, whether it be the lighting wizard, or irrigation, or what ever.
I know you can manually run the wizard, and then select Lighting, that works.
but I'd like to see if I can automate the procedure for OTHER devices (ie not just lighting)

Any help on this would be greatly appreciated!

Dan
The only intuitive interface is the nipple.  After that it's all learned.
My other computer is your windows box.
I'm out of my mind.  Back in 5 minutes.
Q:  What's Red and smells like blue paint?

A:  Red Paint.