You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/operate/reference/module-configuration.md
+51-47Lines changed: 51 additions & 47 deletions
Original file line number
Diff line number
Diff line change
@@ -295,60 +295,64 @@ To set the path to a program or library on a machine, you can set a system varia
295
295
296
296
To configure a module that is uploaded to the Viam Registry but has [visibility](/operate/get-started/other-hardware/manage-modules/#change-module-visibility) set to **Unlisted**, you need to manually add the module to your configuration:
297
297
298
+
1. Navigate to the module's page in the Viam Registry, using the link to the module.
299
+
300
+
1. Find the **Unlisted module usage** section.
301
+
302
+
1. Copy the module configuration JSON snippet.
303
+
298
304
1. In the Viam app, navigate to the **CONFIGURE** tab of the machine you want to configure.
299
305
300
306
1. Switch to **JSON** mode.
301
307
302
-
1. Add the following template to your configuration.
303
-
If you already have a `components` array and a `modules` array, add contents to them instead of duplicating them.
1. Paste the copied module configuration into your `modules` array.
323
309
324
-
1. Navigate to the module's page in the Viam Registry, using the link to the module.
325
-
326
-
1. Look at the list of **Components and services** supported by the module and find the model you want to use.
327
-
Copy the {{< glossary_tooltip term_id="model-namespace-triplet" text="model namespace triplet" >}}, for example `jessamy:hello-world:hello-camera`, and paste it into the `model` field of the component or service template.
310
+
1. Copy the model configuration snippet for the model you want to use, and add it to your `components` or `services` array (as appropriate).
311
+
For example:
328
312
329
-
1. Copy the API namespace triplet, for example `rdk:component:sensor`, and paste it into the `api` field of the component or service template.
313
+
{{< tabs >}}
314
+
{{% tab name="Example" %}}
330
315
331
-
1. For the `module_id` field, use just the first two parts of the model triplet, for example `jessamy:hello-world`.
0 commit comments