-
Notifications
You must be signed in to change notification settings - Fork 55
Open
Description
I was using py-air-control for some months to control my AC2889/10 without problems. Since today it does not work any longer although I have changed absolutely nothing. I can switch on and switch off the air purifier using
airctrl --ipaddr 192.168.0.84 --protocol coap --pwr (0|1)
But when calling airctrl --ipaddr 192.168.0.84 --protocol coap
I now get the following almost on every call:
2021-07-05 13:44:32,524 - MainThread - coapthon.layers.messagelayer - DEBUG - send_request - From None, To ('192.168.0.84', 5683), None-None, POST-kR, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] A0852A76...8 bytes
2021-07-05 13:44:32,525 - MainThread - coapthon.client.coap - DEBUG - send_datagram - From None, To ('192.168.0.84', 5683), CON-49660, POST-kR, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] A0852A76...8 bytes
2021-07-05 13:44:32,526 - Thread-1 - coapthon.client.coap - DEBUG - Start receiver Thread
2021-07-05 13:44:32,527 - MainThread-Retry-49660 - coapthon.client.coap - DEBUG - retransmit loop ... enter
2021-07-05 13:44:34,837 - MainThread-Retry-49660 - coapthon.client.coap - DEBUG - retransmit loop ... retransmit Request
2021-07-05 13:44:34,837 - MainThread-Retry-49660 - coapthon.client.coap - DEBUG - send_datagram - From None, To ('192.168.0.84', 5683), CON-49660, POST-kR, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] A0852A76...8 bytes
2021-07-05 13:44:37,532 - MainThread-Retry-49660 - coapthon.client.coap - WARNING - Give up on message From None, To ('192.168.0.84', 5683), CON-49660, POST-kR, [Uri-Path: sys, Uri-Path: dev, Uri-Path: sync, ] A0852A76...8 bytes
2021-07-05 13:44:37,534 - MainThread-Retry-49660 - coapthon.client.coap - DEBUG - retransmit loop ... exit
2021-07-05 13:44:37,535 - Thread-1 - coapthon.client.coap - DEBUG - Exiting receiver Thread due to request
Traceback (most recent call last):
File "/home/pi/.local/bin/airctrl", line 10, in <module>
sys.exit(main())
File "/home/pi/.local/lib/python3.7/site-packages/pyairctrl/airctrl.py", line 448, in main
c = CoAPCli(device["ip"], debug=args.debug)
File "/home/pi/.local/lib/python3.7/site-packages/pyairctrl/airctrl.py", line 15, in __init__
self._client = CoAPAirClient(host, port, debug)
File "/home/pi/.local/lib/python3.7/site-packages/pyairctrl/coap_client.py", line 80, in __init__
self._sync()
File "/home/pi/.local/lib/python3.7/site-packages/pyairctrl/coap_client.py", line 96, in _sync
raise Exception("sync timeout")
Exception: sync timeout
But this does not happen on every call. A small number of calls (roundabout 1 of 20) succeed and return the correct status:
[name] Name: Luftreiniger
[type] Type: AC2889
[modelid] ModelId: AC2889/10
[swversion] Version: 1.0.7
[range] range: Comfort
[Runtime] Runtime: 0.84 hours
[WifiVersion] WifiVersion: AWS_Philips_AIR@64.3
[ProductId] ProductId: be10acb2e62411e8a1e3061302926720
[DeviceId] DeviceId: 47bf972690a911eb8f480aa926c8d24c
[StatusType] StatusType: status
[ConnectType] ConnectType: Online
[om] Fan speed: 0
[pwr] Power: OFF
[cl] Child lock: False
[aqil] Light brightness: 100
[uil] Buttons light: ON
[mode] Mode: allergen
[pm25] PM25: 4
[iaql] Allergen index: 1
[aqit] Air quality notification threshold: 7
[ddp] Used index: IAI
[fltt1] HEPA filter type: NanoProtect Filter Series 3 (FY2422)
[fltt2] Active carbon filter type: NanoProtect Filter AC (FY2420)
[fltsts0] Pre-filter and Wick: clean in 233 hours
[fltsts1] HEPA filter: replace in 4313 hours
[fltsts2] Active carbon filter: replace in 1913 hours
Is this a known problem and there is a solution for that?
hundehausenServus7
Metadata
Metadata
Assignees
Labels
No labels