eWeLink API for JavaScript
Please note: This is an unmaintained fork of https://github.com/skydiver/ewelink-api/ which includes a bugfix specifically for getDevicePowerUsage
- 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
- using zeroconf (LAN mode), no internet connection required
npm install ewelink-api-fixedCheck library documentation and examples at https://github.com/skydiver/ewelink-api/