wifi370-js-api
💡 lightweight JavaScript interface for WIFI370 LED-Controller
npm install wifi370-js-api
Basic Usage
const WIFI370 = ;const controller = ;controller;controller;controller;controller;controller;controller;controller;controller;controller;controller;controller;
Tests
Find more examples in "test" directory.
Enter you hyperion server connection in package.json, and run some tests!
"ledController": {
"host": "20.1.0.142"
}
run a single test from commandline with:
mocha test/wifi370.spec.js -g "setOff should switch off"
Which hardware is used?
Controller Support
Controller | Supported | Type |
---|---|---|
LW12 | [x] | RGB |
LD382 | [x] | RGB |
LD382A | [x] | RGB |
LD686 | [x] | RGBW |
Thanks to Meik Dirkes for reverse engineering the communication for all controller types.
WIFI370-LED Controller
Link to Amazon (Germany): Link