homebridge-phormalabdimmer

1.0.0 • Public • Published

Homebridge-PhormalabDimmer

Homebridge accessory plugin for Phormalab infrared lamps that are connected to an I²C-capable device like a Raspberry Pi connected to an I²C-compatible MCP4728 DAC. This in turn, will provide input into a proportional output solid state relay. If you wanted to repurpose the code here to run dimmable/proportional output from the MCP4728, should be easy to do. Code only allows for 4 devices.

NPM Downloads

Phormalab Hotdoor Infrared Heating Lamp

Features

  • Control the infrared heat output from a lamp via HomeKit dimmer function
  • Setup automations in HomeKit
  • Ask Siri to control your devices

Setup / Installation

  1. Install Homebridge
  2. npm install homebridge-phormalabdimmer
  3. Edit config.json and configure accessory. See Configuration section.
  4. Start Homebridge

Configuration

To configure the plugin, add the following to the accessories section in config.json of Homebridge. The i2c_address is assumed to be default for MCP4728 (0x60) on the default I²C bus (/dev/i2c-1). If you need to specify a different address or bus, use "i2c_address": "0x.." and "i2c_device": "/dev/i2c-..". The lamp_names are assumed to be in same order as corresponding MCP4728 output connections (0–3 or labeled A–D on some boards).

    "platforms": [
        {
            "name": "Phormalab Dimmer",
            "platform": "PhormalabDimmer",
            "lamp_names": [
                "Phormalab South",
                "Phormalab South Middle",
                "Phormalab North Middle",
                "Phormalab North"
            ]
        }
    ]

Help

If you have any questions or help please open an issue on the GitHub project page.

Setup photos

Overall setup Pi build with PoE HAT and PermaProto HAT Pi mounted to C4 Labs Zebra VESA mount to Wiegmann enclosure lid Pi with wiring labeled Pi inside enclosure McMaster enclosure with heatsinks and solid state proportional relays mounted

Build list

If you are interested in building something similar, here is a link to all the various items I used to build. This was a fun project.

Changelog

1.0.0

  • Initial version

License

The project is subject to the MIT license unless otherwise noted. A copy can be found in the root directory of the project LICENSE.

Package Sidebar

Install

npm i homebridge-phormalabdimmer

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

6.9 MB

Total Files

13

Last publish

Collaborators

  • kylerove