I've been recently looking for an API for Philip Air Purifier 2000i. I've noticed that I can ping the IP at http://10.0.1.51 which returns
{"error":"Badly formed (DI Comm) request "}
After setting up the mobile app and inspecting the traffic I've noticed a few endpoints but I'm currently getting a strange base64 application/octet-stream
out of the device.
I've put this here to help others.
http://10.0.1.51/di/v1/products/0/userinfo
- Returns 200 but base64 Content-Type: application/octet-stream
http://10.0.1.51/di/v1/products/1/device
- Returns 200 but base64 Content-Type: application/octet-stream
http://10.0.1.51:80/di/v1/products/1/air This is the API that controls the purifier, I can repeat the command and it'll start the fan.
http://10.0.1.51/upnp/description.xml UPnP Description, returns XML
<?xml version="1.0"?><root xmlns="urn:schemas-upnp-org:device-1-0"><specVersion><major>1</major><minor>1</minor></specVersion><device><deviceType>urn:philips-com:device:DiProduct:1</deviceType><friendlyName>Living Room</friendlyName><manufacturer>Royal Philips Electronics</manufacturer><modelName>AirPurifier</modelName><modelNumber>AC2889</modelNumber><UDN>uuid:12345678-1234-1234-1234-e8c1d7002005</UDN><cppId>e8c1d7fffe002005</cppId></device></root>
Cool! I'm also interessted in this. Any news on the progress?