Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Redundant requests for Roomba status #68

Open
crowston opened this issue Aug 24, 2020 · 0 comments
Open

Redundant requests for Roomba status #68

crowston opened this issue Aug 24, 2020 · 0 comments

Comments

@crowston
Copy link

Expected Behavior

Homekit sends separate requests for four characteristics of the Roomba: running status, battery status, battery level and charging status. I would expect the plugin to retrieve the Roomba status once and use the data to answer all four queries.

Current Behavior

The plugin requests data from the Roomba four times.

Steps to Reproduce (for bugs)

Open the Home app and wait for the data to refresh.

Versions

  • Homebridge: 1.1.2
  • Node: v12.18.3
  • Plugin: homebridge-roomba-stv@1.6.0

Configuration

        {
            "name": "Roomba",
            "model": "890",
            "blid": "xxxx",
            "robotpwd": "xxxx,
            "ipaddress": "172.x.x.x",
            "autoRefreshEnabled": false,
            "accessory": "Roomba"
        }

Homebridge Log / Command Output

[8/24/2020, 9:12:51 AM] [Roomba] Running status requested
[8/24/2020, 9:12:51 AM] [Roomba] Battery status requested
[8/24/2020, 9:12:53 AM] [Roomba] Connected to Roomba
[8/24/2020, 9:12:53 AM] [Roomba] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":true}]
[8/24/2020, 9:12:56 AM] [Roomba] Connected to Roomba
[8/24/2020, 9:12:56 AM] [Roomba] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":true}]
[8/24/2020, 9:12:58 AM] [Roomba] Battery level requested
[8/24/2020, 9:12:58 AM] [Roomba] Charging status requested
[8/24/2020, 9:12:59 AM] [Roomba] Connected to Roomba
[8/24/2020, 9:13:00 AM] [Roomba] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":true}]
[8/24/2020, 9:13:02 AM] [Roomba] Connected to Roomba
[8/24/2020, 9:13:03 AM] [Roomba] Roomba[{"running":0,"charging":1,"batteryLevel":100,"batteryStatus":0,"binFull":true}]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant