Skip to content

Issue with COAP on AC1214 #82

@mj16792

Description

@mj16792

Whenever I use COAP or Plain COAP I get a string of errors, even though I can find the purifier on my home bridge.

For example:

This plugin generated a warning from the characteristic 'Filter Life Level': characteristic value expected valid finite number and received "NaN" (number). See https://git.io/JtMGR for more info.

And:

[Bedroom Purifier] 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.58 --protocol coap --status
Give up on message From None, To ('192.168.178.58', 5683), CON-2602, POST-ZF, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] AF0BBB79...8 bytes
Traceback (most recent call last):
File "/usr/local/lib/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 123, in
main()
File "/usr/local/lib/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 99, in main
c = CoAPCli(args.ipaddr)
File "/usr/local/lib/node_modules/homebridge-philips-air/node_modules/philips-air/pyaircontrol.py", line 15, in init
self._client = CoAPAirClient(host, port, False)
File "/usr/local/lib/python3.7/dist-packages/pyairctrl/coap_client.py", line 80, in init
self._sync()
File "/usr/local/lib/python3.7/dist-packages/pyairctrl/coap_client.py", line 96, in _sync
raise Exception("sync timeout")
Exception: sync timeout

Seems to be slowing down my entire Homebridge set up as it works through these errors very few mins, have had to remove the purifier for now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions