Skip to content

MQTT + raspberry pi + lirc = air conditioner remote

Notifications You must be signed in to change notification settings

ro31337/ac-remote

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ac-remote

MQTT + raspberry pi + lirc = air conditioner remote

Currently uses Adafruit.IO as a MQTT broker.

setup

Requires Node.js 6 (or newer) and npm.

Install dependencies: npm i

Run the client: AIO_USERNAME=XXX AIO_KEY=XXX AIO_FEED=XXX npm start

  • AIO_USERNAME: your Adafruit.IO username
  • AIO_KEY: your Adafruit.IO secret key
  • AIO_FEED: the name of the feed

(see https://learn.adafruit.com/adafruit-io/mqtt-api)

When a message is recieved, the client will attempt to dedupe it, and run lirc SEND_ONCE AirConditioner POWER. (This of course assumes that you have lirc set up and configured.)

TODO

  • Make lirc command configurable
  • Allow public feeds
  • Web console

About

MQTT + raspberry pi + lirc = air conditioner remote

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%