Lifx lan protocol

Hi I’m new in lifx development working on lifx control application .
As per my understanding
There is 2 option to connect lifx bulb.
1)API
2 LAN protocol
First we successfully control bulb with lifx api .but issue is tha token generate on user id and password via lifx page .
There is no external api found to get token.
I don’t know how to run LAN protocol
What is on and off (hex message )
Where we run this action
Read lifx documents but not clearly understand .
Any one help me wo to on and off bulb via LAN protocol.
With detail method
Thank is advance :blush:

I suggest to read the source code of the various open source libraries already implemented. Some examples:

Python

JavaScript (Node.js)

Simple Node.js app utilising lifx-lan-client:

1 Like