Ok, after a short break here are my results:
hexcodes for switching device on /off (both 370 and 320)
cc2333 for on
cc2433 for off
for instance: echo -ne '\xcc\x23\x33' | nc -w 3 -n <ipaddress> 5577
hexcodes for color levels (wifi370, 3ch)
56101010aa for each color at level 10(hex)
56ffffffaa for each color at level ff(hex)
56ff0000aa for max red
5600ff00aa for max green
540000ffaa for max blue
for instance: echo -ne '\x56\x10\x00\x00\xaa' | nc -w 3 -n <ipaddress> 5577
hexcodes for warm/cool levels (wifi320, 2ch)
56ff00aa for warm color led at level ff(hex)
5600ffaa for very cold color at level ff(hex)
for instance: echo -ne '\x56\x00\x80\xaa' | nc -w 3 -n <ipaddress> 5577
Status codes (wifi370 and 320):
ef0177
after sending this, the unit will report back with a string containing:
A - if it is on
B - if it's running an internal program for led animation or just user input levels
C - if internal program is running or stopped
D - if running internal program, which speed
E - 3 (wifi370) or 2 (wifi320) led channel values
F - which type it is (3 or 2 channel)
* I tested this on OS X, and I didn't get an answer back. This has something to do with the way nc (netcat) works on OS X. I did 'borrow' some functions out of a php script which opens a socket connection to the device. See:
https://www.symcon.de/forum/threads/238 ... t=led+wifi
A typical answer would be:
6601234120118080800199
Let's break this down:
6601 discard, no use
23 -> unit is on, 24 is off (A)
41 -> use user input levels, any other value is a preset mode (B)
20 -> run preset mode = off, 21 = on (not used if B is 41) (C)
11 -> speed to run preset mode at (not used if B is 41) (D)
808080 -> individual channel levels (with 2 channel devices last two digits are always 0, so 808000 f.i.) (E)
01 -> device type RGB, 00 is 2channel (F)
99 discard, no use
To me it looks like this is everything needed to operate these from within Domoticz. It would be nice if I could use the color picker or see the device status without external scripting.