mirror of
https://github.com/skydiver/ewelink-api.git
synced 2025-12-21 11:44:59 +01:00
* 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>
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
Languages
JavaScript
100%