Control DE3 over IP

The star of the STICK family.

Moderators: simonB, nick, florent, Ben

acuervo
Posts: 4
Joined: Sat Oct 27, 2012 1:21 pm

Control DE3 over IP

Post by acuervo »

Hi Simon,

Does the DE-3 use the same Remote Protocol as the KE-1/KU-1? If not, is it possible to get a copy of the remote protocol? A client is installing one and we will need to control it.

Thank you,

Alex
simonB
SuperMaxi Forumor
Posts: 1630
Joined: Thu Sep 17, 2009 1:50 pm

Re: Control DE3 over IP

Post by simonB »

Hi Alex

The DE3 uses a different remote system and we have not yet made a public protocol for this.
Simon
--
Sales/Support
Bartdesign
Posts: 1
Joined: Sun Mar 24, 2013 12:22 am

Re: Control DE3 over IP

Post by Bartdesign »

Well i hope it gets released soon. We have bought a unit for intergration purposes. Sadly we can only use the iphone app.
acuervo
Posts: 4
Joined: Sat Oct 27, 2012 1:21 pm

Re: Control DE3 over IP

Post by acuervo »

Hi Simon,

Thanks for your response.
Please let me know when the protocol is available.

Alex
acuervo
Posts: 4
Joined: Sat Oct 27, 2012 1:21 pm

Re: Control DE3 over IP

Post by acuervo »

Hi Simon,

Just wanted to follow up. Any news on releasing the control protocol to allow control of the DE-3 via IP using third party systems?

Thank you,

Alex
simonB
SuperMaxi Forumor
Posts: 1630
Joined: Thu Sep 17, 2009 1:50 pm

Re: Control DE3 over IP

Post by simonB »

This is now available. Send me an e-mail and I'll get the latest version over to you
Simon
--
Sales/Support
jbaker
Posts: 4
Joined: Fri May 02, 2014 1:57 pm

Re: Control DE3 over IP

Post by jbaker »

Can you please tell me where the latest version of this protocol is located?

Thank you,

jbaker
simonB
SuperMaxi Forumor
Posts: 1630
Joined: Thu Sep 17, 2009 1:50 pm

Re: Control DE3 over IP

Post by simonB »

There will be one online soon. For now, send me an e-mail and I'll send you our working version
Simon
--
Sales/Support
pilasz
Posts: 2
Joined: Sat Sep 13, 2014 3:40 pm

Re: Control DE3 over IP

Post by pilasz »

