Skip to content

Latest commit

 

History

History
36 lines (21 loc) · 1.34 KB

File metadata and controls

36 lines (21 loc) · 1.34 KB

Magic Home LED Strip Controller

Node.js library to control Magic Home LED strips via Wi-Fi. This library allows you to turn on or off the LED strip and change its color.

Installation

Install the library using npm:

npm install magic-home-led

You can also download the source code and include it in your project manually.

Usage

LEDStrip is the main class to control the LED strip. You can create an instance of it and use its methods to control the strip.

RGB is a class that represents an RGB color. You can create an instance of it and use it to set the color of the LED strip.

Examples can be found here.

Raw packets can be found here.

Links

License, Contributions and Disclaimer

This library is licensed by the MIT License.

This library is not affiliated with or endorsed by Magic Home or any of its products. Use at your own risk.

If you'd like to contribute, please feel free to open an issue or a pull request on the GitHub repository

Developed by Ethan Mahlstedt