I stumbled up your repo as I was doing essentially a very similar thing, but in Golang.
However, I noticed that the bytes I captured with Wireshark are different in one position than what you have in your repo, for say on and off.
I am getting 0x11, 0xff, 0x04, 0x1c, 0x01 for on and 0x11, 0xff, 0x04, 0x1c, 0x00 for off. Sending these back does indeed turn the light on and off.
0x1c vs 0x1d
Just curious if you have seen your binary change? Curious if this is just a newer/older light? Just wanted to ping you and say thanks for the repo as it will save me time figuring out the brightness and temperature calculations, and see if you had seen this behavior before?
My project, go-litra-beam
I stumbled up your repo as I was doing essentially a very similar thing, but in Golang.
However, I noticed that the bytes I captured with Wireshark are different in one position than what you have in your repo, for say on and off.
I am getting
0x11, 0xff, 0x04, 0x1c, 0x01for on and0x11, 0xff, 0x04, 0x1c, 0x00for off. Sending these back does indeed turn the light on and off.0x1cvs0x1dJust curious if you have seen your binary change? Curious if this is just a newer/older light? Just wanted to ping you and say thanks for the repo as it will save me time figuring out the brightness and temperature calculations, and see if you had seen this behavior before?
My project, go-litra-beam