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

Error with Philips AC0650/10 #173

Open
Manuel3190 opened this issue Aug 9, 2024 · 1 comment
Open

Error with Philips AC0650/10 #173

Manuel3190 opened this issue Aug 9, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@Manuel3190
Copy link

Describe the bug
Hy i try to get Philips AC0650/10 to work

Expected behavior
Connect to the Air and shutdown

Logs
[9.8.2024, 13:43:26] [PhilipsAirPlatform] Philips AIR: Purifier Active: 0
[9.8.2024, 13:43:27] [PhilipsAirPlatform] Philips AIR: An error occured during changing purifier state!
[9.8.2024, 13:43:27] [PhilipsAirPlatform] Error: Command failed: python3 /var/lib/homebridge/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py -H 10.0.0.157 -P 5683 set pwr=0
ConnectionRefusedError: [Errno 111] Connection refused

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "/var/lib/homebridge/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py", line 10, in
sys.exit(main())
^^^^^^
File "/usr/local/lib/python3.12/dist-packages/aioairctrl/cli.py", line 138, in main
asyncio.run(async_main())
File "/usr/lib/python3.12/asyncio/runners.py", line 194, in run
return runner.run(main)
^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/runners.py", line 118, in run
return self._loop.run_until_complete(task)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.12/asyncio/base_events.py", line 687, in run_until_complete
return future.result()
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/aioairctrl/cli.py", line 97, in async_main
client = await CoAPClient.create(host=args.host, port=args.port)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/aioairctrl/coap/client.py", line 38, in create
await obj._init()
File "/usr/local/lib/python3.12/dist-packages/aioairctrl/coap/client.py", line 33, in _init
await self._sync()
File "/usr/local/lib/python3.12/dist-packages/aioairctrl/coap/client.py", line 54, in _sync
response = await self._client_context.request(request).response
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/dist-packages/aiocoap/protocol.py", line 832, in _run_outer
await cls._run(app_request, response, weak_observation, protocol, log)
File "/usr/local/lib/python3.12/dist-packages/aiocoap/protocol.py", line 884, in _run
blockresponse = await blockrequest.response
^^^^^^^^^^^^^^^^^^^^^^^^^^^
aiocoap.error.NetworkError: [Errno 111] Connection refused
Exception ignored in: <function RecvmsgSelectorDatagramTransport.del at 0x766aa38154e0>
Traceback (most recent call last):
File "/usr/local/lib/python3.12/dist-packages/aiocoap/util/asyncio/recvmsg.py", line 95, in del
File "/usr/local/lib/python3.12/dist-packages/aiocoap/util/asyncio/recvmsg.py", line 83, in close
File "/usr/lib/python3.12/asyncio/base_events.py", line 795, in call_soon
File "/usr/lib/python3.12/asyncio/base_events.py", line 541, in _check_closed
RuntimeError: Event loop is closed

at genericNodeError (node:internal/errors:984:15)
at wrappedFn (node:internal/errors:538:14)
at ChildProcess.exithandler (node:child_process:422:12)
at ChildProcess.emit (node:events:519:28)
at maybeClose (node:internal/child_process:1105:16)
at Process.ChildProcess._handle.onexit (node:internal/child_process:305:5) {

code: 1,
killed: false,
signal: null,
cmd: 'python3 /var/lib/homebridge/node_modules/homebridge-philipsair-platform/lib/pyaircontrol.py -H 10.0.0.157 -P 5683 set pwr=0'
}

Environment

  • Node.js Version: v20.16.0
  • Homebridge Version: 1.8.4
  • Operating System: Ubuntu 24.04
@Manuel3190 Manuel3190 added the bug Something isn't working label Aug 9, 2024
@Manuel3190
Copy link
Author

i try now a differnt Protocol

[Air] Unable to load filter info: Error: spawnSync python3 ETIMEDOUT

Also some different error

no one here to help me?

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

1 participant