Author |
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: April 02 2015 at 20:14 | IP Logged
|
|
|
I am trying to integrate my color changing LED lights with PowerHome. The LED lights are below.
See here: (Link 1)
and here: (Link 2)
I am trying to send this command(all on):
ph_sendudp("192.168.0.60",8899,"0x42 0x00 0x55")
as per the documentation/links above.
PowerHome DOESN'T give me an error, but my lights don't respond either (they do work with my hand held remote and also my iPhone app remote).
I know the port (8899) is correct. I believe the IP address is correct (because I can log into the bridge device at this address and see all of its settings).
I suspect my problem lies in the formation of the UPD string. I have tried to format it the same way as shown in the example links.
Other ideas/suggestions??
I was hoping to use the UDP Listener plugin to see what message format came across on the TEMP variables, but the plugin seems to give me an error (see bug reports area).
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: April 02 2015 at 23:33 | IP Logged
|
|
|
Steve,
The problem is the data you're attempting to send. The
ph_sendudp function does not have any mechanism for
escaping hex data and so is sending exactly what you
typed (a 0 followed by an x followed by a 4 etc). It
currently doesnt have the ability to non-typeable
data.
Ive added to the to-do list to create a new
ph_sendudp1 function which will allow a flags
parameter and the escaping of binary data so these
types of strings can be sent.
Dave.
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: June 07 2016 at 09:20 | IP Logged
|
|
|
Any new news here?
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: June 14 2016 at 19:07 | IP Logged
|
|
|
Steve,
Since I still don't seem to be close to getting the
next version out, I was thinking of putting together a
plugin that includes some of the functionality that is
upcoming but realized that the plugin framework in the
current version is also one of the major problems.
Still, I could probably whip together a little command
line utility that can be called by PowerHome if you're
interested.
Dave.
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: June 15 2016 at 07:31 | IP Logged
|
|
|
Dave,
No worries...While I would eventually love to see direct PH send/receive UDP integration via a plugin or otherwise; presently I am investigating sending command lines to this little piece of software to control my Limitless brand LED RGB+W lights Link
When I want to control the lights, I launch the software, and send command lines to the application (or at least that is how its supposed to work)...it is still a work in progress.
Neat thing about it is that it can make your lights "dance to the music" from most any computer based music source.
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|