0.0.9 • Published 7 years ago

homebridge-anavi-infrared-aircon v0.0.9

Weekly downloads
5
License
MIT
Repository
github
Last release
7 years ago

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
0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago