Skip to content

andrei-tatar/node-ambilight

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 

Repository files navigation

node-ambilight

npm downloads Donate

Hardware

RPi 3 + RPi camera + ESP8266 + ws2812

Software

node.js + opencv + angular client

Flow

camera -> opencv -> sampling and adjustments (node.js) -> web socket -> ESP8266 -> ws2812 leds.

Project is still a work in progress.

To get started just npm install -g @andrei-tatar/node-webcam-ambilight. It might take a while as (depending on your config) it downloads and builds opencv. After installation is complete you can start it with the command node-ambilight. It will host an http server on http://localhost:3000. Here you can set the area to be sampled by moving the dots over the window. Most of the configuration can only be manually changed in the file ~/.node-ambilight.

Demo

IMAGE ALT TEXT HERE