steedferns / homebridge-roomba980

Roomba 980 support for Homebridge
Apache License 2.0
11 stars 1 forks source link

Can't always get status #5

Open nitaybz opened 7 years ago

nitaybz commented 7 years ago

I've been using your plugin for a while now... works great except one thing. sometimes when I open Home app the iRobot (980) not always returning the status, therefor making the app stuck with "No Response" State on all accessories.

what I think is happening is that the status is not updating which makes homebridge not to close the connection with the iRobot, I can also see it in iRobot app when this state happen I can only connect from the cloud.

what I suggest to do is either set a timer on the connection so when it's not updating it will close the connection and start a new one, and maybe add a close connection command before any set or get status, making sure it will start a clean new command

jacobwtyler commented 6 years ago

Same issue here. It only happens every week or so but my other Roomba plug-in which also uses the dorita989 rest980 stuff still works (it’s the SmartThings implementation). The only fix I can find is to hold the power button manually on the Roomba for few seconds to reboot the connection. It makes since that homekit is possibly shutting down the connection because it doesn’t seem to be affected my other Roomba plugin. On a side note, what’s the difference between the HomeBridge-roomba980 plugin and the HomeBridge-Roomba plugin? I have a 980. Should I switch to the other plugin to resolve this issue? Thanks.