homebridge-plugin-samsung-air-conditioner
v3.1.0
Published
Homebridge plugin for controlling Samsung Air Conditioners working on port 2878
Downloads
57
Maintainers
Readme
Homebridge-plugin-samsung-air-conditioner
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
- Install Homebridge.
- Install this plugin by running
npm install -g homebridge-plugin-samsung-air-conditioner
. - Assign static IP address to your AC (check your router settings to do that).
- Run
homebridge-samsung-ac-get-token <your ac's ip address>
in terminal and follow instructions. - Update your Homebridge
config.json
. Checkconfig-sample.json
for reference.- Required parameters:
accessory
- always "Samsung Air Conditioner"name
- Name of your deviceip_address
- IP address of air conditionermac
- MAC address of air conditioner in formatAA:BB:CC:DD:EE:FF
orAA-BB-CC-DD-EE-FF
token
- token returned byhomebridge-samsung-ac-get-token <your ac's ip address>
- Optional parameters:
log_socket_activity
-true
/false
(defaultfalse
). Iftrue
then logs additional raw data to consolekeep_alive
- dictionary with keep alive settings:enabled
-true
/false
(defaulttrue
). Iftrue
then enables keep alive on underlying socketinitial_delay
- milliseconds as integer (default10000
). Time which needs to pass after last write to socket before sending first keep alive packetinterval
- milliseconds as integer (default10000
). Time between keep alive packetsprobes
- integer (default10
). Number of keep alive packets to fails before treating connection as closed
- Required parameters:
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