homebridge-philips-air icon indicating copy to clipboard operation
homebridge-philips-air copied to clipboard

Can't get my AC2889/10 to respond

Open MartinJRS opened this issue 2 years ago • 13 comments

Hello, just installed your plugin. Unfortunately my device is not really responding. Hope it helps to figure out the problem when posting relevant lines from my protocol:

[16/09/2022, 14:59:04] [Philips AC2889/10] Initializing philipsAir platform... [16/09/2022, 14:59:05] [Philips AC2889/10] [Philips AC2889/10] Initializing accessory... [16/09/2022, 14:59:05] [Philips AC2889/10] [Philips AC2889/10] Unable to load firmware info: Error: connect ECONNREFUSED 192.168.178.163:80 [16/09/2022, 14:59:05] [Philips AC2889/10] [Philips AC2889/10] Unable to load status info: Error: connect ECONNREFUSED 192.168.178.163:80 [16/09/2022, 14:59:06] [Philips AC2889/10] [Philips AC2889/10] Unable to load filter info: Error: connect ECONNREFUSED 192.168.178.163:80 [16.09.2022, 15:00:05] [Philips Air] [Philips AC2889/10] Unable to get data for polling: Error: spawnSync python3 ETIMEDOUT. [16.09.2022, 15:00:05] If your have "Error: spawnSync python3 ETIMEDOUT" your need unplug the accessory from outlet for 10 seconds and plug again.

Thanks in advanced, Martin

MartinJRS avatar Sep 16 '22 13:09 MartinJRS

I have now switched to COAP protocol and get this message in:

Traceback (most recent call last): File "/usr/local/lib/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 8, in from pyairctrl.coap_client import CoAPAirClient ModuleNotFoundError: No module named 'pyairctrl' [16/09/2022, 15:14:49] [Philips AC2889/10] [Philips AC2889/10] Unable to load filter info: Error: Command failed: python3 /usr/local/lib/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py --ipaddr 192.168.178.163 --protocol coap --status Traceback (most recent call last): File "/usr/local/lib/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 8, in from pyairctrl.coap_client import CoAPAirClient ModuleNotFoundError: No module named 'pyairctrl'

MartinJRS avatar Sep 16 '22 13:09 MartinJRS

hmmm, is there anybody out there?

MartinJRS avatar Sep 19 '22 13:09 MartinJRS

Seems like there is no more support for this plugin ...

MartinJRS avatar Sep 22 '22 05:09 MartinJRS

So ... this plugin is dead?

MartinJRS avatar Sep 24 '22 10:09 MartinJRS

How did you install your homebridge plugin? Through the hombridge UI? If not you may have forgotten to install py-air-control package.

The 2889/10 is normally supported (saw on reddit it was working fine for other)

Nivlac7 avatar Sep 26 '22 16:09 Nivlac7

Thanks for responding.

Yeah, I have installed through the HomeBridge UI. Uhm ... can I find some sort of instructions of how to get all done as required?

Thanks

MartinJRS avatar Sep 26 '22 17:09 MartinJRS

Alright, just did it, nothing complex but that's not fully done through Homebridge UI.

You have to install pithon py-air-control and update the CoAPthon3 dependency manually. So, in console (terminal in homebridge):

sudo apt install python3-pip git

sudo pip3 install py-air-control

sudo pip3 install -U git+https://github.com/rgerganov/CoAPthon3

You need to put COAP in the settings and the IP of the purifier.

Only issue I have for now is that I cannot power it ON through homekit.

Nivlac7 avatar Sep 28 '22 09:09 Nivlac7

Alright, thanks many times. Will try it out today ... will let you know.

MartinJRS avatar Sep 28 '22 12:09 MartinJRS

Can you please specify these steps?

1st: update the CoAPthon3 dependency manually 2nd: put COAP in the settings and the IP of the purifier

Appologies, I am a total noob in these things.

MartinJRS avatar Sep 28 '22 14:09 MartinJRS

Alright, I have now added the device's IP and switched to CoAP ... sorry.

But I don't know what to do with "update the CoAPthon3 dependency manually"

MartinJRS avatar Sep 28 '22 14:09 MartinJRS

You simply have to run the 3 commands I gave you in terminal

Le 28 sept. 2022 à 16:28, Martin @.***> a écrit :



Alright, I have now added the device's IP and switched to CoAP ... sorry.

But I don't know what to do with "update the CoAPthon3 dependency manually"

— Reply to this email directly, view it on GitHubhttps://github.com/NikDevx/homebridge-philips-air/pull/183#issuecomment-1261000332, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AJJHDPB54FVWJQSLYRVDG4DWARI2PANCNFSM6AAAAAAQOKGB64. You are receiving this because you commented.Message ID: @.***>

Nivlac7 avatar Sep 28 '22 14:09 Nivlac7

Okay, thank you very much. I have now done as described. Seems to work sort of ... when I toggle the Philips via HomeKit, it does not react always ... also the Homebridge Protocol prompts this message:

[AC2889] Unable to get data for polling: Error: spawnSync python3 ETIMEDOUT.

Did I miss something?

MartinJRS avatar Sep 28 '22 15:09 MartinJRS

I had a similar problem at the beginning so I went through all steps described by @Nivlac7. Right now it still doesn't work but I got some other messages: image Any ideas?

My config:

        {
            "devices": [
                {
                    "name": "Bedroom Philips Purifier",
                    "ip": "192.168.50.248",
                    "protocol": "coap"
                }
            ],
            "name": "Philips Air",
            "platform": "philipsAir"
        }

qubiack avatar Nov 09 '22 21:11 qubiack