New Zealand
Asked — Edited
Resolved Resolved by DJ Sures!

Sending Udp Commands

Is there any way to send a UDP command from within ARC?

I have some Limitlessled wifi lights I would love to control.

Anyone got any insights? Examples of how thhey did it.... etc?


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

United Kingdom
#1  

Have you tried with the HTTPGet command?

I just checked their website and they say you can control them over the internet via the ip on port 50000 so it's likely to be just a case of figuring out the correct url for each function.

PRO
Synthiam
#2  

I added a SendUDP() to the next ARC for you... I'll release it tonight or tomorrow - depends on my weekend

Here's info from their website for LimitlessLED Smart Lights...

All UDP Commands are 3 Bytes. First byte is from the list below, plus a fixed 2 byte suffix of 0x00 (decimal: 0) and 0x55 (decimal: 85)

i.e. to turn all RGBW COLOR LimitlessLED Smart lights to ON then send the TCP/IP UDP packet of: 0x42 0x00 0x55

            Hexidecimal (byte)	 Decimal (integer)

RGBW COLOR LED ALL OFF 0x41 65

RGBW COLOR LED ALL ON 0x42 66

DISCO SPEED SLOWER 0x43 67

DISCO SPEED FASTER 0x44 68

GROUP 1 ALL ON 0x45 69 (SYNC/PAIR RGB+W Bulb within 2 seconds of Wall Switch Power being turned ON)

GROUP 1 ALL OFF 0x46 70

GROUP 2 ALL ON 0x47 71 (SYNC/PAIR RGB+W Bulb within 2 seconds of Wall Switch Power being turned ON)

GROUP 2 ALL OFF 0x48 72

GROUP 3 ALL ON 0x49 73 (SYNC/PAIR RGB+W Bulb within 2 seconds of Wall Switch Power being turned ON)

GROUP 3 ALL OFF 0x4A 74

GROUP 4 ALL ON 0x4B 75 (SYNC/PAIR RGB+W Bulb within 2 seconds of Wall Switch Power being turned ON)

GROUP 4 ALL OFF 0x4C 76

DISCO MODE 0x4D 77

SET COLOR TO WHITE (GROUP ALL) 0x42 100ms followed by: 0xC2

SET COLOR TO WHITE (GROUP 1) 0x45 100ms followed by: 0xC5

SET COLOR TO WHITE (GROUP 2) 0x47 100ms followed by: 0xC7

SET COLOR TO WHITE (GROUP 3) 0x49 100ms followed by: 0xC9

SET COLOR TO WHITE (GROUP 4) 0x4B 100ms followed by: 0xCB

#3  

http://www.limitlessled.com/ ...worth visiting and a big thank you to DJ for adding UDP! I had no idea what that was ..until now! Looks like More home control (Jarvis) features now besides robot control....

New Zealand
#4  

DJ Sures you are awesome...

I feel like a child following the Pied Piper... you amaze me!

I almost had to choked back a tear when I explained to my students the level of service and support you give to us and the innovative, ground breaking stuff I get to be part of by simple association.

Seriously - you rock my world and if you ever get to NZ....

  • Wayne (@Tameion)
PRO
Synthiam
#5  

Wow, thank you for the kind words:) It's feedback like that - which makes it worth it! Thanks again