Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get my AC2889/10 to respond #183

Open
wants to merge 7 commits into
base: master
Choose a base branch
from
Open

Can't get my AC2889/10 to respond #183

wants to merge 7 commits into from

Conversation

MartinJRS
Copy link

@MartinJRS MartinJRS commented Sep 16, 2022

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
Copy link
Author

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
Copy link
Author

hmmm, is there anybody out there?

@MartinJRS
Copy link
Author

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

@MartinJRS
Copy link
Author

So ... this plugin is dead?

@Nivlac7
Copy link

Nivlac7 commented Sep 26, 2022

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)

@MartinJRS
Copy link
Author

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

@Nivlac7
Copy link

Nivlac7 commented Sep 28, 2022

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.

@MartinJRS
Copy link
Author

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

@MartinJRS
Copy link
Author

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
Copy link
Author

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"

@Nivlac7
Copy link

Nivlac7 commented Sep 28, 2022 via email

@MartinJRS
Copy link
Author

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?

@qubiack
Copy link

qubiack commented Nov 9, 2022

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"
        }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants