homebridge-anavi-infrared-aircon

0.0.9 • Public • Published

Homebridge Air Conditioner with ANAVI Infrared

Homebridge plugin that uses ANAVI Infrared to drive a “dumb” air conditioner with a unidirectional remote with power, up, and down commands.

The plugin was designed and tested on Raspberry Pi Zero W.

Prerequisites

  • Enable I2C.
  • Enable LIRC module overlay.
  • Update /etc/lirc/lirc_options.conf and /etc/lirc/hardware.conf for the hardware.
  • Reboot.
  • Install packages. For Raspbian Stretch:
# apt install nodejs-legacy npm lirc i2c-tools libavahi-compat-libdnssd-dev

Further reading

Installation

# npm install -g homebridge homebriage-anavi-infrared-aircon

Update your configuration to include a aircon-ir-remote accessory. See an example at sample-config.json.

Persistent Installation

See “Running Homebridge on Bootup”.

In condensed form, start with this gist and then:

# mkdir /var/lib/homebridge
# useradd --system homebridge
# usermod -a -G i2c homebridge
# systemctl daemon-reload
# systemctl enable homebridge
# systemctl start homebridge
$ systemctl status homebridge

Package Sidebar

Install

npm i homebridge-anavi-infrared-aircon

Weekly Downloads

1

Version

0.0.9

License

MIT

Last publish

Collaborators

  • zwaldowski