node-red-contrib-pi-hole 0.0.3

A node to control a local Pi-hole instance

npm install node-red-contrib-pi-hole

Pi-hole node for Node-RED

This node lets you easily interact with a local pi-hole installation.

The pi-hole node is similar to (and based on) the exec node, but lets you more easily interact with Pi-hole running on the same machine as Node-RED.

Supported commands

Most of the pihole command options:

  • Enable
  • Disable
  • Restart
  • Status
  • Stats (the chronometer command)
  • Update
  • Update Gravity
  • Flush logs
  • Get version
  • Search the adlist
  • Logging on/off
  • Whitelist actions/listing
  • Blacklist actions/listing

You may also specify commands/extra parameters through msg.payload input and/or through the custom append option.

TODO

  • Implement the tail command for live output from the Pi-hole log
  • Return json formatted results from Pi-hole, not just stdout.
  • Ability to control remote Pi-hole instances.

Node Info

Version: 0.0.3
Updated 7 years, 5 months ago
License: See LICENSE in repo
Rating: not yet rated

Categories

Actions

Rate:

Downloads

8 in the last week

Nodes

  • pi-hole

Keywords

  • node-red
  • pi-hole

Maintainers