mirror of
https://github.com/skydiver/ewelink-api.git
synced 2025-12-28 16:06:35 +01:00
098011b285d1e665c6b0b27a51f226d0ca7d058a
* Added arpTableSolver (#18) * Added arpTableSolver * fix package import * linting class * changed arp library * refactor arp class * using arpping fork * refactor arpTableSolver class * Added Zero Conf functionality (LAN mode) (#46) * added crypto-js * zeroconf helper functions * zeroconf update payload * new method to save devices cache file * class renamed * refactor Zeroconf class * return cached device if exists * moved method to get local ip address * fix mac addresses without leading zeroes * refactor Zeroconf class * using new zeroconf functionality * zeroconf working with single and multichannel devices * save device mixin enhancement * working on zeroconf test cases * catch errors on filesystem methods * zeroconf: added extra test cases * better error handling * zeroconf: 100% code coverage * removed deprecated login method * updates on credentials file * version bump * Docs for v2.0 (#52) * added v1 docs * added zeroconf docs * updated readme * docs updated * removed zeroconf article warning * updated vscode config Co-authored-by: Luis Llamas <luisllamas@hotmail.com>
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/docs
Languages
JavaScript
100%