haier-ac-remote
A node module remote controller for Haier air conditioner.
Usage
$ npm install haier-ac-remote
Examples
Local example
see example here
git clone git@github.com:bstuff/haier-ac-remote.git
cd packages/haier-ac-remote
npm install
- Write
ip
andmac
of your haier conditioner insrc/examples/index.ts
. - Run
npm run example
- use keyboard keys:
w
to power ons
to power off↑
to increase temperature↓
to decrease temperature
Example usage in other projects
; ; // turn onawait ac.on; // set mode to heatawait ac.changeState; // set temperature to 23*await ac.changeState; // turn offawait ac.off;