karlg100 / homebridge-frigidaire

homebridge Platform plugin for Frigidaire connected appliances
29 stars 10 forks source link

AEG PX71-265WT with Homebridge #40

Open Chri5chu opened 2 years ago

Chri5chu commented 2 years ago

Hi there,

first of all. Thanks for your idea to automate an AC with Homebridge. I recently bought an AEG PX71-265WT which schould be the same as the frigidaire.

I read the few Issues before me an want to ask if there could have been anything done to make this plugin work with the european AC. It would be nice to get it in my Homekit. I really hate using more than one App. If you need an information feel free to ask. I'm not able to code but I'm able to follow instructions.

MobileManiC commented 2 years ago

Actually same as https://github.com/karlg100/homebridge-frigidaire/issues/21#issuecomment-867232447

...but I never had a time to provide reverse-engineered connection analysis that is needed to implement proper API endpoint.

Chri5chu commented 2 years ago

If you tell me what to do and what you need to know I would be happy to help. I'm getting the AC at thursday and can test everything after that. Just need to know what to test and what information is important.

MobileManiC commented 2 years ago

It's written there by https://github.com/karlg100 in https://github.com/karlg100/homebridge-frigidaire/issues/21#issuecomment-867232447, that's what he would need.. Technically, you need to establish any proxy into your network that would be able to intercept traffic between AC and the cloud servers, and send this captured traffic here for analysis.

servo77 commented 2 years ago

I was able to intercept the traffic between the Home Comfort app and the cloud server (app->cloud) and between the cloud server and the device (cloud->AC). The communication app-> cloud is done via UDP to port 1999 and cloud->AC is UDP from port 16384 to some 16385+. Sometimes the packets have a JSON like this: { "ac_pwr": 1, "filreset": 0, "qtmode": 0, "scrdisp": 0, "disimode": 0, "i_clean": 0, "insectrepellent": 0, "ac_hdir": 0, "ac_vdir": 0, "ac_mark": 0, "tempunit": 1, "temp": 20, "envtemp": 20, "ac_mode": 4, "anionmode": 0, "mldprf": 0, "ac_coldplasma": 0, "espmode": 0, "ecomode": 0, "smarteyes": 0, "ac_slp": 0, "drmode": 4, "drtime": 0, "timer": "1858|01|0104|00", "ac_errcode": 0, "pid": "xxx", "did": "yyy" } but no HTTP or RESTful communication. Not sure, what implementation is that, didn't find any after a quick search.