# homebridge-platform-cec

> A Homebridge Plugin to Control Devices over HDMI-CEC

Latest version **0.0.1** (published 2016-12-19) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install homebridge-platform-cec
pnpm add homebridge-platform-cec
yarn add homebridge-platform-cec
bun add homebridge-platform-cec
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2016-12-19 |
| First published | 2016-12-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.12.0 |
| Dependencies | 4 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Joshua Breeden |
| Maintainers | jbreeden |
| Keywords | homebridge-plugin |

## Links

- npm: https://www.npmjs.com/package/homebridge-platform-cec
- Repository: https://github.com/jbree/homebridge-platform-cec
- Homepage: https://github.com/jbree/homebridge-platform-cec#readme
- Issues: https://github.com/jbree/homebridge-platform-cec/issues
- npm.io page: https://npm.io/package/homebridge-platform-cec

## Dependencies (4)

- [promise](https://npm.io/package/promise.md) ^7.1.1
- [node-cec](https://npm.io/package/node-cec.md) ^0.1.2
- [auto-bind](https://npm.io/package/auto-bind.md) ^0.1.0
- [cec-promise](https://npm.io/package/cec-promise.md) 0.0.*

## Alternatives

- [@sindresorhus/slugify](https://npm.io/package/@sindresorhus/slugify.md) — 3.7M weekly downloads
- [solid-js](https://npm.io/package/solid-js.md) — 2.7M weekly downloads
- [expo-glass-effect](https://npm.io/package/expo-glass-effect.md) — 2.5M weekly downloads
- [nanoassert](https://npm.io/package/nanoassert.md) — 780.8K weekly downloads
- [@ffmpeg/ffmpeg](https://npm.io/package/@ffmpeg/ffmpeg.md) — 529.5K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2016-12-19

## README

# homebridge-platform-cec
A Homebridge Plugin to Control Devices over HDMI-CEC

## About

homebridge-platform-cec was written with Raspberry Pi in mind. I wanted the
ability to control my receiver's mute and volume level. After getting the
proof-of-concept working, I thought I'd grow the scope a little bit to control
other devices.

Currently, the plugin adds a Power and a Volume accessory to homebridge, both in
the form of, "Light," accessories. The volume is controlled by adjusting the
brightness of the light. Mute is controlled by turning off the "Light."

Eventually, I'd like to have the platform auto-discover devices and available
services, and make them available dynamically based on whether or not the device
is powered on.

Bug reports, feature requests, and pull requests welcome.

## Installation

### On a Raspberry Pi

1. Follow [these instructions](https://github.com/nfarina/homebridge/wiki/Running-HomeBridge-on-a-Raspberry-Pi)
to install and run homebridge on Raspberry Pi. Don't give up. Hang in there.

2. Install cec-utils using package manager:  
`apt-get install cec-utils`

3. Install homebridge-platform-cec:  
`npm install -g homebridge-platform-cec`

4. Open an issue if you run into problems.

## Configuration

Your `~/.homebridge/config.json` file must include homebridge-platform-cec
listed in the platforms section:

```
"platforms": [
  {
    "platform": "CecPlatform",
    "name": "CecPlatform"
  }
]
```

---
_Source: https://npm.io/package/homebridge-platform-cec · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
