LIFX Unit Test (Wireless Lights)
  • 17 Sep 2022
  • 1 Minute to read
  • Contributors

LIFX Unit Test (Wireless Lights)


Article Summary

LIFX Unit Test (Wireless Lights)

Use off-the-shelf WiFi lightbulbs with Tulip

Purpose

The purpose of this article is to describe the steps required to integrate an LIFX light bulb with Tulip.

Video Overview of Application

Setup Instructions

Setting up the LIFX light is the bulk of the setup. You will need to follow the instructions that come with your light to connect it to your WiFi network. Once connected, you will need to create an account with LIFX and get a "token".

You can follow these instructions to get the token:

https://api.developer.lifx.com/docs/introduction

There are a few different types of authentication that can be used with this light. The Tulip unit test application relies on the Basic Authentication: the App token is passed in as the user name.

After installing the application from the Library, navigate to the LIFX connector.

Click on the "production & testing & development" button and then click on "edit headers"

Finally, replace "YOUR TOKEN HERE" with your token.

Your application is now set up! When you load the unit test application you will see a list of your devices (lights). Clicking on one will let you change its color.


Was this article helpful?