magicblue
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

magicblue Smart Bulb Library

Control Magic Blue smart bulb using Web Bluetooth.

-> Learn more about the bulb protocol in my blog post

Usage example:

import { MagicBlueBulb } from 'magicblue';

let bulb = new MagicBlueBulb();
bulb.connect().then(() => {
    // Set color to Red
    bulb.setColor(255, 0, 0);
});

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.0
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.0
    0

Package Sidebar

Install

npm i magicblue

Weekly Downloads

0

Version

0.1.0

License

MIT

Last publish

Collaborators

  • urish