jimmywarting / wemo-client

JavaScript client library for controlling and subscribing to Wemo Devices
MIT License
132 stars 40 forks source link

Chosen a listen interface with compatible network if it exists #59

Closed insideGen closed 6 years ago

insideGen commented 6 years ago

Improved interface search to better predict which interface to use. I use ip module to check if the interface network is compatible with the device network.

codecov-io commented 6 years ago

Codecov Report

Merging #59 into master will decrease coverage by 0.15%. The diff coverage is 88.88%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #59      +/-   ##
==========================================
- Coverage   86.41%   86.25%   -0.16%     
==========================================
  Files           2        2              
  Lines         287      291       +4     
  Branches       47       49       +2     
==========================================
+ Hits          248      251       +3     
- Misses         39       40       +1
Impacted Files Coverage Δ
index.js 80.89% <88.88%> (-0.28%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 718cb99...da2851a. Read the comment docs.