Skip to content

skydiver/ewelink-api

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

* fix JSON parse error when device is offline (#111)

* add 503 error and fix makeRequest mixin when device is Offline or Service is unavailable

* add 503 error and fix makeRequest mixin when device is Offline or Service is unavailable

* version bump

Co-authored-by: Luigui Delyer <git@s1x.com.br>
5a07f6b

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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