bloomkd46 / homebridge-iRobot

A homebridge plugin for controlling iRobot devices
Apache License 2.0
61 stars 14 forks source link

Support Request: J7+ "Failed to configure roomba" #119

Open rwillsuk opened 2 years ago

rwillsuk commented 2 years ago

Describe Your Problem:

Just got our J7+ and have it setup. Installed the HB plugin and gave it our cloud account info. It then shows in the log that it identifies our device, but wont add it. The J7+ is on 1.0.2 and shows no available updates. It returns a blid (I didn't list this in the plugin).

Expected behavior:

No response

Logs:

[09/05/2022, 14:49:27] [iRobot] Logging into iRobot...

[09/05/2022, 14:49:29] [iRobot] Configuring roomba: DJ Roomba

[09/05/2022, 14:49:40] [iRobot] Failed to configure roomba: DJ Roomba see below for details

[09/05/2022, 14:49:40] [iRobot] No Roomba Found With Blid: A6042B2B1A354C5E8F93DF0C9E0FF918

[09/05/2022, 14:49:40] [iRobot] Disabling Unconfigured Roomba: DJ Roomba

Config:

{
            "name": "iRobot",
            "email": "**@gmail.com",
            "password": "********",
            "roombas": [
                {
                    "autoConfig": true,
                    "info": {
                        "ver": 2
                    }
                }
            ],
            "manualDiscovery": false,
            "lowBattery": 20,
            "offAction": "pause:dock",
            "status": "cycle:clean",
            "eveStatus": "inverted:cycle:clean",
            "bin": "filter:contact",
            "ignoreMultiRoomBin": true,
            "hideStuckSensor": false,
            "disableMultiRoom": false,
            "platform": "iRobotPlatform"
        }

Node Version:

16.15.0

NPM Version:

8.1.2

Homebridge Version:

1.4.1

Plugin Version:

2.1.16

Operating System:

Raspberian

rwillsuk commented 2 years ago

Installed the beta version of the plug in and it also added the line that UDP was disabled. So I switched to manual config and put the blid and password in that was in the log and it still gives the same errors (and the device doesnt show up in the plug in settings.

cplmayo commented 2 years ago

I can confirm the same behavior on our j7+. I'm willing to troubleshoot just tell me where to start.

rwillsuk commented 2 years ago

Well I changed the roomba to a different VLAN and it now seems to be configured, but in HomeKit it now says that the Roomba is "not supported"

rwillsuk commented 2 years ago

Reinstalled the plugin and it seems to be working now.

cplmayo commented 2 years ago

Well I changed the roomba to a different VLAN and it now seems to be configured, but in HomeKit it now says that the Roomba is "not supported"

This is interesting. When I saw the UDP error message in Homebridge I assumed it was due to the Homebridge and Roomba being on different networks. So I moved it to the same network as the Homebridge but still get the same error. This seems like a bug vs a network problem.

I will have to try and replicate and report back. It would make sense if changing the network caused something refresh and that is what did it. Just the first thing that comes to mine.

redtripleAAA commented 1 year ago

I have the same issue here as well, I have Homebridge installed as Docker on Synology DSM

Getting this error:

[9/5/2022, 10:32:11 PM] [iRobot] Configuring roomba: Roomba
[9/5/2022, 10:32:21 PM] [iRobot] Failed to configure roomba: Roomba see below for details
[9/5/2022, 10:32:21 PM] [iRobot] No Roomba Found With Blid: 3174451882######

[9/5/2022, 10:32:21 PM] [iRobot] Disabling Unconfigured Roomba: Roomba
[9/5/2022, 10:32:21 PM] Publishing bridge accessory (name: Homebridge 5FB5, publishInfo: {
  username: '0E:C9:C4:#####',
  port: 51892,
  pincode: '***-**-***',
  category: 2,
  bind: [ 'ovs_eth0', 'ovs_eth1', [length]: 2 ],
  mdns: undefined,
  addIdentifyingMaterial: true,
  advertiser: 'ciao'
}).

Any idea what the issue is in here?

bloomkd46 commented 1 year ago

Please try the latest beta: npm