Author Topic: Throw me a BONE!!!  (Read 4642 times)

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Throw me a BONE!!!
« on: December 29, 2007, 02:37:16 am »
I'm SOOOOOO close...
1.  Can't get this damn PnP working right..
2.  need to send STATE info to devices (lights)
Suggestions?? Stab in the dark??
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: Throw me a BONE!!!
« Reply #1 on: December 29, 2007, 02:52:26 am »
What portion exactly are you trying to implement?

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Throw me a BONE!!!
« Reply #2 on: December 29, 2007, 02:57:57 am »
Part 1.
Trying to get the PnP wizard to run properly...

I can get it to run on the core, but it doesn't 'blink' the light either, and it doesn't save some information it's supposed to...
namely, the [12] info...

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: Throw me a BONE!!!
« Reply #3 on: December 29, 2007, 03:16:25 pm »
Part 1.
Trying to get the PnP wizard to run properly...

I can get it to run on the core, but it doesn't 'blink' the light either, and it doesn't save some information it's supposed to...
namely, the [12] info...



Dan... I don't think the current Lighting Wizard will just 'work' with your driver. My understanding is that there are currently some specific dependencies related to the current z-wave implimentation.
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

tschak909

  • LinuxMCE God
  • ****
  • Posts: 5549
  • DOES work for LinuxMCE.
    • View Profile
Re: Throw me a BONE!!!
« Reply #4 on: December 29, 2007, 06:15:50 pm »
okay, I guess that means I need to start digging through the wizard to figure out how to generalise it, to help out.

-Thom

ddamron

  • Alumni
  • wants to work for LinuxMCE
  • *
  • Posts: 962
    • View Profile
    • My LinuxMCE User Page
Re: Throw me a BONE!!!
« Reply #5 on: December 29, 2007, 09:39:41 pm »
Ok, I MIGHT have enough info for the lighting wizard...

The real problem is reporting back the state info..

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: Throw me a BONE!!!
« Reply #6 on: December 30, 2007, 07:47:26 am »
State information has been figured out! YAY
It took me a couple hours of trial and error to find a work around...
The Orbiters don't do anything special, they just send a command to the device.
When DCE routes the command, it internally sets the State information inside the device.
So, I said to myself, Self, What are they doing that you're not... Sending a command to self!

gotta love axioms...  when one object A is the same as object B, then Object B can be considered the same as object A...
(remember that in Math class??? except it was when Line A is the same as Line B...) lol

So, the solution was to say: Self, Cmd184, setlevel=x.  ;D

<never had to send myself a useless command before... guess there's a use for everything...>

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.

Matthew

  • Douchebag
  • Addicted
  • *
  • Posts: 567
    • View Profile
Re: Throw me a BONE!!!
« Reply #7 on: January 03, 2008, 03:34:04 pm »
State information has been figured out! YAY
It took me a couple hours of trial and error to find a work around...
The Orbiters don't do anything special, they just send a command to the device.
When DCE routes the command, it internally sets the State information inside the device.
So, I said to myself, Self, What are they doing that you're not... Sending a command to self!

(...)

<never had to send myself a useless command before... guess there's a use for everything...>

That is actually the precisely correct OOP approach. "Self.setParam(val)" is called "sending a message to the object itself". LMCE distributes the objects around the network more or less transparently, but it's still objects sending messages around, even more clearly so than when a C++ program is running on a local stack and VM.