/broadlink-adafruitio

Bridge between Broadlink IR device and Adafruit IO cloud

Primary LanguagePython

Broadlink/Adafruit.IO Bridge

Quick script to toggle the power of my PTAC (air conditioner) from my phone.

Requirements

Setup

  1. Connect Broadlink device to your wifi network using the horrible official app or python-broadlink.
  2. Create an IFTTT applet using the Button widget and Adafruit service.
  3. Run this script on an always-on computer on your LAN.

Running

$ pip install pipenv
$ pipenv install
$ python main.py