Online status is "Offline" #72

Open
opened 2019-12-29 16:00:04 +01:00 by freggala · 2 comments
freggala commented 2019-12-29 16:00:04 +01:00 (Migrated from github.com)

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:

  • OS: Debian Buster

Smartphone:

  • Device: SM-N950F
  • OS: Android 8.0.0

Vacuum:

  • Model: OZMO950
**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](https://user-images.githubusercontent.com/33377877/71558470-1966ac00-2a54-11ea-9e02-e9db748505cb.png) **Desktop:** - OS: Debian Buster **Smartphone:** - Device: SM-N950F - OS: Android 8.0.0 **Vacuum:** - Model: OZMO950
bmartin5692 commented 2019-12-29 16:34:12 +01:00 (Migrated from github.com)

@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 - 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 2019-12-29 16:49:39 +01:00 (Migrated from github.com)

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

> 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](https://github.com/bmartin5692/bumper/files/4008225/mqttserver.log) confserver.log is empty. Then, when explicitly refreshing the robots list, I get this: [confserver.log](https://github.com/bmartin5692/bumper/files/4008226/confserver.log) [2mqttserver.log](https://github.com/bmartin5692/bumper/files/4008227/2mqttserver.log)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: mia/bumper#72
No description provided.