Skip to content

Discovery not working well / port 5555 #20

@vyasbhavin

Description

@vyasbhavin

Hi,
I get the most basic of errors, unable to login. Confirmed that the password is accurate by logging in to the UI.

The test code is a copy / paste from the instructions.

// create a router session, login to router, fetch attached devices
const Netgear = require('netgear');

const router = new Netgear();

async function getDevices() {
        try {
                const options = { password: '****', method: 0, host: 'routerlogin.net', username: 'admin', port: 80 };
                await router.login(options);
                const deviceArray = await router.getAttachedDevices();
                console.log(deviceArray);
        } catch (error) {
                console.log(error);
        }
}

getDevices();

Router is a supported version: R6400v2
I have a Nighthawk App and Circle, which both are able to connect to the router, so assuming the API connection is working.

I get Error: Failed to login

Any thoughts on where I can look further to debug?

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions