Ready to take your JavaScript development to the next level? Meet npm Enterprise - the ultimate in enterprise JavaScript. Learn more »

pimatic-lirc

0.1.1 • Public • Published

pimatic-lirc

This is a plugin to send and receive IR commands using the LIRC utiltiy. The plugin needs a working installation of lirc before it can be used raspberry pi guide.

Configuration Plugin

You can load the plugin by editing your config.json to include:

{
  "plugin": "lirc"
}

Example:

if state of sonos-connect is equal to "play" then set lirc remote: AMP command: KEY_POWER

Receiving IR commands

If you want to be able to receive IR commands in Pimatic create an device like this:

{
  "id": "lirc",
  "class": "LircReceiver",
  "name": "Lirc"
}

Example:

if remote of lirc is equal to "samsung" and command of lirc is equal to "KEY_TV2" send prowl message:"TV2 on Samsung TV"

Keywords

none

install

npm i pimatic-lirc

Downloadsweekly downloads

17

version

0.1.1

license

GPL-2.0

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
  • avatar
  • avatar
Report a vulnerability