mylesagray / homebridge-blueair

BlueAir air purifier plugin for homebridge
Apache License 2.0
39 stars 20 forks source link

API Changed #46

Open wgalternate opened 3 years ago

wgalternate commented 3 years ago

Seems that new API is using AWS. Im no programmer, but trying to edit Myle's code to make it work with the new API. Unfortunately I'm stuck at the moment due to the POST request coming back with an incomplete body of the JSON. Suspecting that it's chunked, but I'm not sure how to go about bringing in the full body of the JSON.

Seems to come back in full when using a curl script.. just not through the js request for some reason.

fjs21 commented 3 years ago

The fork at https://github.com/fjs21/homebridge-blueair is currently working. I didn't see any differences with the API.