This repository provides a command-line interface (CLI) for managing Neewer GL1 Pro lights, enabling direct control over lighting features through a terminal.
- Install Node.js https://nodejs.org
- Clone the repository and navigate to the project directory.
- Install dependencies with
npm install
.
npm run cli -- [options]
-t <value>, --targetIp <value> [Required] IP address of the Neewer GL1 Pro light to control.
--on Turn the light on.
--off Turn the light off.
-b <value>, --brightness <value> Set the brightness level (1-100).
-k <value>, --kelvin <value> Set the color temperature in Kelvin (29-70).
-y <value>, --yourIp <value> Specify your IP address. If not set, the system will attempt to auto-detect it.
-q, --quiet Suppress all console.log outputs.
npm run cli -- --targetIp 192.168.1.123 --on
When setting the brightness or color temperature, you must supply both values.
npm run cli -- --targetIp 192.168.1.123 --on --brightness 50 --kelvin 35
npm run cli -- --targetIp 192.168.1.123 --off
Special thanks to braintapper for the reverse engineering efforts done for Neewer GL1.