homebridge-phat-beat

pHAT BEAT LED RGB plugin for homebridge: https://github.com/roblan/homebridge-phat-beat

Usage no npm install needed!

<script type="module">
  import homebridgePhatBeat from 'https://cdn.skypack.dev/homebridge-phat-beat';
</script>

README

homebridge-phat-beat

An homebridge plugin for controlling pHAT BEAT LEDs as RGB Bulb HomeKit accessory. Based on homebridge-fake-rgb.

Installation

Follow the instruction in homebridge for the homebridge server installation. The plugin is published through NPM and should be installed "globally" by typing:

npm install -g homebridge-phat-beat

Configuration

Remember to configure the plugin in config.json in your home directory inside the .homebridge directory.

"accessories": [{
    "accessory": "pHAT-BEAT",
    "name": "RGB Bulb"
}]

Configuration parameters:

  • "accessory": "pHAT-BEAT",
  • "name": "PUT THE NAME OF YOUR BULB HERE",

Look for a sample config in config.json example