mirror of
https://github.com/skydiver/ewelink-api.git
synced 2025-12-21 13:23:05 +01:00
024aaa8a2c2522fa2ba2ffd4bfa9873dd77cf3a5
* specific error when requested channel is bigger than total * fix for multi-channel devices * updated test expectations * fixes with uiid api changes * fix wrong error message * added new test cases * return expected error on wrong channel number * added more devices * version bump
ewelink-api
eWeLink API for Node.js
Installation
npm install ewelink-api
Usage
Check docs at https://ewelink-api.now.sh.
Testing
- open
test/_setup/credentials.jsonand update parameters. - in a terminal,
npm run test
- Tests needs to be performed serially, so if run jest manually, add
--runInBandparameter.
Languages
JavaScript
100%