bloomkd46 / homebridge-iRobot

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

Support Request: No Devices Detected after the iRobot Account info entered #89

Open wonghc1 opened 2 years ago

wonghc1 commented 2 years ago

Describe Your Problem:

I already restart everything, my j7+ and m6 cannot be detected

Expected behavior:

No response

Logs:

[2/12/2022, 10:34:05 AM] [Config] Initializing config platform...
[2/12/2022, 10:34:05 AM] [Config] Running in Service Mode
[2/12/2022, 10:34:05 AM] [iRobot] Initializing iRobotPlatform platform...
[2/12/2022, 10:34:05 AM] [iRobot] Logging into iRobot...
[2/12/2022, 10:34:06 AM] [iRobot] Configuring roomba: Braava jet M6
[2/12/2022, 10:34:07 AM] [iRobot] Configuring roomba: Roomba J7+
[2/12/2022, 10:34:07 AM] [iRobot] Disabling Unconfigured Roomba: Braava jet M6
Setup Payload:

Enter this code with your HomeKit app on your iOS device to pair with Homebridge:

    ┌────────────┐     

    └────────────┘     

[2/12/2022, 10:34:07 AM] Homebridge v1.4.0 (HAP v0.10.0) (Homebridge ) is running on port 51949.

Config:

{
    "bridge": {
        "name": "Homebridge X",
        "username": "X",
        "port": X,
        "pin": "X"
    },
    "accessories": [],
    "platforms": [
        {
            "name": "Config",
            "port": X,
            "platform": "config"
        },
        {
            "name": "iRobot",
            "email": "X@gmail.com",//privacy issues
            "password": "X",//Hidden
            "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.14

NPM Version:

8.3.1

Homebridge Version:

1.4

Plugin Version:

homebridge-irobot v2.1.16

Operating System:

MacOS

bloomkd46 commented 2 years ago

Please install the latest beta. This is a known bug that I will fix later today. For now just install the latest beta.

franciswernet commented 2 years ago

@bloomkd46 I installed the beta but still I'm unable to add my M6

bloomkd46 commented 2 years ago

What do the logs say now?

wonghc1 commented 2 years ago

Updated to beta solves the issue, but there is no room by room support for M6

wonghc1 commented 2 years ago

Please install the latest beta. This is a known bug that I will fix later today. For now just install the latest beta.

beta 3.0 still have the bug , m6 and j7 still not detected. they work in 2.1.17 beta

[2/14/2022, 12:08:56 AM] [iRobot] Adding new accessory: Braava jet M6 [2/14/2022, 12:08:57 AM] [iRobot] TypeError: this.platform.config.sensors is not iterable at new iRobotPlatformAccessoryV3 (/usr/local/lib/node_modules/homebridge-irobot/src/V2/platformAccessory.ts:390:47) at /usr/local/lib/node_modules/homebridge-irobot/src/V2/platform.ts:126:15 at processTicksAndRejections (node:internal/process/task_queues:96:5) [2/14/2022, 12:11:00 AM] [Homebridge UI] [homebridge-irobot] Terminating child process... [2/14/2022, 12:11:00 AM] [Homebridge UI] [homebridge-irobot] Child process ended

wonghc1 commented 2 years ago

also no sensor is detected in beta 3

bloomkd46 commented 2 years ago

Please delete the iRobot config then try again. The latest beta changes how you configure the Roomba

wonghc1 commented 2 years ago

Please delete the iRobot config then try again. The latest beta changes how you configure the Roomba

I already deleted old config. and still no device detected in beta 3

agrajag42a commented 2 years ago

same problem with Braava Jet M6 in 2.1.16

bloomkd46 commented 1 year ago

Please try the latest beta: npm