Skip to content

Releases: Fiwel00/fritzbox.js

Release 2.1.3

04 Oct 11:09
Compare
Choose a tag to compare

This release refactores a bunch the fork it was based upon and also brings 3 new features.

Such as getDevices, getDeviceByName and resetDevice

const fritz = require('fritzbox.js')
const options = {
  username: 'xxx',
  password: 'xxx',
  server: 'fritz.box',
  protocol: 'https' }

;(async () => {

  const device = await fritz.getDeviceByName('Pixel-6', pckJson.options)
  if (device.error) {
    console.log('Error:', device.error.message)
    process.exit(1)
  } else {
    console.log('Device is connected to the LAN', device)
  }

})()

use the new package with

npm install neofritzbox.js