ohmantics / homebridge-airmega

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

[ERROR] Unable to get current state. Cannot read properties of undefined (reading 'prodStatus') #59

Open cjtylr opened 4 months ago

cjtylr commented 4 months ago

Hey there,

In the last 18 hours, my Airmega units stopped responding in the Home app. Went to Homebridge and saw a few errors:

I've tried a few things, none of which have worked:

  1. Reverting to an earlier version (3.4.0 and 3.3.2)
  2. Uninstalling/re-installing the plugin
  3. Changing my Coway password

Any thoughts? Thanks!

ohmantics commented 4 months ago

Apparently Coway changed their entire API today. I'll be looking at it ASAP.

cjtylr commented 4 months ago

Thank you!

pintapass commented 2 months ago

Just checking on the status of this. I just re-enabled my AirMega plugin as a child bridge in HB and was wondering if this was causing the continued 'prodStatus' issues? Or is it still a Coway API thing?

ohmantics commented 2 months ago

I'm working on it still. Yes, the entire Coway API did change and this plugin needs to be revamped to the new API.

chuuya33 commented 2 months ago

I found another homebridge plugin that seems to use the new API but not working for my Airmega 250S. Don't know if it will help you to update the plugin. I am not a tech person so I cannot really tell how much work need to be implemented. Thank you and looking for the update! https://github.com/OrigamiDream/homebridge-coway

elijahbutler commented 2 months ago

I have this problem as well. Tried the plugin linked by @chuuya33 and did not work for my 250S either. I'm not a dev but let me know any way I can help here!

shamanskyh commented 1 month ago

I spent some time this weekend modifying the plugin found by @chuuya33 to support my Airmega 300S. I've updated my fork (main branch) if anyone would like to try it out https://github.com/shamanskyh/homebridge-coway.

I attempted to modify this plugin a bit, but didn't get very far, and the other plugin seemed a bit more straightforward to me. I very much appreciate all the effort that's gone into developing this plugin, though, and hope that this is useful if folks want to take it further/edit things.

Some caveats:

So anyway, I hope someone finds this helpful. I'm fairly busy at the moment and I can't really provide technical support if you want to try it out (or need assistance installing it), but this has been working for me so far. Very open to feedback if others want to leave it on my fork.