ohmantics / homebridge-airmega

Homebridge plugin for the Coway Airmega air purifier series
9 stars 2 forks source link

Possible fix for #7 #38

Closed pkkemp closed 1 year ago

pkkemp commented 1 year ago

This is meant to address issue #7, I had the same problem that others described and found that my IOCare app was sending an additional key/value pair in the payload to the iocareapp endpoint. When I added mqttDevice: true to the control payload the device responded to changes made in the Home app.

I'm not sure if this will break other versions of the 400S though, so it needs to be tested with a 400S that doesn't expect this key/value pair.

ohmantics commented 1 year ago

Fascinating. My 400S works without changes. I suspect that you have one of the newer models and perhaps that's sensitive to this change.

Could you try running the version in the alexr/log_mcu_version branch (commit 8ad75a7db3f256e2f6af48bee40cc136ca0ff5ec) with debug enabled and share the body of the MCU version response? The older 400S model basically replies to that with all empty/zero values.