# vista-ble

> BLE Connection

Latest version **0.0.4** (published 2019-11-26) · MIT license · 0 weekly downloads

## Install

```sh
npm install vista-ble
pnpm add vista-ble
yarn add vista-ble
bun add vista-ble
```

## Health

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

Positive: has types; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2019-11-26 |
| First published | 2019-11-05 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 205.9 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | tom |
| Maintainers | byzanceworld |
| Keywords | capacitor, plugin, native |

## Links

- npm: https://www.npmjs.com/package/vista-ble
- Repository: https://github.com/ByzanceParis/Vistable_Plugin
- Homepage: https://github.com/ByzanceParis/Vistable_Plugin#readme
- Issues: https://github.com/ByzanceParis/Vistable_Plugin/issues
- npm.io page: https://npm.io/package/vista-ble

## Dependencies (1)

- [@capacitor/core](https://npm.io/package/@capacitor/core.md) latest

## Recent versions

- 0.0.4 (latest) — 2019-11-26
- 0.0.3 — 2019-11-07
- 0.0.2 — 2019-11-05
- 0.0.1 — 2019-11-05

## README

# Vistable_Plugin

Capacitor BLE plugin

## Installation

  npm i --save vista-ble


  **Example**  
  ```js
  // Launch BLE
  //
  import { Plugins } from '@capacitor/core';
  const { VistablePlugin } = Plugins;

  // into some function
  const options = {
    'apikey': '83dcb4b4-8d8d-4548-b0f7-86eb3bed11a7',
    'name': 'lumisheets', // name of the connecter (ble-${name} for ble, or ${name}.local for wifi)
    'connector': 'ble', // can be wifi
  };
  // console.log(options);  
  VistablePlugin.initManager(options).then((result) => {
  });

  //TURN ON Light at ID 0, 1 et 2
  // WIN sera de la couleur choisie, second & third, blanc
  VistablePlugin.turnOn({ win: '0', second: '1', third: '2' });

  //TURN OFF
  VistablePlugin.turnOff();


  ```

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