rgerganov / py-air-control

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

homey support , all is working fine. #23

Open biemond opened 4 years ago

biemond commented 4 years ago

thanks for your hard work.

I am made a nodejs homey app, see https://homey.app/en-us/app/com.athom.philipsair/Philips-Air/ . and it works awesome, with triggers , conditions and insights.

homey has nodejs 8 embedded so it was a challenge with bigint, modulo Power and AES but comparing your pip data with my local data solved all my issues.

Keep up the good work and I gave you credits on my readme.

Also how did you find out about this cloud thing. they keep this very secret somehow.

Cheer Edwin

rgerganov commented 4 years ago

Thanks for the feedback and the credits :) You can read about the cloud control on my blog: https://xakcop.com/post/cloud-air-purifier/

webosa commented 4 years ago

Any chance of getting this to work with Smartthings .. started looking to that myself, but I am way over my head there.

biemond commented 4 years ago

you mean with homey? so homey can replace the smartthings hub. so you can use triggers or conditions and make your flows to do things and combine this with the air purifier

biemond commented 4 years ago

@rgerganov with your decompiler action did you see something like supported options per device.

For example for mode on AC5659_10 I only support

mode_str = {'P': 'auto', 'A': 'allergen', 'M': 'manual', 'B': 'bacteria'}

and not sleep or night. like you are showing.

    mode_str = {'P': 'auto', 'A': 'allergen', 'S': 'sleep', 'M': 'manual', 'B': 'bacteria', 'N': 'night'}
rgerganov commented 4 years ago

Yes, it should be possible to detect the purifier model and then filter only the options available for it but I think this is an overkill.