mirror of
https://github.com/skydiver/ewelink-api.git
synced 2025-12-21 13:23:05 +01:00
303d7d4cc4f8ca1965cd1b822335e317727ba444
* trying to fix #21 * using getDeviceAlt method * replace getDevice method * handle error messages on new method * using new getDevice method * disable firmware tests (for now) * return devices list using new method * tests files renamed * updated tests assertions based on recent changes * tests files renamed * code cleanup * fix after method refactor * version bump
ewelink-api
eWeLink API for JavaScript
Key features
- can run on browsers, node scripts or serverless environment
- set on/off devices
- get power consumption on devices like Sonoff POW
- listen for devices events
Installation
npm install ewelink-api
Usage
Check docs at https://ewelink-api.now.sh
Languages
JavaScript
100%