/homebridge-control-chromecast

Expose Chromecast/Chromecast Audio devices in Homebridge to control them

Primary LanguageJavaScript

Controller - Chromecast / Chromecast Audio

This accessory will discover all chromecasts on the network and create a lightbulb for each Chromecast or Chromecast Audio device.

Turning the bulb On/Off will play/pause the currently casted stream.
Setting the brightness will set the volume of the device.

Installation

npm i -g homebridge-control-chromecast

Example config.json:

"platforms":[
    {
      "platform" : "ControlChromecast",
      "name" : "Chromecast"
    }
]

Configuration options

The bulb has the following properties:

Attribute Required Usage Example
ignoredDevices no The name of your Chromecast device as shown in your Google Home App (case insensitive). This will ignore the device and controller will not be added. ["Living Room","Bedroom TV"]

Credits

This project as been largely inspired by the work of @robertherber and @paolotremadio