Diagnostics Flow

Overview

To assist with troubleshooting, a button has been added to the Node-RED editor that will run a diagnostics flow and copy the output to the clipboard. This output can then be pasted into a GitHub issue or a support forum.

Note

Before version 0.62.0, the diagnostics flow was a separate flow that had to be imported into Node-RED. This flow is still available and can be found here.

screenshot of buton location

gif for finding button

Before version 0.62.0

The supplied diagnostics flow serves as a valuable tool for collecting data about the runtime and the system environment. This flow can be importedopen in new window into Node-RED and run. By doing so, it compiles crucial information regarding the runtime and the system environment, enabling users to easily share this data when addressing issues.

Flow

screenshot

[{"id":"83159f9ffc81a5fd","type":"inject","z":"a3f996b014aea8a5","name":"get environment info","props":[],"repeat":"","crontab":"","once":false,"onceDelay":0.1,"topic":"","x":226,"y":608,"wires":[["11f9ee4206596633"]]},{"id":"607c82ab3a273e93","type":"debug","z":"a3f996b014aea8a5","name":"copy info from debug tab","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","statusVal":"","statusType":"auto","x":582,"y":608,"wires":[]},{"id":"11f9ee4206596633","type":"http request","z":"a3f996b014aea8a5","name":"fetch","method":"GET","ret":"txt","paytoqs":"ignore","url":"http://localhost:1880/homeassistant/diagnostics","tls":"","persist":false,"proxy":"","insecureHTTPParser":false,"authType":"","senderr":false,"headers":[],"x":390,"y":608,"wires":[["607c82ab3a273e93"]]}]

This flow can also be imported directly from the examples section in Node-RED.

Usage

  1. Import the flow into Node-RED.

  2. Deploy the flow.

  3. Click the Inject node to run the flow.

screenshot of debug window

  1. Copy the output from the Debug tab.

screenshot of debug window

  1. Paste the output into a GitHub issue or a support ticket.