If you don't want public requests sent directly to a Hue light on your local network, accept these requests to a server running on your local network to handle rate limiting and input validation.
Read the Hue Lights API documentation.
Optional environment variables to set
HUE_IP
HUE_USER
PORT
REDIS_HOST
REDIS_PORT
Install dependencies and start local server
$ npm install
$ npm run start
Start local redis
$ redis-server
Open redis cli
$ redis-cli
TBD