From e892432b72a79502b723fc923b74537c2cbba641 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Sat, 3 Jan 2026 12:45:50 -0800 Subject: [PATCH] doc --- docs/widgets/services/truenas.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/widgets/services/truenas.md b/docs/widgets/services/truenas.md index 97bba3be7..4debea70d 100644 --- a/docs/widgets/services/truenas.md +++ b/docs/widgets/services/truenas.md @@ -5,6 +5,13 @@ description: TrueNas Scale Widget Configuration Learn more about [TrueNas](https://www.truenas.com/). +`version` controls which API the single TrueNAS widget uses (defaults to `1`): + +| TrueNAS API | Homepage widget version | +| ---------------------- | ----------------------- | +| REST (pre-26.04) | 1 (default) | +| WebSocket JSON-RPC 2.0 | 2 | + Allowed fields: `["load", "uptime", "alerts"]`. To create an API Key, follow [the official TrueNAS documentation](https://www.truenas.com/docs/scale/scaletutorials/toptoolbar/managingapikeys/). @@ -17,6 +24,7 @@ To use the `enablePools` option with TrueNAS Core, the `nasType` parameter is re widget: type: truenas url: http://truenas.host.or.ip + version: 2 # optional, defaults to 1 username: user # not required if using api key password: pass # not required if using api key key: yourtruenasapikey # not required if using username / password