Skip to content

Chippi/neewer-gl1-pro-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Neewer GL1 Pro CLI

This repository provides a command-line interface (CLI) for managing Neewer GL1 Pro lights, enabling direct control over lighting features through a terminal.

Getting started

  • Install Node.js https://nodejs.org
  • Clone the repository and navigate to the project directory.
  • Install dependencies with npm install.

Usage

Base command

npm run cli -- [options]

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.

Examples

Turn on the light

npm run cli -- --targetIp 192.168.1.123 --on

Turn on the light, set brightness and color temperature

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

Turn off the light

npm run cli -- --targetIp 192.168.1.123 --off

Acknowledgments

Special thanks to braintapper for the reverse engineering efforts done for Neewer GL1.

About

A command-line interface for Neewer GL1 Pro lights

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published