# tessel-wifi-controller

> Tessel Wifi Controller utility methods. Never have to manually reset wifi again.

Latest version **0.0.3** (published 2014-12-24) · MIT license · 0 weekly downloads

## Install

```sh
npm install tessel-wifi-controller
pnpm add tessel-wifi-controller
yarn add tessel-wifi-controller
bun add tessel-wifi-controller
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2014-12-24 |
| First published | 2014-12-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | HarleyKwyn |
| Maintainers | harleykwyn |
| Keywords | Tessel, Wifi, forever, disconnect, connect |

## Links

- npm: https://www.npmjs.com/package/tessel-wifi-controller
- Repository: git@github.com:HarleyKwyn/tessel-wifi-controller
- Homepage: https://github.com/HarleyKwyn/tessel-wifi-controller
- Issues: https://github.com/HarleyKwyn/tessel-wifi-controller/issues
- npm.io page: https://npm.io/package/tessel-wifi-controller

## Recent versions

- 0.0.3 (latest) — 2014-12-24
- 0.0.2 — 2014-12-24
- 0.0.1 — 2014-12-24

## README

#Tessel Wifi Controller

Extends the utilities found in the [Tessel Docs.](https://tessel.io/docs/wifi)

Best feature is automatic reconnecting via `.forever` function.

Standard wifi commands available through the `.wifi` property.

##Instillation

```
var Wifi = require('tessel-wifi-controller');

var config = {
  security: 'SECURITY-METHOD', // usually you'll want WPA2
  ssid: 'YOUR-NETWORK-SSID', // network name
  password: 'IDK-SOMETHING-SECURE', // super secret password
  timeout: 30 // in seconds
}

var wifi = new Wifi(config);

// Your awesome code here.
```

##Methods

###.connect
Thin layer for the standard wifi .connect method but doesn't require you to pass in the configuration information again.

###.forever
Will register a call back that will both  retry connecting after a disconnect three times then power cycle and continue forever until succesful reconnect.

###.powerCycle
Manually power cycle and reconnect.

---
_Source: https://npm.io/package/tessel-wifi-controller · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
