Giter VIP home page Giter VIP logo

homebridgepluginsamsungairconditioner's Introduction

Homebridge-plugin-samsung-air-conditioner

npm version

Homebridge plugin for controlling Samsung Air Conditioner working on port 2878. Allows to control AC with HomeKit and Siri. If you have Samsung AC which operates on port 8888, check this plugin instead: https://github.com/cicciovo/homebridge-samsung-airconditioner

Installation

  1. Install Homebridge.
  2. Install this plugin by running npm install -g homebridge-plugin-samsung-air-conditioner.
  3. Assign static IP address to your AC (check your router settings to do that).
  4. Run homebridge-samsung-ac-get-token <your ac's ip address> in terminal and follow instructions.
  5. Update your Homebridge config.json. Check config-sample.json for reference.
    • Required parameters:
      • accessory - always "Samsung Air Conditioner"
      • name - Name of your device
      • ip_address - IP address of air conditioner
      • mac - MAC address of air conditioner in format AA:BB:CC:DD:EE:FF or AA-BB-CC-DD-EE-FF
      • token - token returned by homebridge-samsung-ac-get-token <your ac's ip address>
    • Optional parameters:
      • log_socket_activity - true/false (default false). If true then logs additional raw data to console
      • keep_alive - dictionary with keep alive settings:
        • enabled - true/false (default true). If true then enables keep alive on underlying socket
        • initial_delay - milliseconds as integer (default 10000). Time which needs to pass after last write to socket before sending first keep alive packet
        • interval - milliseconds as integer (default 10000). Time between keep alive packes
        • probes - integer (default 10). Number of keep alive packets to fails before treating connection as closed

Features

  • Turning AC on and off
  • Getting and setting target temperature
  • Getting current temperature
  • Getting and setting mode
  • Getting and setting swing mode
  • Getting and setting wind level
  • Reacting to changes made by using AC's remote

Confirmed compatibility list (model numbers)

  • AR12HSSFAWKNEU
  • AR18HSFSAWKNEU
  • AR12HSFSAWKN
  • AR24FSSSBWKN
  • AR12FSSEDWUNEU
  • AR09HSSDBWKN

If your device's number is not on the list but you have tested it and it works, please make a PR with your device's number.

Acknowledgment

This project is heavily based on awesome work of CloCkWeRX - https://github.com/CloCkWeRX/node-samsung-airconditioner

homebridgepluginsamsungairconditioner's People

Contributors

23doors avatar branigan avatar gaborszello avatar kkoscielniak avatar sebastianosinski avatar segunlee 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.