Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/flochtililoch/homebridge-lirc-accessory
Homebridge Plugin for lirc-state-api
https://github.com/flochtililoch/homebridge-lirc-accessory
homebridge homebridge-plugin homekit lirc
Last synced: about 1 month ago
JSON representation
Homebridge Plugin for lirc-state-api
- Host: GitHub
- URL: https://github.com/flochtililoch/homebridge-lirc-accessory
- Owner: flochtililoch
- Created: 2015-12-30T00:09:22.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-30T00:21:06.000Z (about 8 years ago)
- Last Synced: 2024-09-13T04:12:03.250Z (2 months ago)
- Topics: homebridge, homebridge-plugin, homekit, lirc
- Language: JavaScript
- Homepage:
- Size: 2.93 KB
- Stars: 9
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# homebridge-lirc-accessory
Plugin for [Homebridge](https://github.com/nfarina/homebridge) proxying HomeKit requests to [lirc-state-api](https://github.com/flochtililoch/lirc-state-api) service. Let you control your infrared devices via HomeKit / Siri.
## Pre-requisite
[lirc-state-api](https://github.com/flochtililoch/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`.
```json
"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"
}
]
}
]
```