New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

fritzdect-aha-nodejs

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

fritzdect-aha-nodejs

NodeJS library using the AHA api of Fritzbox to control DECT smarthome devices.

  • 2.0.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
173
decreased by-24.78%
Maintainers
1
Weekly downloads
 
Created
Source

fritzdect-aha-nodejs

NodeJS library using the AHA api of Fritzbox to control DECT smarthome devices. This library is not, in any way, affiliated or related to AVM GmbH. Use it at your own risk.

NPM version NPM Downloads Test and Release

Features

  • javascript methods to use DECT-devices connected to fritzbox
  • control switches, thermostats, blinds, lamps
  • control grouped devices
  • control configured templates
  • uses new session ID method (FW >7.25), as well as the fallback to md5 method
  • no production dependencies for the API itself (the dependencies are only related to the testscript and emulation)

Getting Started

it is an common js module with named exports. it exposes 2 classes, the API (Fritz) and an emulation (FritzEmu)

Prerequisites

  • nodejs >14 (may work with older version, but tested with > 14)
  • fritzbox FW >6.69

Installing

install the released version on npm with

npm install fritzdect-aha-nodejs

Usage

const Fritz = require('fritzdect-aha-nodejs').Fritz;
fritz = new Fritz(yourUsername, yourPassword, your.Url || '', your.options || {});

//your async function
...
const login = await fritz.login_SID();
const devicelistinfos = await fritz.getDeviceListInfos();
const logout = await fritz.logout_SID();
...

see the example.js.

API Calls

  • todo for 1.0.3

Changelog

2.0.0

  • (foxthefox) recfactoring of emulation (breaking change), variable testdata can be injected

1.0.2

  • (foxthefox) use of User-Agent
  • (foxthefox) implementation of new commands from API version 1.57

1.0.1

  • (foxthefox) skipping usage of chalk, figlet

1.0.0

  • (foxthefox) common js module with 2 named exports Fritz and FritzEmu

0.9.1

  • (foxthefox) first release on npm as ESM

License

Copyright (c) 2022-2023 foxthefox foxthefox@wysiwis.net

see [LICENSE.md]

Acknowledgments

  • ioBroker.fritzdect

Keywords

FAQs

Package last updated on 12 Feb 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc