Closed kenblu24 closed 7 months ago
It was caused by them killing off yet another old API endpoint. To get ahead of this, I've gone ahead and replaced all the endpoints that are used to fetch info about purifiers with the new API.
The error they were returning had nothing to do with the actual issue at hand.
returns
{'header': {'result': False, 'error_code': 'CWIG0615CWIDP0014', 'error_text': '해당 회원이 등록하지 않은 기기 입니다.', 'info_text': '', 'message_version': '', 'login_session_id': '', 'trcode': 'CWIG0615', 'accessToken': _, 'refreshToken': _}
For reference,
async_get_purifiers()
returns:worth noting I'm not experienced with async stuff; I did this in a
python -m asyncio
instance which doesn't seem 100% stableI removed/added the purifier to my account again this morning to try troubleshooting your new update, but got "Coway API error: Coway server failed to return purifier MCU version." Not sure why it says the device hasn't been registered, but I can see the purifier in the IOCare app just fine and as you can see it shows up in the API...
I can provide account credentials for debugging/dev purposes.
Thanks for your time :)