How to setup LifxAPI
Installing the module
Its really simple. Just cd
to your programs directory, then run npm i lifxAPI --save
, which will download the API and tell your config.json to add the module to your list.
You will also need to create 2 files, selector.txt and userkey.txt. Make sure these are in the root directory.
After that, proceed to Setting your API key to make sure the API can interact with the lights.