haier-ac-remote icon indicating copy to clipboard operation
haier-ac-remote copied to clipboard

Update npm package

Open Nixellion opened this issue 4 years ago • 5 comments

NPM package needs to be updated to support all changes like unique IDs which allow using more than 1 AC at a time.

Without updating NPM it's going to be hard (if possible at all) to install plugin on docker homebridge version with Homebridge UI.

I'm not sure if this can be done by anyone but the maintainer?

Help, please.

Nixellion avatar Oct 15 '21 11:10 Nixellion

A workaround for those who are interested in this integration and how to apply this change to docker based Homebridge install.

You need to find directory where the /homebridge volume or folder is mounted to on your host system. In my case it was /var/lib/docker/volumes/afa9570f8manyrandomnumbers07feabdba7/_data

From there proceed to /node_modules/homebridge-haier-ac/dist (/var/lib/docker/volumes/afa9570f8manyrandomnumbers07feabdba7/_data/node_modules/homebridge-haier-ac/dist in my case)

Edit haier.js file to apply the change described in this pull request: https://github.com/bstuff/haier-ac-remote/pull/30/files

I then restarted the entire docker host just in case. And then I had to unpair HomeBridge from HomeAssistant, reset it from Homebridge UI - Homebridge settings - Reset Homebridge Accessor. And then add it back to HomeAssistant.

It now correctly found both ACs and I can confirm that I can control both of them independently from the UI.

Wohoo! :D

Would still be good to update npm package.

Nixellion avatar Oct 15 '21 12:10 Nixellion

I was doing all steps from post above but I can control only one AC. I have two Haier ACs...

EDIT: AC with firmware R_1.0.00/e_2.3.12 working ok but I can not control unit with firmware R_1.0.00/e_2.5.14.

mojrs10 avatar Jan 21 '23 10:01 mojrs10

Thanks for the extra info, someone will definitely find it useful. Do you mean the AC firmware or the USB-stick firmware? This clarification might also help someone who stumbles upon this.

Nixellion avatar Jan 23 '23 11:01 Nixellion

AC firmware

mojrs10 avatar Jan 23 '23 11:01 mojrs10

I read on one forum that it is a firmware for a usb stick. Now I'm not even sure myself. I found this information about the firmware in the SmartAir2 application.

mojrs10 avatar Jan 24 '23 17:01 mojrs10