Skip to content

damianromanowski/homebridge-prismatik

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prismatik plugin for Homebridge

This is a basic plugin to enable Prismatik support for Homebridge. It allows you to turn Prismatik on and off, and adjust the brightness, hue and saturation levels.

Installation

  1. Install homebridge using:
  • npm install -g homebridge
  1. Install this plugin using:
  • npm install -g homebridge-prismatik
  1. Update your configuration file. See the sample below.

Configuration

To use with Homebridge, you'll need to update your config file like so:

"accessories": [
    {
        "accessory": "Prismatik",
        "name": "TV lights",
        "host": "x.x.x.x",
        "port": 3636,
        "apikey": "key"
    }
]

Note: If host and port are not specified, localhost (127.0.0.1) and 3636 will be used as the default values.

You will need to go to the Experimental tab in the Prismatik software, enable the API server, and set the Key (the code above assumes a Key of "key")

Known issues

  • The Prismatik API sometimes freezes in a busy state and requires a restart, not sure the reason behind this yet.
  • The Prismatik API does not provide a way to retrieve the current brightneess level. I don't see a way of getting around this.
  • Hue and saturation values are set to the default values of 0 and 100 respectively until i figure out a way to retrieve a proper value. But since the LED's can be set to individual colors, this is somewhat problematic.

Credits

Special thanks to Ben Dodson for his work on the original prismatik plugin @ homebridge-prismatik / 8c02c54

About

Prismatik (lightpack) plugin for homebridge: https://github.com/nfarina/homebridge

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%