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

iobroker.fritzdect

Package Overview
Dependencies
Maintainers
2
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

iobroker.fritzdect

ioBroker fritzbox DECT Adapter

  • 0.2.4
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
421
increased by42.23%
Maintainers
2
Weekly downloads
 
Created
Source

Logo

ioBroker.fritzdect

Number of Installations Number of Installations NPM version Downloads Build Status

NPM

Fritzbox DECT adapter for ioBroker

Installation:

released version on npm with

 npm install iobroker.fritzdect

or the actual version from github with

npm install https://github.com/foxthefox/ioBroker.fritzdect/tarball/master --production

Setup

IP-address and password of Fritzbox should be defined via admin page, before the first start of the instance. The IP-address must be written with leading 'http://'

The devices are detected automatically during startup of fritzdect instance. If devices are added to the fritzbox during a running adapter instance, then please restart the adapter for object creation.

Several permissions have to be set in the fritzbox in order to interact with the adapter!

A german explanatory doc is available here: install_de

The widget requires that also vis-metro and vis-jqui-mfd are installed

ioBroker objects

objects in italic are not part of all fritz.box configurations

all devices

ObjectValuesettableDescription
devicetype.idtext-internal id of device
devicetype.nametext-name of device
devicetype.modetext-mode, manuell or auto
devicetype.presentboolean-true/false -> connected/not available
devicetype.productnametext-product name
devicetype.manufacturertext-product manufacturer
devicetype.fwversiontext-product FW version

groups

ObjectValuesettableDescription
group.masterdeviceidtext-internal id of group
group.memberstext-member id's of group

templates

ObjectValuesettableDescription
template.idtext-internal id of template
template.nametext-name of template
template.togglebooleanxtoggle switch for template activation
template.lasttemplatetext-last confirmed template

switch e.g DECT200/DECT210

ObjectValuesettableDescription
DECT200.statebooleanxtrue/false -> ON/OFF
DECT200.powervalue-actual power in W
DECT200.energyvalue-actual energy consumption in Wh
DECT200.lockboolean-UI/API lock
DECT200.devicelockboolean-Button lock
DECT200.tempvalue-actual temperature in °C
DECT200.temp_offsetvalue-offset temperature in °C
DECT200.voltagevalue-actual voltage in V

thermostat eg. COMET/DECT300/ Heater group

ObjectValuesettableDescription
COMET.tempvalue-actual temperature in °C w/o offset
COMET.temp_offsetvalue-offset temperature in °C
COMET.actualtempvaluexactual temperature in °C
COMET.targettempvaluextarget temperature in °C
COMET.comfytempvalue-comfort temperature in °C
COMET.nighttempvalue-night temperature in °C
COMET.modearrayx0=AUTO/1=OFF/2=ON state of thermostat
COMET.lasttargetvalue-last target temperature in °C
COMET.batterylowboolean-battery status
COMET.errorcodenumber-errorcode
COMET.lockboolean-UI/API lock
COMET.devicelockboolean-Button lock
COMET.batteryvalue-actual capacity in %
COMET.summeractiveboolean-summer program status
COMET.holidayactiveboolean-holiday program status
COMET.windowopenactivboolean-status of window open detection

repeater e.g. DECT100

ObjectValuesettableDescription
DECT100.tempvalue-actual temperature in °C

contact

ObjectValuesettableDescription
Contact.stateboolean-true/false -> ON/OFF

button (HAN-FUN, DECT400)

ObjectValuesettableDescription
Button.lastclicknumber-timestamp

guest WLAN

ObjectValuesettableDescription
GuestWLAN.statebooleanxtrue/false -> ON/OFF

Known Issues:

After startup of adapter the firmware version of fritzbox is requested, some models do not respond to this request and therefore an error is logged.

TODO:

  • universal object names
  • improvement of thermostat mode to text representation (auto, off, boost, comfort, night), comfort and night are also auto mode, but preset to the parametrized value

Changelog

0.2.4

  • (Scrounger) correction of type mismatch (string boolean)

0.2.3

  • skip updating values, when device not present

0.2.2

  • added FritzDECT400 incl. testing
  • removed offset in temp value
  • new datapoint offset
  • added template for switches
  • added template testing

0.2.1

  • gulp added
  • correction for DECT100 without temperature (caused a stop in creation of objects)
  • template creation corrected
  • my templates added in admin page

0.2.0

  • compact mode

0.1.5

  • reading and activation of templates added
  • correction of actual temperature in DECT200 and COMET (now offset recognized)
  • password now hidden typed and encrypted
  • new datapoint actualtemp for Comet
  • fritzapi 0.10.5

0.1.4

  • button added, only send the timestamp of last click
  • fritzapi 0.10.4

0.1.3

  • windowopenactiv added to thermostat

0.1.2

  • errorcode string->number
  • batterylow -> boolean
  • switch in admin for non native API call for battery charge in % (shall prevent 403 message logs)

0.1.1

  • switch for GuestWLAN when no access is granted and polling creates an error
  • check for devices in admin page for better access to the xml/json stream from fritzbox
  • admin v3 implemented

0.1.0

  • major code change to use the xml stream instead the dedicated API-commands for the dedicated values
  • creation of objects according the feedback from fritzbox
  • support of groups
  • still usage of non-universal object names
  • more objects

0.0.14

  • correction of temp offset influence

0.0.13

  • DECT200 voltage new object
  • DECT200 mode/lock value polling
  • Comet mode as number and not array
  • ADMIN v3

0.0.12

  • changed state to mode AUTO/OFF/ON for thermostat (including datapoint lasttarget when going back to AUTO)
  • added name state for thermostat
  • DECT100 temperature reading
  • Contact reading

0.0.11

  • added state OFF/ON for thermostat

0.0.10

  • change to object oriented interface
  • getOSversion when starting for log

0.0.9

  • values '1' accepted for ON
  • values '0' accepted for OFF

0.0.8

  • messages info-> debug
  • values 1/true/on/ON accepted for ON
  • values 0/false/off/OFF accepted for OFF

0.0.7

  • current temp of Comet/DECT300
  • cyclic polling GuestWLAN

0.0.6

  • correction targettemp in DECT200 section

0.0.5

  • setTemp on COMET
  • GuestWlan corrected

0.0.4

  • cyclic status polling

0.0.3

  • user now configurable

0.0.2

  • metro widget for Dect200
  • smartfritz-promise->fritzapi
  • running version, tested with 1x DECT200 and Fritzbox FW=6.51 on Win10 with 4.5.0 and raspberry 4.7.0

0.0.1

  • running version, tested with 1x DECT200 and Fritzbox FW=6.30

License

The MIT License (MIT)

Copyright (c) 2018 - 2019 foxthefox foxthefox@wysiwis.net

Keywords

FAQs

Package last updated on 18 Aug 2019

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