We are using IP control without any issues.
There were some errors in the protocol, but we found and corrected them.
For example header needs to be Stick_3A (in hex) and example given was:
53 54 69 63 6b 5f 33 41 while correct header is below. Also Zone 1 (global is actually (00) not (01) etc.
Now is working no problem. We are actually triggering scenes directly via IP from Lutron HomeWorks system.

For example:

Area A (0), Scene 1 Run:
53 74 69 63 6b 5f 33 41 6d 00 (02) 00 (00) (01) 00 00 00 00 00 00 00 00

where:
first parenthesis - scene # (1 do 8)
second parenthesis - zone - 00=A, 01=B etc.
Third parenthesis - o1=play, 00=stop

and the best thing, there is no 40 command limit (like RS232) you can recall any of 8 scenes in any of 10 areas.
Vincentde3
Posts: 2
Joined: Wed Feb 28, 2018 10:16 pm

Re: Control DE3 over IP

Post by Vincentde3 »

Sorry for kicking up this old topic but i just can't wrap my head around it.
Been trying and trying for several evenings and hours in a row to figure it out.

I am trying to control the stick by ip.
What i do not understand is how to get the right values to control the page/scene that i want to turn on.
I mean, i have used a hex/text conversion tool.
when i converted the 1 field it said STICK_A3

using the example string from the manual

For triggering scene 5 on page A (page 0)
:
(0x53 0x74 0x69 0x63 0x6b 0x5f 0x33 0x41) < this string is able to convert.
(0x6D 0x00) < then i understand the second field always has to be 109 ( but these codes do not correspond with 109 ? .. ok well just copy this then and use like the manual says)

(0x05 0x00) < this should be the field to call scenes on pages, but how do i for example get the code for page B scene 2 ? this is not hex is it ?

The same goes for the following fields.

What am i not getting here ?

Hope someone can give me some info what and how to do since its getting pretty frustrating

Thanks in advance

Vincent
nick
Maxi Forumor
Posts: 284
Joined: Fri Feb 12, 2016 2:37 pm

Re: Control DE3 over IP

Post by nick »

Hi Vincent,
(0x05 0x00) < this should be the field to call scenes on pages, but how do i for example get the code for page B scene 2 ?
To trigger a scene: Scene Number = Page Number * 50 + SceneNumber

Example: Trigger scene 1 on page B:
We can work out the scene number is 51 using the above equation ...
51 = 1 * 50 + 1
But it's actually very simple:
Page A is scene 1-50, Page B 51-100 etc.

Next, convert 51 (decimal) into hexadecimal, which is 33. Then add it to the string in the correct location ...
53 74 69 63 6b 5f 33 41 6D 00 33 00 00 01 00 00 00 00 00 00 00 00 00 00

You should find that this triggers Scene 1, Page B.

Kind Regards,

Nick.
Nicolaudie Tech Support
Vincentde3
Posts: 2
Joined: Wed Feb 28, 2018 10:16 pm

Re: Control DE3 over IP

Post by Vincentde3 »

Thanks,

it makes sence now.
I was converting it into hex and not hexadecimal.
This is why i got these strange results.
Also the reply from pilasz makes sence now.
Haven't fired up an scene yet but this is probably because of the homeseer plugin.
I do get messages back from the stick when i send a raw text string with the 53 74 69 63 6b 5f 33 41 6d 00 01 00 00 01 00 00 00 00 00 00 00 00 00 00 for example so i am a step further in the process.

Code: Select all

10-3-2018 8:17:24:[drhsIpPlugIn]->PostBackControlArray(0)=oTabCommands
10-3-2018 8:17:35:[drhsIpPlugIn]->Wait 500ms...
10-3-2018 8:17:36:[drhsIpPlugIn]->Got 110 response bytes from stickde3: Stick_3A# spots       Keuken          d         Stick_3A# spots       Keuken          d     
ddetton
Posts: 1
Joined: Thu Apr 12, 2018 6:37 am

Re: Control DE3 over IP

Post by ddetton »

I am controlling the STICK-DE3 using the IP protocol defined in the STICK Remote Protocol document. I've figured out most of the protocol but I'm running into a few situations that are not working as expected. For example, I can trigger the second scene on Page B with is just a constant color but when I trigger the first scene on Page B, it is supposed to be a Rainbow effect but I just get a constant color. I can trigger the that same rainbow scene from the ESA Pro software and it works as expected but not using the IP protocol. I can trigger some rainbow scenes on other pages but there are a few that just have a constant color.

Also, the remote protocol document says that it sends a status packet every 5 seconds but it sends it like every second which is way too chatty. Is there any way to control the frequency of the status packet. Also, is there a more comprehensive document that expains that data in the status packet more thoroughly?

Thanks,
Dean
gotlieb
Posts: 1
Joined: Tue Dec 18, 2018 4:24 pm

Re: Control DE3 over IP

Post by gotlieb »

Are any changes in the STICK Remote Protocol since the firmware 2.10 has been released?
Asking cause I can't get status message from my stick-de3 after update.
As I remember with the previous version of the firmware there was enough do connect to TCP port 2431 to start receiving status packets.
nick
Maxi Forumor
Posts: 284
Joined: Fri Feb 12, 2016 2:37 pm

Re: Control DE3 over IP

Post by nick »

Hi there,

Unfortunately with the Stick-DE3 firmware 2.1, the remote protocol no longer supports TCP packets. You must use UDP packets on port 2430 instead.

We need to update the documentation to reflect this. The last firmware that supported TCP remote protocol was 1.13.

Kind Regards,

Nick.
Nicolaudie Tech Support
Post Reply