Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

homebridge-lirc-accessory

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

homebridge-lirc-accessory

Proxy accessory to control infrared devices using lirc-state-api module

  • 0.0.1
  • latest
  • npm
  • Socket score

Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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"
        }
      ]
    }
  ]

Keywords

FAQs

Package last updated on 30 Oct 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc