rpi-fi

1.1.0 • Public • Published

rpi-fi

Promise based Node module for controlling wifi on Raspberry Pi. Uses wpa_cli under the hood. Draws heavily on the work done by "rpi-wifi-connection".

install:

npm install rpi-fi

usage:

const { connect, list_networks, scan } = require('rpi-fi');

run();

async function run() {
    console.log(await scan());

    await connect('MySSID', 'MyPassord');

    console.log(await list_networks());
}

Package Sidebar

Install

npm i rpi-fi

Weekly Downloads

0

Version

1.1.0

License

ISC

Unpacked Size

5.22 kB

Total Files

3

Last publish

Collaborators

  • matthewpage