Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 866 Bytes

README.md

File metadata and controls

32 lines (23 loc) · 866 Bytes

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.