Giter Site home page Giter Site logo

smart-ac's Introduction

smart-ac

Controls a Mitsubishi air conditioner remotely with a Raspberry Pi.

Wire an infrared LED to one of the GPIO pins of the RPi, and then run the server.

Run the client on Android or Python to control the AC.

IMPORTANT:

This repo is mostly a proof-of-concept and is not secure. Specifically, the server is set to accept a specific unencrypted string passwordstring as a pseudo-password. This makes it vulnerable to a man in the middle attack where someone else could control your AC if they really wanted to.

Dependencies (for the server only):

Client

The client can either be run on a desktop as a Python script client.py or as an Android app (source code in the android folder).

In either case, edit SERVER_IP and SERVER_PORT to your use case.

Make sure to port forward if your client is remote on a different network.

Python Script

The Python script is very barebones compared to the Android app, and only includes an on/off button in a Tkinter GUI.

Android App

Includes a GUI for controlling temperature, fan speed, vane, etc.

Server

The server is run as a Python script server.py.

Again, edit SERVER_IP and SERVER_PORT to your use case.

Also edit GPIO_PIN to the pin that your IR LED is wired to.

smart-ac's People

Contributors

juliesaia avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.