Martin M
c11b3a8ab7
Release v3.0.0 ( #85 )
...
* updated dependencies
* code linting
* added new app id & app secret
* cleanup requests payloads
* remove unused function
* update test cases
* enabled firmware tests
* refactor getDevice to use right api endpoint
* error messages improvements
* error messages improvements
* error messages improvements
* error messages improvements
* error messages improvements
* payload cleanup
* refactor setDevicePowerState to use right api endpoint
* update test exepectation
* removed deprecated class
* updated tests to reflect new error codes
* error messages improvements
* refactoring project structure: devices methods
refactoring project sturcture
* refactoring project structure: firmware methods
* refactoring project structure: temperature/humidity
* refactoring project structure: credentials methods
* refactoring project structure: power usage methods
* refactoring project structure: power state methods
* refactoring project structure: websocket methods
* removed deprecated login method from docs
* refactoring project structure: power usage methods
* refactoring project structure: zeroconf classes
* refactoring project structure: websocket classes
* refactoring project structure: zeroconf classes
* refactor and cleanup
* refactoring project structure: firmware methods
* moved parsers to own directory
* update tests with methods renames
* export missing temperature/humidity methods
* removed unused package
* refactor and cleanup
* fix test expectation
* refactoring project structure: moved data files
* refactoring project structure: moved data files
* refactoring project structure: moved helpers files
* refactoring project structure: moved helpers files
* refactoring project structure: moved payload files
* refactor and cleanup
* refactor getDevicePowerState
* setDevicePowerState returns channel
* convert error 400 to 404 for clarity
* updated test cases
* remove console.log
* cache path for zeroconf cache files
* installed nock
* using nock to simulate server requests during testing
* moved credentials file to config folder
* update request url when using nock
* refactor nock helper file
* move cooldown delay to setupTests file
* updating testing instructions
* restored delete code block
* fix wrong error code
* accept phone number to login to ewelink
* added test cases for initialize main class
* improvements on class initialization parameters
* allow login using phone number
* rename test file
* updated test case
* fixed regression bug
* Release v3.0.0 - use node-fetch (#87 )
* replaced deprecated request library with node-fetch
* refactor: moved makeRequest to own mixin file
* refactor to use node-fetch
* fixes
* update config
* created helper method
* constant rename
* ignore files from final package
* version bump
2020-05-23 03:07:52 -03:00
Martin M
098011b285
Release v2.0.0 ( #44 )
...
* 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 >
2020-01-11 01:39:29 -03:00
Martin M
6e240c181f
Release v1.10.0 ( #38 )
...
* 100% coverage for mixins/user/regionMixin.js
* check if websocket connection is valid json
* removed unnecessary delays
* added more test cases
* move constants to json files
* renamed login method to getCredentials
* mixin renamed
* don’t export internal methods
* mixin renamed
* keep socket connection opened
* using new getCredentials method
* reanmed login to credentials
* version bump
2019-11-29 02:25:38 -03:00
Martin M
98b8d8a97c
Release v1.8.1 ( #28 )
...
* new method to get user region
* added new test
* version bump
2019-11-11 00:22:08 -03:00