This is a small cli for controlling my IKEA tradfri lights.
It's using https://github.com/CliffS/ikea-tradfri.
securityCode
from the back of your tradfri GatewaytradfriGatewayUrl
Url or IP address of your tradfri Gateway (local network of course)
{
"securityCode": "",
"tradfriGatewayUrl": ""
}
-
Run
npm run init
-
your credentials will be printed in the console
-
credentials.json will be created (wip)
-
Run 'npm start` to test your stuff with nodemon running