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

1000i / AC1214/10 doesn't work .. #29

Open
The-Paw opened this issue Jan 14, 2022 · 5 comments
Open

1000i / AC1214/10 doesn't work .. #29

The-Paw opened this issue Jan 14, 2022 · 5 comments
Labels
bug Something isn't working

Comments

@The-Paw
Copy link

The-Paw commented Jan 14, 2022

14.1.2022, 17:10:40HOOBS1000i1000i: Purifier Mode: 1
14.1.2022, 17:10:41HOOBS1000i1000i: Purifier Active: 1
14.1.2022, 17:10:41HOOBS1000iWARNUNG1000i: An error occured during changing target purifier state!
14.1.2022, 17:10:41HOOBS1000iFEHLERError: Command failed: python3 /var/lib/hoobs/hoobs/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py -H 192.168.178.47 -P 5683 set mode=P
Traceback (most recent call last):
File "/var/lib/hoobs/hoobs/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py", line 6, in
from aioairctrl.main import main
ModuleNotFoundError: No module named 'aioairctrl'
14.1.2022, 17:10:41HOOBS1000iWARNUNG1000i: An error occured during changing purifier state!
14.1.2022, 17:10:41HOOBS1000iFEHLERError: Command failed: python3 /var/lib/hoobs/hoobs/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py -H 192.168.178.47 -P 5683 set pwr=1
Traceback (most recent call last):
File "/var/lib/hoobs/hoobs/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py", line 6, in
from aioairctrl.main import main
ModuleNotFoundError: No module named 'aioairctrl'

@The-Paw The-Paw added the bug Something isn't working label Jan 14, 2022
@The-Paw
Copy link
Author

The-Paw commented Jan 29, 2022

After installing pyaircontrol, the plugin is working .. but without pm2.5 (airquality) :-(( how can I fix it?

@The-Paw
Copy link
Author

The-Paw commented Jun 21, 2022

No Idea ??

@danielwwc
Copy link

I tested on AC1214 and it is working fine.
pm2.5 quality is expose to homekit. It is not showing as an icon but showing at climax.
The only down side is there is only On/Off. No mode switching. It is showing the fan speed in percentage.

{
            "active": true,
            "name": "Philips Air Purifier",
            "manufacturer": "Philips",
            "model": "AC1214",
            "serialNumber": "000000",
            "host": "192.168.0.208",
            "humidifier": false,
            "light": false,
            "temperature": false,
            "humidity": false,
            "sleepSpeed": true,
            "allergicFunc": true
}
image

@danielwwc
Copy link

there a bunch of error code though.

[24/12/2023, 21:01:59] [PhilipsAirPlatform] Philips Air Purifier: An error occured during changing purifier state!
[24/12/2023, 21:01:59] [PhilipsAirPlatform] Error: Command failed: python3 /var/lib/homebridge/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py -H 192.168.0.208 -P 5683 set pwr=1
Traceback (most recent call last):
  File "/var/lib/homebridge/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/aioairctrl/cli.py", line 138, in main
    asyncio.run(async_main())
  File "/usr/lib/python3.11/asyncio/runners.py", line 190, in run
    return runner.run(main)
           ^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/runners.py", line 118, in run
    return self._loop.run_until_complete(task)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/aioairctrl/cli.py", line 133, in async_main
    await client.shutdown()
  File "/usr/local/lib/python3.11/dist-packages/aioairctrl/coap/client.py", line 43, in shutdown
    await self._client_context.shutdown()
  File "/usr/local/lib/python3.11/dist-packages/aiocoap/protocol.py", line 320, in shutdown
    done, pending = await asyncio.wait([ri.shutdown() for ri in self.request_interfaces], timeout=3)
                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3.11/asyncio/tasks.py", line 415, in wait
    raise TypeError("Passing coroutines is forbidden, use tasks explicitly.")
TypeError: Passing coroutines is forbidden, use tasks explicitly.
sys:1: RuntimeWarning: coroutine 'TokenManager.shutdown' was never awaited
Exception ignored in: <function RecvmsgSelectorDatagramTransport.__del__ at 0x7fbc39e200>
Traceback (most recent call last):
  File "/usr/local/lib/python3.11/dist-packages/aiocoap/util/asyncio/recvmsg.py", line 95, in __del__
  File "/usr/local/lib/python3.11/dist-packages/aiocoap/util/asyncio/recvmsg.py", line 83, in close
  File "/usr/lib/python3.11/asyncio/base_events.py", line 761, in call_soon
  File "/usr/lib/python3.11/asyncio/base_events.py", line 519, in _check_closed
RuntimeError: Event loop is closed

    at ChildProcess.exithandler (node:child_process:422:12)
    at ChildProcess.emit (node:events:517:28)
    at maybeClose (node:internal/child_process:1098:16)
    at Socket.<anonymous> (node:internal/child_process:450:11)
    at Socket.emit (node:events:517:28)
    at Pipe.<anonymous> (node:net:350:12) {
  code: 1,
  killed: false,
  signal: null,
  cmd: 'python3 /var/lib/homebridge/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py -H 192.168.0.208 -P 5683 set pwr=1'
}

@cson2701
Copy link

cson2701 commented May 2, 2024

@danielwwc I have an AC2939. It works by turning on/off, showing current fan speed and light status. However, it can't change the fan speed. I get an error similar to yours. Did you solve your problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants