This node listens to all KNX telegrams from the selected KNX Ultimate gateway and builds statistics, detects simple anomalies, and (optionally) can ask an LLM to produce a human-friendly analysis.
What it does
- Keeps a rolling history of KNX telegrams (decoded by KNX Ultimate).
- Outputs periodic or on-demand traffic summaries (top group addresses, event types, rate).
- Emits anomaly events (bus rate too high, group address spam, flapping).
- Optionally calls an LLM (OpenAI-compatible or Ollama) when you send an
askcommand.
Outputs
- Summary/Stats (
msg.payloadis JSON) - Anomalies (
msg.payloadis JSON describing the anomaly) - AI Assistant (
msg.payloadis the assistant answer as text; includesmsg.summary)
Commands (input pin)
Send a message with msg.topic:
summary(or empty topic): emits a summary immediatelyreset: clears internal history and countersask: asks the LLM using recent traffic + summary
For ask, provide the question in msg.prompt (preferred) or in msg.payload (string).
Notes
- If you enable the LLM, bus information will be sent to the configured endpoint. Use a local provider (e.g. Ollama) if you want to keep data on-premise.
- For OpenAI, paste only the API key (it starts with
sk-). Do not pasteBearer ...or the wholeAuthorization:header.