npm

Check out our latest tech talk, "JavaScript Supply Chain Security" presented by VP of Security, Adam Baldwin.Watch it here »

node-red-contrib-fritzapi

0.2.5 • Public • Published

node-red-contrib-fritzapi

Control your smart home DECT devices and guest wifi 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.

Manual installation:

cd ~/.node-red
npm install node-red-contrib-fritzapi

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 and guest wifi nodes under the advanced section in the palette. Thermostats and switches expect an actuator identification number AIN as ain or topic on the input message. If both ain and topic are provided, ain has precedence.

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.

All actions output the requested or updated value.

To Do

  • 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

Credits

License

MIT

install

npm i node-red-contrib-fritzapi

Downloadsweekly downloads

18

version

0.2.5

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability