So, that is:
Header {hdrSize = 49, hdrOrigin = 0, hdrTagged = False, hdrAddressable = True, hdrProtocol = 1024, hdrSource = 0, hdrTarget = 3c2b45691b23, hdrAckRequired = False, hdrResRequired = True, hdrSequence = 0, hdrType = 102}
SetColor {scColor = HSBK {hue = 21845, saturation = 0, brightness = 65535, kelvin = 3500}, scDuration = 2000}
One thing I noticed is that you’re setting source
to 0, and I thought it was generally better to set source
to nonzero, to get a unicast response.
Anyway, though, you’re sending a SetColor
message, so I would expect you to get back a State
message. An example State
message might look like this:
Header {hdrSize = 88, hdrOrigin = 0, hdrTagged = False, hdrAddressable = True, hdrProtocol = 1024, hdrSource = 305419896, hdrTarget = 0015edaabbcc, hdrAckRequired = False, hdrResRequired = False, hdrSequence = 0, hdrType = 107}
StateLight {slColor = HSBK {hue = 4369, saturation = 8738, brightness = 13107, kelvin = 5000}, slPower = On, slLabel = "Living Room"}
which, in hex, is:
58000014785634120015edaabbcc0000000000000000000000000000000000006b00000011112222333388130000ffff4c6976696e6720526f6f6d0000000000000000000000000000000000000000000000000000000000
though I just made this up by hand. The best way to know what the actual hardware would send back would be to send your message and see what you get back.