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.
npm i -g homebridge-control-chromecast
Example config.json:
"platforms":[
{
"platform" : "ControlChromecast",
"name" : "Chromecast"
}
]
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"] |
This project as been largely inspired by the work of @robertherber and @paolotremadio