Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

ewelink-api

skydiver2.4kMIT3.1.1TypeScript support: included

eWeLink API for Node.js

ewelink, sonoff, api, node, nodejs

readme

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
  • using zeroconf (LAN mode), no internet connection required

Installation

 npm install ewelink-api

Usage

Check library documentation and examples at https://github.com/skydiver/ewelink-api/tree/master/docs