ewelink-api icon indicating copy to clipboard operation
ewelink-api copied to clipboard

eWeLink API for JavaScript

Results 125 ewelink-api issues
Sort by recently updated
recently updated
newest added

Hi, there is a way to handle the state change of the SONOFF RF_BRIDGE that have multiple commands? I was wondering if the **setDevicePowerState** method can work or also the...

Documentation says that this library "can run on browsers, node scripts or serverless environment", but how do we use it inside a browser, without node.js?

i'm trying to work with ewelink-api, I made this very basic express application: ``` const express = require('express'); const ewelink = require('ewelink-api'); const app = express(); const port = 3000;...

``` Failed building JavaScript bundle. Unable to resolve module fs from /home/leohige/Documents/light/node_modules/ewelink-api/src/mixins/saveDevicesCache.js: fs could not be found within the project. ``` How can I fix it? I'm using react native...

## Goals: * switch to API v2 * throw exceptions on errors * update dependencies ## v2 current status **method**|**using v2**|**throws exception** -----|:-----:|:-----: checkDeviceUpdate| ✅ | ✅ checkDevicesUpdates| ✅ |...

Bumps [node-fetch](https://github.com/node-fetch/node-fetch) from 2.6.1 to 2.6.7. Release notes Sourced from node-fetch's releases. v2.6.7 Security patch release Recommended to upgrade, to not leak sensitive cookie and authentication header information to 3th...

dependencies

Bumps [jsdom](https://github.com/jsdom/jsdom) from 16.4.0 to 16.7.0. Release notes Sourced from jsdom's releases. Version 16.7.0 Added AbortSignal.abort(). (ninevra) Added dummy x and y properties to the return value of getBoundingClientRect(). (eiko)...

dependencies

hello, i keep getting the following error when my node app tries to login. FetchError: invalid json response body at https://us-api.coolkit.cc:8080/api/user/login reason: Unexpected token < in JSON at position 0...

Frist of all, thank you for this implementation. I am porting this library to [Dart/Flutter](https://github.com/ianmaciel/dart_ewelink_api) and trying to understand how to renew the access token. I noticed that we have...

I am working on a device that encrypts its data. Thanks to the code in the ewelink helper I am able to process this. I can not turn the device...