Giter VIP home page Giter VIP logo

node-red-contrib-fritzapi's Introduction

node-red-contrib-fritzapi

This project is no longer actively maintained. Feel free to fork it, new maintainers are welcome.

Control your smart home DECT devices through an AVM Fritz!Box with node-RED.

These nodes are a simple Node-RED wrapper for andig's ever-popular fritzapi, see there a for feature description.

Installation

The recommended way is to install directly from Node-RED under Manage palette.

Configuration

Depending on your FRITZ!Box configuration, a user name may be needed. If your box is configured for password-only admin access, leave the user name blank and only provide the admin password. Make sure that smart home control is enabled on the FRITZ!Box.

Usage

The packages contains thermostat, switch, bulb, blind nodes under the advanced section in the palette.

Thermostats, switches and blinds expect an actuator identification number AIN as ain or topic on the input message.

If both ain and topic are provided, ain has precedence.

Nodes have an (optional) pre-set action. It can be overriden with the action attribute on input messages. See fritzapi for a list of supported action names.

Any payload is accepted for information retrieval.

  • For switch updates, send the desired boolean value (on or off).
  • For thermostat updates, send the target temperature or adjustment in degrees Celsius. on and off may also be used to switch thermostats on or off.
    • There are two special cases: setTempComfort (Set to day temperature) and setTempNight (Set to night temperature) do not expect a temperature as payload, because they set the target temperature to the day / night preset.
    • An example flow demonstrates usage of the thermostat node.
  • Bulbs can be set to a given brightness level, color or color temperature. See the node documenation for details.
  • Blinds be set to a desired level, or opened or closed. See the node documenation for details.

Adjustments are only made if the desired state differs from the actual state. All updates are logged.

All actions output the requested or updated value.

Troubleshooting

A popular pitfall seems to be that the Fritz!Box UI shows imcomplete AINs for various bulbs and blinds. If the device does not respond, try appending -1 to the AIN.

Still stuck?

Switches, bulbs and blinds were tested by contributors, as I do not own any. All feedback appreciated, but please check the relevant issues before opening new ones.

Credits

Kudos to andig for fritzapi. Also, substantial parts of the low-level interface were also written by andig for homebridge-fritz. Thanks for the wizardry!

node-red-contrib-fritzapi's People

Contributors

dnknth avatar ersthelfer avatar flok avatar jb-nobody avatar srg64 avatar svrnm avatar wetzf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.