ohmantics / homebridge-airmega

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

250S [ERROR] Unable to set fan speed. Error: connect ECONNREFUSED XX.XXX.XXX.XXX:XXX #48

Open okayzac opened 1 year ago

okayzac commented 1 year ago

I've been able to setup my Airmega 250S successfully after the newest updates (thank you!) But it doesn't take every single command. Initial install it was largely unresponsive to changes and would give "[@ohmantics/homebridge-airmega] This plugin slows down Homebridge. The read handler for the characteristic 'Air Quality' was slow to respond! See https://homebridge.io/w/JtMGR for more info." So I installed it on a child bridge and it is much more responsive but randomly will give the ECONNREFUSED for different variables.

ohmantics commented 1 year ago

That's a sign that networking isn't working reliably. It could be the Coway servers acting up, but it could also be anything else along the way, including connectivity inside your home.

I've been thinking about how to improve resiliency. It'll need some refactoring.