|====================================| | ArtiNET Protocol Version 2.20 | | Written by: Michel van Osenbruggen | | CopyRight 2024 ArtiLED B.V. | |====================================| Minimum Firmware version : 0.130 beta Latest change : 12-02-2024 ======================= | Protocol Definition | ======================= Protocol : TCP unicast Port : 1080 |========================| | TCP Protocol Structure | |========================| Start byte : Always 0x7e Command byte : See command structure Status byte : See status structure Channel byte : 0 for all 1-4 for individual led strips MSB Amount byte : MSB Number of bytes to follow LSB Amount byte : LSB Number of bytes to follow Data byte(s) : 0 or Multiples bytes as defined before Stop byte : Always 0x7e |=================== | Status Structure | |=================== RealTime (bit 1) : Realtime Mode 0=Off, 1=On (with Realtime on no answer is returned) Commit (bit 2) : Commit Mode 0=Off, 1=On (with no commit led actions are not shown until commit is given) |============================| | Protocol Answer Formatting | |============================| -1 = TimeOut : No Answer -> Check Realtime Mode 0 = Error : Error is just 0 -> See debug for Error 1 = Success : Success is just 1 (0-255) : Single values are always between '(' and ')' (0,0,0,0) : Color values GBW or RGB or HSV Values seperates by ',' between '(' and ')' [0] : Pixels values are always single value between '[' and ']' [0][1] : Multi Pixel values will be on one line [0-10] : Segment values are always two Pixel values seperated by '-' between '[' and ']' [0-5][6-9] : Multi Segment values are Multiple Segments on one line <1> : Channels values are always between '<' and '>' on one line {(0,0,0,0)(1,1,1,1)} : Palette = multiple colors between '{' and '}' on one line |=================| | Protocol Timing | ------------------- Delay : If you experience timeouts add a little delay between two commands. About 0.009 seconds should work. It depends on your TCP stack. |=============| | Error Codes | |=============| 0x01 : Command Invalid 0x02 : Channel Invalid 0x03 : Number of Bytes Invalid 0x04 : Data Incomplete 0x05 : Command Execution 0x06 : Command Data Invalid 0x07 : Power Overload 0x08 : Temperature Overload (External via Node) 0x09 : Authentication Failed |=============| | Definitions | |=============| Strip : Whole led strip -> All leds Multi Strip : Multiple led strips with channel -> All leds Segment : Part of a led strip -> Start, End -> Start and End are two bytes (msb, lsb) Multi Segment : Multiple Parts of a led strip -> Array of n x (Start, End) -> Start and End are two bytes (msb, lsb) Multi Channel Segment : Multiple Parts of multiple led strip with channel -> Array of n x (Channel, Start, End) -> Start and End are two bytes (msb, lsb) Pixel : Single pixel of a led strip -> Pixel number -> Pixel numbers are two bytes (msb, lsb) Multi Pixel : Multiple pixels of a led strip -> Array of Pixel Numbers -> Pixel numbers are two bytes (msb, lsb) Multi Channel Pixel : Multiple pixels of multiple led strip with channels -> Array of channel and Pixel Numbers -> Pixel numbers are two bytes (msb, lsb) Pixel String : Multiple pixels of a led strip with a start (msb, lsb) then followed by an Array of Pixel Numbers (msb, lsb) Palette : Collection of Colors -> Max 16 colors Msb : Most Significant Byte (0x01,0x00) 0x01 = 256 Lsb : Least Significant Byte (0x00, 0x01) 0x01 = 1 |===================| | Command Structure | |===================| 0x?? : Command *0x?? : Sub Commands, Values, Effects, Palettes etc. |================| | Data Structure | |================| Channel : Byte 0x00-0x04, 0x00=All Channels, > 0x04 Channel Combinations (see List) Data : Byte 0x00-0xff (0-255) or No Data |==================== | Channel Structure | ===================== 0x00 : 0 = All Channels 0x01 : 1 = Channel 1 0x02 : 2 = Channel 2 0x03 : 3 = Channel 3 0x04 : 4 = Channel 4 0x0c : 12 = Channel 1 + 2 0x0d : 13 = Channel 1 + 3 0x0e : 14 = Channel 1 + 4 0x17 : 23 = Channel 2 + 3 0x18 : 24 = Channel 2 + 4 0x22 : 34 = Channel 3 + 4 0x7b : 123 = Channel 1 + 2 + 3 0x7c : 124 = Channel 1 + 2 + 4 0x86 : 134 = Channel 1 + 3 + 4 0xea : 234 = Channel 2 + 3 + 4 |===================| | Command Structure | |===================| 0x00 Command : Command + Data * Sub Command : Sub Command, Values, Effects, Palettes etc. ! Future Command : Command not done yet, coming soon |=============| | Curves List | |=============| 0x00 : Linear 0x01 : Exponential 0x02 : Logarithmic 0x03 : Quadratic Ease In 0x04 : Quadratic Ease Out 0x05 : Cubic Ease In 0x06 : Cubic Ease Out 0x07 : Sine Ease In 0x08 : Sine Ease Out 0x09 : Circular Ease In 0x0a : Circular Ease Out -------------------------------- | Led Controller Info commands | -------------------------------- 0x00 Ping : No Data -> Check if controller is alive. Returns 1 0x01 Get Debug : No Data -> Returns Debug Mode, (0)=debug off, (1)=Errors, (2)=Errors and Commands, (3)=Verbose 0x02 Get Power : No Data -> Returns PSU Power state, (0)=Off, (1)=On 0x03 Get Version : No Data -> Returns controller software version (value) 0x04 Get Leds : No Data -> Returns number of leds (1-1000) 0x05 Get Channels : No Data -> Returns number of channels attached (1-4) 0x06 Get Uptime : No Data -> Returns time since last boot (seconds) 0x07 Get Hardware : No Data -> Returns Type of Strip attached (1)=SK6812,(2)=WS2812B,(3)=WS2811-BRG,(4)=WS2811-GRB,(5)=WS2811-RGB,(6)=WS2813,(7)=WS2815,(8)=SK9822,(9)=SK6815,(10)=APA102,(11)=TM1903,(12)=HD107S 0x08 Get Clock : No Data -> Returns Clock Speed -> (0)=Off,(1)=400Khz,(2)=800Khz,(3)=1Mhz,(4)=2Mhz,(5)=3Mhz,(6)=4Mhz,(7)=5Mhz,...,(26)=24Mhz 0x09 Get Voltage : No Data -> Returns PSU Voltage (5,12,24) 0x0a Get Profile : No Data -> Returns Supported Color Profile (1)=RGBW, (2)=RGB, (3)=W 0x0b Get Amperage : No Data -> Returns Amperage of attached PSU(s) -> (1-255) 0x0c Get White Model : No Data -> Returns White Model (0)=No White, (1)=Cold White, (2)=Normal White, (3)=Warm White 0x0d Get Color Correct : No Data -> Returns Color Correction (0)=off, (1)=On 0x0e Get PSU Startup : No Data -> Returns PSU Startup Delay (0-100 x 0.1 seconds) 0x0f Get PSU Control : No Data -> Returns PSU Control Mode (0)=Off, (1)=Direct, (2)=Shared, (3)=Remote ----------------------------------- | Led Controller Control commands | ----------------------------------- 0x10 Clear : No Data, Realtime,Commit,Channel -> Clear all leds on channel (Set to black) (0=All channels) 0x11 Brightness : Data 1 byte, Realtime,Commit -> Sets Global brightness for Dimming Leds -> Always All channels 0x12 Saturation : Data 1 byte, Realtime,Channel -> Sets Global Saturation (if only Hue) (Channel has no function yet -> Always All channels) 0x13 Hue : Data 1 byte, Realtime,Channel -> Sets Global Hue (if only Sat) (Channel has no function yet -> Always All channels) 0x14 Value : Data 1 byte, Realtime,Channel -> Sets Global Value (if only Hue or Sat) (Channel has no function yet -> Always All channels) 0x15 Brighten : Data 1 byte, Realtime,Commit -> Reads current Global Brightness and adds value (0-255) 0x16 Dim : Data 1 byte, Realtime,Commit -> Reads current Global Brightness and subtracts value (0-255) 0x17 Scale : Data 1 byte, Realtime,Commit,Channel -> Reads led values and scales them with value (0-255) Percent 0x18 Calc : Data 2 bytes, Realtime,Commit,Channel -> Reads led values and does calculations. Option (0x00=Add, 0x01=Subtract, 0x02=Multiply, 0x03=Divide), value (0-255) 0x19 Save : No Data, Realtime,Channel -> Saves current led values for Channel in memory array for restore. (RAM, lost when power down) 0x1a Restore : No Data, Realtime,Commit,Channel -> Restores saved led values from memory array for restore. (RAM, lost when power down) 0x1b Default : No Data, Realtime,Commit,Channel -> Sets leds to default color and brightness for channel based on Default Startup Mode (0xfd) 0x1c Set Power Save Time : Data 1 byte, Realtime -> Sets Power Save Time in Hours (0-24), 0x00=Power Save Off 0x1d Set Debug : Data 1 byte, Realtime -> Sets Debug Level -> 0x00=debug off, 0x01=Errors, 0x02=Errors and Commands, 0x03=Verbose 0x1e Commit : No Data, Realtime -> Commits non commmited Led Actions 0x1f Set Power : Data 1 byte, Realtime -> Set PSU Power -> 0x00=Power PSU Off, 0x01=Power PSU On --------------------------- | Channel Status commands | --------------------------- !!Channel Info HSV, Luma, Light do not see White channel of RGBW!! Also HSV value are calculated approximations not actual! Colors HSV does not see White channel of RGBW!! 0x20 Channel Status : Data 1 byte, Channel -> 0x00=Strip, 0x01=Amount, 0x02=Segments, 0x02=Leds -> 0=Off, 1=Off, Nr Leds, [start-end], [pixel] 0x21 Channel Info : Data 1 byte, Channel -> 0x00=Brightness, 0x01=Saturation, 0x02=Hue, 0x03=Value -> Latest Value Set (Not Average!) (0-255) 0x22 Channel Info RGBW : Data 1 byte, Channel -> 0x00=Strip if Same Color else 0, 0x01=Average Color (only on), 0x02=Segments, 0x03=Leds -> 0=Not same, (R,G,B,W), [start-end](R,G,B,W), [pixel](R,G,B,W) 0x23 Channel Info HSV : Data 1 byte, Channel -> 0x00=Strip if Same Color else 0, 0x01=Average Color (only on), 0x02=Segments, 0x03=Leds -> 0=Not same, (H,S,V), [start-end](H,S,V), [pixel](H,S,V) 0x24 Channel Info Luma : Data 1 byte, Channel -> 0x00=Strip if Same Luma else 0, 0x01 Average Luma (only on), 0x02 Segments, 0x03 Leds -> 0=Not same, (Luma), [start-end](Luma), [pixel](Luma) 0x25 Channel Info Light : Data 1 byte, Channel -> 0x00=Strip if Same Light else 0, 0x01 Average Light (only on), 0x02 Segments, 0x03 Leds -> 0=Not same, (Light), [start-end](Light), [pixel](Light) 0x26 Channel Colors RGBW : Data 1 byte, Channel -> 0x00=Get all colors, 0x01=Get all colors (only on), 0x02=get unique colors, 0x03=get unique colors (only on), 0x04=Count unique colors (only on) => (R,G,B,W) 0x27 Channel Colors HSV : Data 1 byte, Channel -> 0x00=Get all colors, 0x01=Get all colors (only on), 0x02=get unique colors, 0x03=get unique colors (only on), 0x04=Count unique colors (only on) => (H,S,V) !0x28 Channel Change : Data 1 byte, Channel -> 0x00=Any, 0x02=Time -> Change since last request -> 0=No, 1=Yes, Time Seconds -------------------------------------------------------------------------- | Led Controller Special Commands (Dither will be saved in Flash memory) | -------------------------------------------------------------------------- 0x2d Get Power Calc Method : No Data -> Returns Power Calculation Method (0)=Total, (1)=Highest 0x2e Get Dither : No Data -> Returns Dither Mode (0)=Off, (1)=On 0x2f Set Dither : Data 1 byte -> 0x00=Off, 0x01=On ------------------------ | Strip Color Commands | ------------------------ 0x30 Strip RGBW : Data 4 bytes, Realtime,Commit,Channel -> Colors whole strip (Red, Green, Blue, White) 0x31 Strip RGB : Data 3 bytes, Realtime,Commit,Channel -> Colors whole strip (Red, Green, Blue) 0x32 Strip HSV : Data 3 bytes, Realtime,Commit,Channel -> Colors whole strip (Hue, Sat, Value) 0x35 Strip W : Data 2 bytes, Realtime,Commit,Channel -> Colors whole Strip (Temperature, Intensity) 0=Cold, 127=Normal,255=Warm ------------------------------ | Multi Strip Color Commands | ------------------------------ 0x33 Multi Strip RGBW : Data n x 5 bytes, Realtime,Commit,Channel -> Colors Multiple Strips (n x (Channel, Red, Green, Blue, White) ) 0x34 Multi Strip RGB : Data n x 4 bytes, Realtime,Commit,Channel -> Colors Multiple Strips (n x (Channel, Red, Green, Blue) ) 0x43 Multi Strip HSV : Data n x 4 bytes, Realtime,Commit,Channel -> Colors Multiple Strips (n x (Channel, Hue, Sat, Value) ) 0x44 Multi Strip W : Data n x 3 bytes, Realtime,Commit,Channel -> Colors Multiple Strips (n x (Channel, Temperature, Intensity)) 0=Cold, 127=Normal,255=Warm ------------------------- | Strip Modify Commands | ------------------------- 0x36 Strip Scale RGBW : Data 4 bytes, Realtime,Commit,Channel -> Reads led values and scales them 0-255 Percent (Red, Green, Blue, White) 0x37 Strip Calc RGBW : Data 5 bytes, Realtime,Commit,Channel -> Reads led values and does calculations. (Option, Red, Green, Blue, White) -> 0x00 add, 0x01 subtract, 0x02 multiply, 0x03 divide 0x38 Strip Shift : Data 3 bytes, Realtime,Commit,Channel -> Reads led values and shift them (Step, Mode, Option) -> Mode 0x00=Left, 0x01=Right, 0x02=Outward, 0x03=Inward -> Option 0x00=Insert Blank, 0x01=Recycle 0x39 Strip Copy : Data 1 byte, Realtime,Commit,Channel -> Reads leds values for Channel (Origin) and copies them to Channel (Channel 0 copies to all Channels) 0x3a Strip Swap : Data 1 byte, Realtime,Commit,Channel -> Reads led values for Channel (Origin) with Channel (Channel 0 doesn't work) 0x3b Strip Rotate : Data 1 byte, Realtime,Commit -> Reads led values and Rotates Strips in Direction (0x00=Right, 0x01=Left) 0x3c Strip Feed RGBW : Data 6 bytes, Realtime,Commit,Channel -> Insert Led Value (R,G,B,W) and Shift (Step, Mode) -> Mode 0x00=Left, 0x01=Right, 0x02=Outward, 0x03=Inward) 0x3d Strip Feed HSV : Data 5 bytes, Realtime,Commit,Channel -> Insert Led Value (H,S,V) and Shift (Step, Mode) -> Mode 0x00=Left, 0x01=Right, 0x02=Outward, 0x03=Inward) 0x3e Strip Feed Palette : Data 3 bytes, Realtime,Commit,Channel -> Insert Color from Palette and Shift (Index, Step, Mode) -> Mode 0x00=Left, 0x01=Right, 0x02=Outward, 0x03=Inward) 0x3f Strip Blur : Data 2 bytes, Realtime,Commit,Channel -> Blurs Leds (Count, Amount) -> Count=Number of Blurs (0-255), Blur Amount 0=No Spread, 64=Moderate Spread, 172=Max Smooth, 173-255=Wider Spreading -------------------------- | Segment Color Commands | -------------------------- 0x40 Segment RGBW : Data 8 bytes, Realtime,Commit,Channel -> Colors Segment (start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue, White) 0x41 Segment RGB : Data 7 bytes, Realtime,Commit,Channel -> Colors Segment (start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue) 0x42 Segment HSV : Data 7 bytes, Realtime,Commit,Channel -> Colors Segment (start_msb, start_lsb, end_msb, end_lsb, Hue, Sat, Brightness) 0x45 Segment W : Data 6 bytes, Realtime,Commit,Channel -> Colors Segment (start_msb, start_lsb, end_msb, end_lsb, Temperature, Intensity) 0=Cold, 127=Normal, 255=Warm --------------------------- | Segment Modify Commands | --------------------------- !0x46 Segment Scale RGBW : Data 8 bytes, Realtime,Commit,Channel -> Reads led values and scales them 0-255 Percent (start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue, White) !0x47 Segment Calc RGBW : Data 8 bytes, Realtime,Commit,Channel -> Reads led values and does calculations. (start_msb, start_lsb, end_msb, end_lsb, option, Red, Green, Blue, White) Option-> (0x00=Add, 0x01=Subtract, 0x02=Multiply, 0x03=Divide) !0x48 Segment Shift : Data 6 bytes, Realtime,Commit,Channel -> Reads led values and shift them (start_msb, start_lsb, end_msb, end_lsb, Mode, Option) -> Mode 0x00=Left, 0x01=Right, 0x02=Outward, 0x03=Inward -> Option 0x00=Insert Blank, 0x01=Recycle !0x49 Segment Copy : !0x4a Segment Swap : !0x4b Segment Rotate? : !0x4c Segment Feed RGBW : !0x4d Segment Feed HSV : !0x4e Segment Feed Palette : 0x4f Segment Blur : Data 6 bytes, Realtime,Commit,Channel -> Blurs Leds (start_mdb, start_lsb, end_msb, end_lsb, Count, Amount) -> Count=Number of Blurs (0-255), Blur Amount 0=No Spread, 64=Moderate Spread, 172=Max Smooth, 173…255=Wider Spreading -------------------------------- | Multi Segment Color Commands | -------------------------------- 0x50 Multi Segment RGBW : Data n x 8 bytes, Realtime,Commit,Channel -> Colors Segment (n x (start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue, White) ) 0x51 Multi Segment RGB : Data n x 7 bytes, Realtime,Commit,Channel -> Colors Segment (n x (start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue) ) 0x52 Multi Segment HSV : Data n x 7 bytes, Realtime,Commit,Channel -> Colors Segment (n x (start_msb, start_lsb, end_msb, end_lsb, Hue, Sat, Brightness) ) 0x55 Multi Segment W : Data n x 6 bytes, Realtime,Commit,Channel -> Colors Segment (n x (start_msb, start_lsb, end_msb, end_lsb, Temperature, Intensity) ) 0=Cold, 127=Normal, 255=Warm ---------------------------------------- | Multi Channel Segment Color Commands | ---------------------------------------- 0x53 Multi Channel Segment RGBW : Data n x 9 bytes, Realtime,Commit,Channel -> Colors Segment (n x (channel, start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue, White) ) 0x54 Multi Channel Segment RGB : Data n x 8 bytes, Realtime,Commit,Channel -> Colors Segment (n x (channel, start_msb, start_lsb, end_msb, end_lsb, Red, Green, Blue) ) 0x63 Multi Channel Segment HSV : Data n x 8 bytes, Realtime,Commit,Channel -> Colors Segment (n x (channel, start_msb, start_lsb, end_msb, end_lsb, Hue, Sat, Brightness) ) 0x64 Multi Channel Segment W : Data n x 7 bytes, Realtime,Commit,Channel -> Colors Segment (n x (channel, start_msb, start_lsb, end_msb, end_lsb, Temperature, Intensity) ) 0=Cold, 127=Normal, 255=Warm --------------------------------------------- | Multi Channel Auto Segment Color Commands | --------------------------------------------- !0x86 Multi Channel Auto Segment RGBW : Data clear, scale, count, amount (n x (channel, Red, Green, Blue, White)) -> Scale: 0 = Linear, 1 = Logarithmic, 2 = Exponential, Count=Number of Blurs (0-255), Blur Amount 0=No Spread, 64=Moderate Spread, 172=Max Smooth, 173…255=Wider Spreading !0x87 Multi Channel Auto Segment RGB : !0x88 Multi Channel Auto Segment HSV : !0x89 Multi Channel Auto Segment W : ------------------------------------------- | Multi Channel Percentage Color Commands | ------------------------------------------- !0x8a Multi Channel Percentage RGBW : Data clear, count, amount (n x (channel, percentage, mode, Red, Green, Blue, White )) -> Mode: 0=Next, 1=Begin, 2=End, 3=Middle, Count=Number of Blurs (0-255), Blur Amount 0=No Spread, 64=Moderate Spread, 172=Max Smooth, 173…255=Wider Spreading !0x8b Multi Channel Percentage RGB : !0x8c Multi Channel Percentage HSV : !0x8d Multi Channel Percentage W : --------------------------------- | Multi Segment Modify Commands | --------------------------------- !0x56 Multi Segment Scale : !0x57 Multi Segment Calc : !0x58 Multi Segment Shift : !0x59 Multi Segment Copy : !0x5a Multi Segment Swap : !0x5b Multi Segment Feed : ----------------------------- | Dual Color Blink Commands | ----------------------------- !0x5c Strip Blink RGBW : Data 12 bytes, Realtime,Commit,Channel -> Blink Strip (n) times with two colors -> Clear, Number, On (.1s), Off (.1s), Red On, Green On, Blue On, White On, Red Off, Green Off, Blue Off, White Off !0x5d Segment Blink RGBW : !0x5e Multi Segment Blink RGBW : !0x5f Multi Pixel Blink RGBW : ------------------------ | Pixel Color Commands | ------------------------ 0x60 Pixel RGBW : Data 6 bytes, Realtime,Commit,Channel -> Colors Pixels (Pixel_msb, Pixel_lsb, Red, Green, Blue, White) 0x61 Pixel RGB : Data 5 bytes, Realtime,Commit,Channel -> Colors Pixels (Pixel_msb, Pixel_lsb, Red, Green, Blue) 0x62 Pixel HSV : Data 5 bytes, Realtime,Commit,Channel -> Colors Pixels (Pixel_msb, Pixel_lsb, Hue, Sat, Brightness) 0x65 Pixel W : Data 4 bytes, Realtime,Commit,Channel -> Colors Pixels (Pixel_msb, Pixel_lsb, Temperature, Intensity) 0=Cold, 127=Normal, 255=Warm ------------------------------ | Multi Pixel Color Commands | ------------------------------ 0x70 Multi Pixel RGBW : Data n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Pixel_msb, Pixel_lsb, Red, Green, Blue, White) ) 0x71 Multi Pixel RGB : Data n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Pixel_msb, Pixel_lsb, Red, Green, Blue, White) ) 0x72 Multi Pixel HSV : Data n x 5 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Pixel_msb, Pixel_lsb, Hue, Sat, Brightness) ) 0x75 Multi Pixel W : Data n x 4 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Pixel_msb, Pixel_lsb, Temperature, Intensity) ) 0=Cold, 127=Normal, 255=Warm ----------------------------------- | Multi Pixel Fill Color Commands | ----------------------------------- 0x66 Multi Pixel Fill RGBW : Data clear, scale, n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Red, Green, Blue, White) ) -> Scale: 0 = Linear, 1 = Logarithmic, 2 = Exponential 0x67 Multi Pixel Fill RGB : Data clear, scale, n x 5 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Red, Green, Blue) ) 0x68 Multi Pixel Fill HSV : Data clear, scale, n x 5 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Hue, Sat, Brightness) ) 0x69 Multi Pixel Fill W : Data clear, scale, n x 4 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Temperature, Intensity) ) 0=Cold, 127=Normal, 255=Warm -------------------------------------- | Multi Channel Pixel Color Commands | -------------------------------------- 0x73 Multi Channel Pixel RGBW : Data n x 7 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Channel, Pixel_msb, Pixel_lsb, Red, Green, Blue, White) ) 0x74 Multi Channel Pixel RGB : Data n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Channel, Pixel_msb, Pixel_lsb, Red, Green, Blue) ) 0x83 Multi Channel Pixel HSV : Data n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Channel, Pixel_msb, Pixel_lsb, Hue, Sat, Brightness) ) 0x84 Multi Channnel Pixel W : Data n x 5 bytes, Realtime,Commit,Channel -> Colors Pixels (n x (Channel, Pixel_msb, Pixel_lsb, Temperature, Intensity) ) 0=Cold, 127=Normal, 255=Warm ------------------------------------------- | Multi Channel Pixel Fill Color Commands | ------------------------------------------- 0x6a Multi Channel Pixel Fill RGBW : Data clear, scale, n x 7 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Red, Green, Blue, White, Channel) ) -> Scale: 0 = Linear, 1 = Logarithmic, 2 = Exponential !0x6b Multi Channel Pixel Fill RGB : Data clear, scale, n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Red, Green, Blue, Channel) ) -> Scale: 0 = Linear, 1 = Logarithmic, 2 = Exponential !0x6c Multi Channel Pixel Fill HSV : Data clear, scale, n x 6 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Hue, Saturation, Value, Channel) ) -> Scale: 0 = Linear, 1 = Logarithmic, 2 = Exponential !0x6d Multi Channel Pixel Fill W : Data clear, scale, n x 7 bytes, Realtime,Commit,Channel -> Colors Pixels and colors Pixels in between with gradient (n x (Pixel_msb, Pixel_lsb, Temperature, Intensity, Channel) ) -> Scale: 0 = Linear, 1 = Logarithmic, 2 = Exponential !0x7e Reserved! Don't use : Same as Start and Stop Byte. Not in use to avoid problems ------------------------------- | Pixel String Color Commands | ------------------------------- 0x80 Pixel String RGBW : Data start_msb, start_lsb, n x 4 bytes, Realtime,Commit,Channel -> Colors Pixels Start, (n x ( Red, Green, Blue, White) ) 0x81 Pixel String RGB : Data start_msb, start_lsb, n x 3 bytes, Realtime,Commit,Channel -> Colors Pixels Start, (n x ( Red, Green, Blue) ) 0x82 Pixel String HSV : Data start_msb, start_lsb, n x 3 bytes, Realtime,Commit,Channel -> Colors Pixels Start, (n x ( Hue, Sat, Brightness) ) 0x85 Pixel String W : Data start_msb, start_lsb, n x 2 bytes, Realtime,Commit,Channel -> Colors Pixels Start, (n x ( Temperature, Intensity) ) 0=Cold, 127=Normal, 255=Warm --------------------------------------------------------------------------------------------------------- | Strip Single Color Effect Commmands -> Clear -> 0x00=No, 0x01 = Clear Strip, Effect (See table below) | --------------------------------------------------------------------------------------------------------- 0x90 Strip Effect RGBW : Data 10 bytes, Channel -> Effect, Clear, Number (n_msb, n_lsb), Start Delay, End Delay, Red, Green, Blue, White 0x91 Strip Effect RGB : Data 9 bytes, Channel -> Effect, Clear, Number (n_msb, n_lsb), Start Delay, End Delay, Red, Green, Blue !0x92 Strip Effect HSV : Data 9 bytes, Channel -> Effect, Clear, Number (n_msb, n_lsb), Start Delay, End Delay, Hue, Sat, Brightness Strip Single Color Effects : Please note that delays are not exact. Show strips costs also time. (n) factor makes effects quicker by skipping shows. ----------------------------------------------------------------------------------------------------------------------------------------------------- * 0x01 Forward Fill Strip -> Fill Strip in one color from start to end with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x02 Reverse Fill Strip -> Reverse Fill Strip in one color from end to start with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x03 Forward Clear Strip -> Clear Strip from one color to black from start to end with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x04 Reverse Clear Strip -> Clear Strip from one color to black from end to start with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x05 Outward Fill Strip -> Fill Strip in one color from start and end to center with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x06 Center Fill Strip -> Fill Strip in one color from center to start and end with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x07 Outward Clear Strip -> Clear Strip in one color from start and end to center with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x08 Center Clear Strip -> Clear Strip in one color from center to start and end with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x09 Strobe Strip Even -> Strobe Strip (n) times with one color from (start) to (end) with on=(start delay), off=(end delay) in ms. * 0x0a Strobe Strip Vari -> Strobe Strip (n) times with one color from (start) to (end) with (start delay) on=off to (end delay) on=off in ms. * 0x0b Random Fill -> Fill Strip in one color in random order between start and end with (start delay) to (end delay) in ms. Show step value> quicker). * 0x0c Strip Fade In -> Fill Strip from black to (R,G,B,W) from start to end in (n) steps with (start delay) to (end delay) in ms. * 0x0d Strip Fade Out -> Clear Strip from (R,G,B,W) to black from start to end in (n) steps with (start delay) to (end delay) in ms. * 0x0e Forward Gradient In -> Fill Strip from start to end with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x0f Reverse Gradient In -> Fill Strip from end to start with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x10 Forward Gradient Out -> Fill Strip from start to end with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x11 Reverse Gradient Out -> Fill Strip from end to start with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x12 Outward Gradient In -> Fill Strip from start and end to center with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x13 Outward Gradient Out -> Fill Strip from start and end to center with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x15 Center Gradient In -> Fill Strip from center to start and end with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x16 Center Gradient Out -> Fill Strip from center to start and end with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x17 Forward Pixel Run -> Run (n) Pixels with one color from start to end with (start delay) to (end delay) in ms. * 0x18 Reverse Pixel Run -> Run (n) Pixels with one color from end to start with (end delay) to (start delay) in ms. * 0x19 Outward Pixel Run -> Run (n) Pixels with one color from start and end to center with (start delay) to (end delay) in ms. * 0x20 Center Pixel Run -> Run (n) Pixels with one color from center to start and end with (start delay) to (end delay) in ms. --------------------------------------------------------------------------------------------------------------------------------------- | Segment Single Color Effect commmands -> Clear -> Value 0x00=No, 0x01 = Clear Strip, 0x02 = Clear Segment, Effect (See table below) | --------------------------------------------------------------------------------------------------------------------------------------- 0x93 Segment Effect RGBW : Data 14 bytes, Channel -> Effect, Clear, Number (n_msb, n_lsb), start_msb, start_lsb, end_msb, end_lsb, Start Delay, End Delay, Red, Green, Blue, White 0x94 Segment Effect RGB : Data 13 bytes, Channel -> Effect, Clear, Number (n_msb, n_lsb), start_msb, start_lsb, end_msb, end_lsb, Start Delay, End Delay, Red, Green, Blue !0x95 Segment Effect HSV : Data 13 bytes, Channel -> Effect, Clear, Number (n_msb, n_lsb), start_msb, start_lsb, end_msb, end_lsb, Start Delay, End Delay, Hue, Sat, Brightness Segment Single Color Effects : Please note that delays are not exact. Show strips costs also time. (n) factor makes effects quicker by skipping shows. ------------------------------------------------------------------------------------------------------------------------------------------------------ * 0x01 Forward Fill Segment -> Fill Segment in one color from (Start) to (End) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x02 Reverse Fill Segment -> Reverse Fill Segment in one color from (End) to (Start) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x03 Forward Clear Segment -> Clear Segment from one color to black from (Start) to (End) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x04 Reverse Clear Segment -> Clear Segment from one color to black from (End) to (Start) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x05 Outward Fill Segment -> Fill Segment in one color from (Start) and (End) to center (Start,End) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x06 Center Fill Strip -> Fill Segment in one color from center (Start,End) to (Start) and (End) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x07 Outward Clear Strip -> Clear Segment in one color from (Start) and (End) to center (Start,End) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x08 Center Clear Strip -> Clear Segment in one color from center (Start,End) to (Start) and (End) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x09 Strobe Segment Even -> Strobe Segment (n) times with one color from (Start) to (End) with on=(start delay), off=(end delay) in ms. * 0x0a Strobe Segment Vari -> Strobe Segment (n) times with one color from (Start) to (End) with (start delay) on=off to (end delay) on=off in ms. * 0x0b Random Fill Segment -> Fill Segment in one color in random order between (Start) and (End) with (start delay) to (end delay) in ms. Show step value> quicker). * 0x0c Segment Fade In -> Fill Segment from black to (R,G,B,W) from (Start) to (End) in (n) steps with (start delay) to (end delay) in ms. * 0x0d Segment Fade Out -> Clear Segment from (R,G,B,W) to black from (Start) to (End) in (n) steps with (start delay) to (end delay) in ms. * 0x0e Forward Gradient In -> Fill Segment from (Start) to (End) with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x0f Reverse Gradient In -> Fill Segment from (End) to (Start) with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x10 Forward Gradient Out -> Fill Segment from (Start) to (End) with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x11 Reverse Gradient Out -> Fill Segment from (End) to (Start) with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x12 Outward Gradient In -> Fill Segment from (Start) and (End) to center with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x13 Outward Gradient Out -> Fill Segment from (Start) and (End) to center with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x15 Center Gradient In -> Fill Segment from center to (Start) and (End) with brightness 0 to (R,G,B,W) with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x16 Center Gradient Out -> Fill Segment from center to (Start) and (End) with brightness (R,G,B,W) to 0 with (start delay) to (end delay) in ms. (n is Show step value -> quicker). * 0x17 Forward Pixel Run -> Run (n) Pixels with one color on Segment from (Start) to (End) with (start delay) to (end delay) in ms. * 0x18 Reverse Pixel Run -> Run (n) Pixels with one color on Segment from (End) to (Start) with (end delay) to (start delay) in ms. * 0x19 Outward Pixel Run -> Run (n) Pixels with one color on Segment from (Start) and (End) to center with (start delay) to (end delay) in ms. * 0x20 Center Pixel Run -> Run (n) Pixels with one color on Segment from center to (Start) and (End) with (start delay) to (end delay) in ms. ------------------------------------- | Strip Multi Color Effect Commands | ------------------------------------- !0x96 Strip Color Effect RGBW : !0x97 Strip Color Effect RGB : !0x98 Strip Color Effect HSV : Strip Multi Color Effects: -------------------------- * 0x00 Rainbow -> * 0x01 Sinus -> * 0x02 Rolling Sinus -> --------------------------------------- | Segment Multi Color Effect commands | --------------------------------------- !0x99 Segment Color Effect RGBW : !0x9a Segment Color Effect RGB : !0x9b Segment Color Effect HSV : Segment Multi Color Effects: ---------------------------- * 0x00 Rainbow -> * 0x01 Sinus -> * 0x02 Rolling Sinus -> --------------------------------------------- | Multi Segment Multi Color Effect commands | --------------------------------------------- !0x9c Multi Segment Color Effect RGBW : !0x9d Multi Segment Color Effect RGB : !0x9e Multi Segment Color Effect HSV : ------------------------ | Loop Effect commands | ------------------------ !0xa0 Get Loop Effect Active : No Data -> Returns (1)=Active (0)= Not Active 0xa1 Start Loop Effect : Data 1 byte, Realtime -> Starts Loop Effect, Clear 1=Clear, 0=No Clear 0xa2 Stop Loop Effect : Data 1 byte, Realtime -> Stops Loop Effect, Clear 1=Clear, 0=No Clear !0xa3 Set Loop Effect : Data 8 bytes, Realtime -> Set Loop Effect (See Loop Effects), Start, Parameter 1,2,3,4,5,6 !0xa4 Set Loop Effect Parameter : Loop Effects: ------------- * 0x00 Constant Change -> * 0x01 Rainbow -> * 0x02 Fire -> * 0x03 Waves -> * 0x04 Candle -> --------------- | Transitions | --------------- 0xa5 Brightness Fade : Data 7 bytes, Realtime -> Fade In/Out Strip Brightness -> Mode (0=Start,1=Brightness), Curve (See Curve List), Start, End, Time (msb,lsb in ms), Step -> All Channels !0xa6 Strip Scale Fade : Data !0xa7 Segment Scale Fade : Data !0xa8 Multi Segment Scale Fade : Data !0xa9 Strip Color Blend : Data !0xaa Segment Color Blend : Data !0xab Multi Segment Color Blend : Data !0xac Strip Transition : A -> B !0xad Multi Strip Rotate Transition : A -> B -> C -> D, Left, Right !0xae Segment Transition : A -> B !0xaf Multi Segment Transition : A -> B,C,D? --------------------- | Palette commands | --------------------- 0xb0 Get Palette : No Data -> Returns Palette (see ArtiPALETTE.txt) 255=Custom Palette 0xb1 Set Palette : Data 1 byte, Realtime -> Sets Palette (see ArtiPALETTE.txt) Always all channels! 0xb2 Set Simple Custom Palette : Data 6 bytes, Realtime -> Set Custom Palette with 2 Colors 2 x (R,G,B) on Default Position 0 and 255 0xb3 Set Advanced Custom Palette : Data n x 4 bytes, Realtime -> Set Custom Palette with (2-16) Colors n x (Position,R,G,B) 0xb4 Set Target Palette : Data 1 byte, Realtime -> Sets Target Palette for Blending (see ArtiPALETTE.txt) Always all channels! 0xb5 Set Simple Target Palette : Data 6 bytes, Realtime -> Set Custom Target Palette for Blending with 2 Colors 2 x (R,G,B) on Default Position 0 and 255 0xb6 Set Advanced Target Palette : Data n x 4 bytes, Realtime -> Set Custom Target Palette for Blending with (2-16) Colors n x (Position,R,G,B) 0xb7 Strip Palette : Data 5 bytes, Realtime,Commit,Channel -> Colors whole strip with Palette (Blend, Scale, Alternate, Start Index, End Index) -> 0x00 = No Blend 0x01 = Circular Blend 0x02 = Linear Blend, 0x00=No Scale or (1-255), 0x00=No Alternate 0x01 = Alternate 0xb8 Strip Part Palette : Data 10 bytes, Realtime,Commit,Channel -> Colors Part of strip with Palette Preserving Strip Scale (start_msb, start_lsb, end_msb, end_lsb, Clear, Blend, Scale, Alternate, Start Index, End Index) -> 0x00 = No Blend 0x01 = Circular Blend 0x02=Linear Blend 0x00=No Scale or (1-255), 0x00=No Alternate 0x01 = Alternate 0xb9 Segment Palette : Data 10 bytes, Realtime,Commit,Channel -> Colors Segment of Strip with Palette with own Scale (start_msb, start_lsb, end_msb, end_lsb, Clear, Blend, Scale, Alternate, Start Index, End Index) -> 0x00 = No Blend 0x01 = Circular Blend 0x02 = Linear Blend, 0x00=No Scale or (1-255), 0x00=No Alternate 0x01 = Alternate 0xba Multi Channel Strip Part Palette : Data n x 11 bytes, Realtime,Commit,Channel -> Colors Multiple Parts of Strip with own Strip Scale (n x (channel, start_msb, start_lsb, end_msb, end_lsb, Clear, Blend, Scale, Alternate, Start Index, End Index) ) -> 0x00 = No Blend 0x01 = Circular Blend 0x02=Linear Blend 0x00=No Scale or (1-255), 0x00=No Alternate 0x01 = Alternate 0xbb Multi Channel Segment Palette : Data n x 11 bytes, Realtime,Commit,Channel -> Colors Multiple Parts of Strip preserving Strip Scale (n x (channel, start_msb, start_lsb, end_msb, end_lsb, Clear, Blend, Scale, Alternate, Start Index, End Index) ) -> 0x00 = No Blend 0x01 = Circular Blend 0x02=Linear Blend 0x00=No Scale or (1-255), 0x00=No Alternate 0x01 = Alternate !0xbc Save Palette? : Save Current Palette to EEPROM? !0xbd Load Palette? : Restore Current Palette from EPROM? !0xbe Load Target Palette? : Restore Target Palette from EEPROM? 0xbf Blend Palette : Data 3 byte, Realtime -> Blends from Current Pallette to Target Pallete (Speed, Steps, Delay) Speed->0x00=No Blend,0x01=Very Slow, 0x40=Fast, Steps (0x00-0xff), Delay ms (0x00-0xff) --------------------------------- | Palette Strip Effect commands | --------------------------------- 0xba Palette Strip Effect : Starts Palette Strip Effects: ---------------------- !* 0x00 Palette Strip Forward Fill -> Fills the whole strip with a Pallete repeats after 255 leds. Does not scale. !* 0x01 Reversed Fill Strip -> ----------------------------------- | Palette Segment Effect commands | ----------------------------------- !0xbb Palette Segment Effect : ------------------------------------------ | Palette Multi Segment Effects Commands | ------------------------------------------ !0xbc Palette Multi Segment Effect : |===========================================================================| | SET AND RESET COMMANDS BELOW ON ARE FOR INSTALLERS ONLY. USE AT OWN RISK! | |===========================================================================| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ----------------------------------------------------------------------------------------------------------------- | Led Controller Additional Commands (Default Color Correct Values and RGB order will be saved in Flash memory) | ----------------------------------------------------------------------------------------------------------------- 0xc0 On : No Data -> Turns PSU On and all channels On depending on Startup Mode it will go to Default or Saved State 0xc1 Off : No Data -> Turns Leds Off and PSU off 0xc2 Sleep : No Data -> Activates Power Save immediately depending on Power Save Mode 0xc3 Awake : No Data -> Awaken if Asleep or Keep Awake. Turns Power Saver off or Resets Power Saver Timer. (After Power Save Leds will remain off. Use 'On' or 'Restore' to turn leds on). 0xc4 Set Temp Overload : No Data -> Actives Temp Overload Mode 0xc5 Get Temp Overload : No Data -> Returns Temp Overload Mode (0=No Temp Overload, 1=Temp Overload) 0xc6 Reset Temp Overload : No Data -> Deactivates Temp Overload Mode 0xc7 Set Power Overload : No Data -> Activates Power Overload Mode 0xc8 Get Power Overload : No Data -> Returns Power Overload Mode (0=No Power Overload, 1=Power Overload) 0xc9 Reset Power Overload : No Data -> Deactivates Power Overload Mode 0xca Reset Controller : No Data -> Resets Hardware Led controller 0xcb Get State : No Data -> Returns Led State (0=Leds Off, 1=Leds On) 0xcc Set Max Brightness Mode : Data 1 Byte -> Sets Max Brightness Mode 0=Absolute, 1=Relative 0xcd Set Color Correct Values : Data 3 Bytes -> Sets Custom Color Correction Values. R,G,B get scaled (0-100%) from normal colors 0xce Get Color Correct Values : No Data -> Returns Custom Color Correction Values (R,G,B) 0xcf Set Default Color Correct Values : Data 3 Bytes -> Sets Default Custom Color Correction (R,G,B) Values get substracted from normal R,G,B ----------------------------------------------------------------------------------------- | Led Controller Power Management Commands (Set Commands will be saved in Flash memory) | ----------------------------------------------------------------------------------------- !!Power values are are calculated estimates and not actual!! 0xd0 Get Power Save State : No Data -> Returns Power Save State (0=Off, 1=On) 0xd1 Get Power Save Time : 1 Byte -> Returns Power Save time in Hours Data 0x00=Time Set in Hours (0=Off -> No Power Save), 0x01=Power Save Time Left in Seconds (0=Power Save Active) 0xd2 Get Power Save Mode : No Data -> Returns Power Save Mode -> 0=Leds Off, 1=PSU Off, 2=Leds and PSU Off, 3=Leds Off with Save Led State, 4=PSU Off with Save Led State, 5=Leds and PSU Off with Save Led State 0xd3 Get Auto Power Mode : No Data -> Returns Auto Power Mode -> 0=Off, 1=On 0xd4 Get Start Mode : No Data -> Returns Start Mode -> 0=Off, 1=Default Brightness, 2=Default Color, 3=Last State or Off, 4=Last State or Default Color, 5=Default Effect 0xd5 Get Default Brightness : No Data -> Returns Default Brightness 0xd6 Get Default Color : No Data -> Returns Default Color (Red,Green,Blue,White) 0xd7 Get Max Brightness : No Data -> Returns Maximum Brightness Defined (1-255) 0xd8 Get Regulation Mode : No Data -> Returns Power Regulation Mode (0=Off, 1=Total, 2=Channel 3=Total Max, 4=Channel Max, 5=Overload, 6=Shutdown) No Auto Power On!! 0xd9 Get Max Brightness Mode : No Data -> Returns Max Brightness Mode -> 0x00 = Absolute, 0x01 = Relative 0xda Get Power Calc Values : Data 1 Byte -> Get values for calculating power (0x00=Off Value, 0x01=Red, 0x02=Green, 0x03=Blue, 0x04=White) 0xdb Get Calculated Power : Data 1 Byte, Channel -> Returns Calulated Power Usage on Channel in Watt (0x00=Actual, 0x01=Last, 0x02=Max, 0x03=Worst, 0x04=Available, 0x05=Off) 0xdc Get Calculated Brightness : Data 1 Byte, Channel -> Returns Advised Maximum Brightness based on Calculated Power (0x00=Actual, 0x01=Last, 0x02=Max, 0x03=Worst) 0xdd Set PSU Control : Data 1 Byte -> Set PSU Controller for Power Calculations -> 0x00=Off, 0x01=Direct, 0x02=Shared, 0x03=Remote 0xde Set PSU Startup Delay : Data 1 Byte, Set Time to wait for PSU to Start before sending next command (0-100 x 0.1 Seconds) 0xdf Set Power Calc Values : Data 3 Bytes -> Set values in mA/led Mode, Value * 10000 (msb,lsb) for calculating power (Mode 0x00=Off Value, 0x01=Red, 0x02=Green, 0x03=Blue, 0x04=White) ------------------------------------- | Led Controller Data Info commands | ------------------------------------- 0xe0 Get Error Count : No Data -> Returns Number of errors 0xe1 Reset Error Count : No Data -> Resets Error Count to 0 0xe2 Get Error Rate : No Data -> Returns Errors for previous Minute 0xe3 Get Error Last : No Data -> Returns latest Controller Error Number (See Error Code List) 0xe4 Reset Error Last : No Data -> Resets Error Last to 0 0xe5 Get Error Time : No Data -> Returns Number of Seconds since Last Error 0xe6 Get Data Count : No Data -> Returns Number of Commands 0xe7 Reset Data Count : No Data -> Resets Data Count to 0 0xe8 Get Data Rate : No Data -> Returns Commands for previous Minute 0xe9 Get Data Last : No Data -> Returns Last Command 0xea Get Data Time : No Data -> Returns Number of Seconds Since Last Command !0xeb Get Regulation Count : No Data -> Returns Number of Power Regulation Actions !0xec Reset Regulation Count : No Data -> Resets Regulation Count !0xed Get Regulation Time : No Date -> Returns Number of Seconds Since Last Regulation !0xee Get Regulation State : No Data -> Returns Power Regulation State (0=Not Active, 1=Necessary, 2=Active, 3=Overload, 4=Shutdown) 0xef Set Power Calc Method : Data 1 byte -> 0x00=Total, 0x01=Highest ------------------------------------------------------------------------------------------------------------------------------- | Led Controller Configure Commands (will be saved in Flash Memory) -> You have to reset the controller after making changes! | ------------------------------------------------------------------------------------------------------------------------------- 0xf0 Set Channels : Data 1 byte -> 0x01-0x04 number of channels (max 4). 0xf1 Set Leds : Data 2 bytes -> (msb, lsb) number of leds (all channels the same) 0xf2 Set Clock : Data 1 byte -> 0x00 = Off, 0x01=400Khz,0x02=800Khz,0x03=1Mhz,0x04=2Mhz,0x05=3Mhz,0x06=4Mhz,0x07=5Mhz,...,0x1a=24Mhz 0xf3 Set Voltage : Data 1 byte -> 0x05 = 5V, 0x0c = 12V, 0x18 = 24V 0xf4 Set Hardware : Data 1 byte -> 0x01 = SK6812,0x02=WS2812B,0x03=WS2811-BRG,0x04=WS2811-GRB,0x05=WS2811-RGB,0x06=WS2813,0x07=WS2815,0x08=SK9822,0x09=SK6815,0x0A=APA102,0x0B=TM1903,0x0C=HD107S 0xf5 Set Profile : Data 1 byte -> 0x01 = RGBW, 0x02 = RGB, 0x03 = W 0xf6 Set Amperage : Data 1 byte -> 0xb0 = 10A, 0x28 = 40A 0xf7 Set Regulation : Data 1 byte -> 0x00 = Off, 0x01 = Total, 0x02 = Channel, 0x03 = Total Max, 0x04 = Channel Max, 0x05 = Overload, 0x06 = Shutdown 0xf8 Set White Model : Data 1 byte -> 0x00 = No White, 0x01 = Cold White, 0x02 = Normal White, 0x03 = Warm White 0xf9 Set Color Correct : Data 1 byte -> 0x00 = Off, 0x01 = On -> !Note Color Correction only works on RGBW, RGB and W functions NOT on HSV etc! 0xfa Set Default Bightness : Data 1 byte -> Sets Default Global Brightness: value (1-255) 0xfb Set Default Color : Data 4 bytes -> Sets Default Global Color: value Red, Green, Blue, White (0-255) 0xfc Set Max Brightness : Data 1 byte -> Sets Max Brightness (1-255). This is a safety feature for underpowered PSU's or overlength led strips 0xfd Set Start Mode : Data 1 byte -> 0x00 = Off, 0x01 = Default Brightness, 0x02 = Default Color, 0x03 = Last State or Off, 0x04 = Last State or Default Color, 0x05 = Default Effect 0xfe Set Power Auto Mode : Data 1 byte -> 0x00 = Startup Off and Command Off, 0x01 = Startup On and Command Off, 0x02 = Startup Off and Command On, 0x03 = Startup On and Command On 0xff Set Power Save Mode : Data 1 byte -> 0x00 = Leds Off, 0x01 = PSU Off, 0x02 = Leds and PSU both Off, 0x03 = Leds Off with Save Led State, 0x04 = PSU Off with Save Led State, 0x05 = Leds and PSU Off with Save Led State