# vermon-bb8

> A library for controlling the Sphero BB8 via extending t-motion-detector and cylon packages.

Latest version **0.2.4** (published 2018-10-10) · 0 weekly downloads

## Install

```sh
npm install vermon-bb8
pnpm add vermon-bb8
yarn add vermon-bb8
bun add vermon-bb8
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.2.4 |
| Published | 2018-10-10 |
| First published | 2018-10-09 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 8.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | tcardoso |

## Links

- npm: https://www.npmjs.com/package/vermon-bb8
- npm.io page: https://npm.io/package/vermon-bb8

## Dependencies (3)

- [noble](https://npm.io/package/noble.md) ^1.9.1
- [sphero](https://npm.io/package/sphero.md) ^0.9.2
- [vermon](https://npm.io/package/vermon.md) ^0.6.6

## Recent versions

- 0.2.4 (latest) — 2018-10-10
- 0.2.3 — 2018-10-10
- 0.2.2 — 2018-10-10
- 0.2.0 — 2018-10-09

## README

# vermon-bb8
A plugin for vermon for controlling the Sphero BB8 via BLE, based on sphero and noble packages.

Create a local.js file:
````
profiles = {
  default: {
    SystemEnvironment: {
      command: ""
    },
    Detector: {
      name: "Any vermon Detector"
    },
    BB8Notifier: {
      name: "My BB8",
      mac: "Your:BB8:mac:address"
    }
  }
}
exports.profiles = profiles;
exports.default = profiles.default;
````

Then just run:
````
let vermon = require("vermon");
let vermonBB8 = require("vermon-bb8");

vermon.use(vermonBB8);
vermon.configure();

vermon.watch().then((environment, detectors, notifiers)=>{
	console.log(`BB8 is watching environment ${environment.name}, will react when some change happens...`);
	let BB8Notifier = notifiers[0];
	BB8Notifier.command = "roll";
	BB8Notifier.args = [150, 200];
}).catch((e)=>{
	console.error(e);
});
````

* Version History  

 ** v 0.2.4: Fixes, added missing required functions for Plugin Start and ShouldStart;  
 ** v 0.2.3: Fixes, added example;  
 ** v 0.2.2: Simplified extending Entities, updated dependency to vermon@0.6.6;  
 ** v 0.2.1: Updated dependency to vermon@0.6.5;  
 ** v 0.2.0: Updated to vermon library (WIP), using standard shpero dependency instead of cylon;  
 ** v 0.1.2: Added cylon packages as dependencies, added first Unit tests;  
 ** v 0.1.1: Added package.json and included t-motion-detector as dependency;  
 ** v 0.1.0: Initial version;

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