Skip to content

flochtililoch/homebridge-lirc-accessory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

homebridge-lirc-accessory

Plugin for Homebridge proxying HomeKit requests to lirc-state-api service. Let you control your infrared devices via HomeKit / Siri.

Pre-requisite

lirc-state-api service configured and running.

Configuration

Assuming the service lirc-state-api is running on localhost:3001, and has a device fan with states power, air and rotate.

  "accessories": [
    {
      "accessory": "homebridge-lirc-accessory.LIRC Accessory",
      "hapService": "Fan",
      "name": "Fan",
      "manufacturer": "dyson",
      "model": "cool",
      "serialNumber": "123-45678",
      "baseUrl": "http://localhost:3001/devices/fan",
      "properties": [
        {
          "characteristic": "On",
          "lircState": "power",
          "type": "Boolean"
        },
        {
          "characteristic": "RotationSpeed",
          "lircState": "air",
          "type": "Integer",
          "ratio": 10
        },
        {
          "characteristic": "RotationDirection",
          "lircState": "rotate",
          "type": "Boolean"
        }
      ]
    }
  ]

About

 Homebridge Plugin for lirc-state-api

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published