@unisonht/pigpio-ir
v0.0.5
Published
UnisonHT plugin using pigpio-ir
Downloads
3
Readme
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
}),
);