rgerganov / py-air-control

Command line app for controlling Philips air purifiers
MIT License
257 stars 52 forks source link

Updated airctrl for late 2019 models #32

Closed shexbeer closed 4 years ago

shexbeer commented 4 years ago

New Client can be switched on with --protocol 2 option. Maybe the _dump_status method can be extracted out possibly as it is very similar in both classes

rgerganov commented 4 years ago

Thanks a lot for this contribution! I have merged your commits and made a small change on top to use protocol names (HTTP, CoAP) instead of numbers (1,2). I hope you are fine with this.