A NodeJs CLI Application & Server allowing for controll of an IKEA Tradfri light.
tradni is a CLI application and server that allows you to controll your IKEA Tradfri lights. I build this app purely to blink my light when a notification comes through on my laptop.
If you see any bugs, weird things, or want to suggest a feature, please create an issue.
Make sure you've got Node installed.
npm install --global tradni, make sure it's a global install, so you can use the
tradni gateway <your tradfri gateway's IP> <the gateways security code, found on the bottom>
Once that's configured, run
tradni server to get the server up and running, then
tradni list to see all your installed lights.
Pick the light you want to mess with, and run
tradni select <light id>.
Now mess around with all the tradni commands!