Ambient lighting for Philips WiZ smart bulbs using average screen color and audio output
- Install dependencies:
npm install
- Build code:
npm run build
- Edit the available example configuration or create a new configuration
- After setting
bulbs.discoverAddress
in the config file you can run the following to list available bulbs in your network:
npm run start -- list-bulbs --config path/to/config
- List available audio input devices by running:
npm run start -- list-audio-devices --config path/to/config
- Set
bulbs.bulbAddresses
andaudio.deviceId
according to above commands' results - Start ambient-light:
npm run start -- start --config path/to/config
You may need 3rd party programs to connect audio output devices as virtual input devices.
Thanks to yekeskin for the initial prototype of this project