• 3 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 10th, 2023

help-circle





  • No special addon. I use a Node-RED flow to query the Paperless-NGx API to find the number of documents with the “intake” tag. Here’s a template.

    Instructions:

    1. Create an API token for Paperless-NGx by going to http://<PAPERLESS_URL_WITH_PORT>/admin/authtoken/tokenproxy/ and clicking Add Token
    2. Import the flow into Node-RED
    3. Take the token you’ve created in step 1 and paste it over the <PAPERLESS_TOKEN> placeholder in the “Headers” function node
    4. Change the URL in the “Make API Request” HTTP node to point towards your Paperless-NGx installation
    5. Replace the debug node at the end with whatever you want. I personally use a Sensor node to import the value into Home Assistant.