@unisonht/pigpio-ir
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

About

UnisonHT plugin for pigpio-ir

Usage

Record IR buttons using pigpio-ir's irrecord. In this example you would record for two remotes ir-receiver and my-device-name. In this case any button received by ir-receiver will be posted to the root /button/<button-name> route. You can then send signals out using unisonht.executePost('/device/my-device-name/button/<on>')

unisonht.use(
  new PigpioIrReceiver('ir-receiver', {
    pigpioIr
  }),
);

unisonht.use(
  new PigpioIrDevice('my-device-name', {
    pigpioIr
  }),
);

Readme

Keywords

Package Sidebar

Install

npm i @unisonht/pigpio-ir

Weekly Downloads

0

Version

0.0.5

License

MIT

Unpacked Size

25.3 kB

Total Files

22

Last publish

Collaborators

  • joeferner