Skip to content

bencevans/huawei-mifi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

huawei-mifi

Gather stats from Huawei MiFi Device

install

$ npm install huawei-mifi

example

const Mifi = require('huawei-mifi')

const mifi = new Mifi('192.168.8.1')

await mifi.authenticate()
console.log('status:', await mifi.status())
console.log('traffic stats:', await mifi.traffic())
console.log('notifications:', await mifi.notifications())

licence

MIT