wschenk / tradfri-cli

cli scripts to control tradfri internet gateway
https://willschenk.com/articles/2019/controlling_ikea_tradfri_with_node
24 stars 3 forks source link

Improve documentation: Tradfri device can also be addressed by number #4

Open MDecker-MobileComputing opened 4 years ago

MDecker-MobileComputing commented 4 years ago

On the README page it should also be mentioned that a Tradfri bulb can also be addresses by its number and not only by a name like "Bulb 1".

Example:

node device_changer.js 65539 --brightness 50

The number of a Tradfri device can be retrieved by running node devices.js.

This info is relevant for users for whom (like me) node devices.js just outputs a number and not the name for a Tradfri bulb.