rgerganov / py-air-control

Command line app for controlling Philips air purifiers
MIT License
266 stars 53 forks source link

AC2729/50: Unable to load firmware info #72

Open m-stefanski opened 3 years ago

m-stefanski commented 3 years ago

I got issue with my AC2729/50. Setting speeds and turning on lights would work, bo no information about air quality would be reported and following log line was displayed on startup.

Unable to load firmware info: TypeError: Cannot read property 'replace' of undefined

The problem is already discussed and solved here:

https://github.com/rgerganov/py-air-control/issues/35#issuecomment-631899965

And involves a change in coapthon/client/coap.py.

I am unsure how to raise this - is there any way (apart from manually modifying the file, which I did and solved the issue) - to make this fix available for everyone?

Cyber1000 commented 3 years ago

Well you should use "pip3 install -U git+https://github.com/rgerganov/CoAPthon3", like the Readme.md in this repo states. There were some other issues with the CoAPthon3, so @rgerganov decided to fork this. There is already the change included you mention: https://github.com/rgerganov/CoAPthon3/blob/master/coapthon/client/coap.py