Home automation node for Fritz!Box, Fritz!DECT and FRITZ!Powerline devices.
Control your smart home DECT devices and guest wifi through an AVM Fritz!Box with node-RED.
The recommended way is to install directly from Node-RED under
cd ~/.node-red npm install node-red-contrib-fritzapi
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.
The packages contains
guest wifi nodes under the
advanced section in the palette.
Thermostats and switches expect an actuator identification number
topic on the input message.
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 and wifi updates, send the desired boolean value (on or off). For thermostat updates, send the target temperature or adjustment in degrees Celsius. Temperature and outlet adjustments are only made if the desired state differs from the actual state. All updates are logged.
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.
All actions output the requested or updated value.
There is a comprehensive example flow which demonstrates all use cases of the
- Switches are not tested, as I do not own any. All feedback appreciated.
- Guest Wifi control does not seem to work with FRITZ!OS 7.x
- 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!