This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Controlling warm light and cool light using CTL+LC server example

Hi,

Can I control warm light as well as cool light using the CTL+LC server example provided in the Mesh SDK v4.2? Or does it support only warm light?

Moreover do we need to implement LC client to turn on the controller?

Regards,

Zolu

Parents
  • Hi,

    The Light CTL model supports light temperature settings, so you can adjust coolness/warmth of the light by using the Light CTL client. Controlling light temperature is not part of the Light LC models (as defined by Bluetooth SIG), so no, you cannot control light temperature from the LC server.

    If the server has been deactivated, it can be activated through use of an LC client model. We have both LC server model and LC client model implementations in the SDK, but we only have an example application for the LC server model.

    Regards,
    Terje

  • Hi,

    Thanks for your reply.

    I am still confused. If I use ctl_lc_server example then I can control the temperature, right? And since it has Light LC Model so I can have sensor and user-driven lighting control.

    Please suggest.

    Regards,

    Zolu

Reply Children
  • Hi,

    The ctl_lc_server example is for a device that has a light, and the temperature of that light can be controlled.

    In order to control the ctl_lc_server light, you use a Light CTL Client and/or a Light LC Client. Those client models send messages to the server models on the ctl_lc_server device, in order to control the light on the ctl_lc_server device.

    To control the light temperature on the ctl_lc_server, you send messages from a Light CTL Client.

    In order to test this you need at least two nodes: One ctl_lc_server, and one Light CTL client. Those nodes must be provisioned into the same network, and configured so that the Light CTL client model publishes to an address that the Light CTL server model subscribes to.

    Regards,
    Terje

  • Hi Terje,

    Thanks for your reply.

    So, I have a light and the temperature of the light can be controlled.

    I want to make a mesh setup with CCT controlled lights, Occupancy sensor and dimmable switch. For this do I need LC Client to activate the server if it gets deactivated?

    Or only CTL Client will suffice?

    Regards,

    Zolu

  • Also please suggest the models required on the client side for this set up.

    Regards,

    Zolu

  • Hi,

    The LC server has a "Light LC Mode" state that can be turned on or off from a LC client. Setting that state on or off decides whethere the LC server should control the light or not. If you want the LC server to always control the light, then you should not need an LC client.

    Regards,
    Terje

Related