bmartin5692 / bumper

A standalone and self-hosted implementation of the central server used by Ecovacs vacuum robots.
GNU General Public License v3.0
283 stars 48 forks source link

Online status is "Offline" #72

Open freggala opened 4 years ago

freggala commented 4 years ago

Describe the bug With the Ecovacs HOME app and a OZMO 950 connected to bumper, I found that the online-status of the robot is displayed as"Offline" when e.g. returning from the robot's "detail view" (i.e. from the screen where you control and observe the robot).

To Reproduce

  1. Start app.
  2. Select the robot.
  3. Hit the "<" button

Expected behavior The online-status in the robots list should reflect the real status of the bot.

Screenshots image

Desktop:

Smartphone:

Vacuum:

bmartin5692 commented 4 years ago

@freggala -

In the bots I've reviewed so far for them to show "online" within the app, the following happens:

  1. The app sends a version check to the robot.
  2. App waits for a response
    • (Online) If the robot returns a version (either via MQTT or XMPP) then it will switch to online.
    • (Offline) If the app doesn't receive a response or gets a timeout from the server it stays offline.

Could you provide debug logs for confserver and mqttserver for review? Hopefully it will shed light on what is happening.

freggala commented 4 years ago

Could you provide debug logs for confserver and mqttserver for review? Hopefully it will shed light on what is happening.

Ok, this is the mqttserver.log when returning to the robot's details activity to the overview list: mqttserver.log confserver.log is empty.

Then, when explicitly refreshing the robots list, I get this: confserver.log 2mqttserver.log