Switch Component
This section documents the configuration attributes for each built-in switch model. Use these pages when you are writing a JSON configuration, debugging a config validation error, or looking up the default for a specific attribute.
- For how to add and configure a switch component on your machine, see Switch.
- For the methods you call on a switch in code, see the Switch API reference.
- For switch models outside the built-in set, browse the Viam registry. Each registry module’s configuration is documented in its own README on its registry page.
Built-in models
The following switch models ship with viam-server:
| Model | Description |
|---|---|
fake | A model used for testing, with no physical hardware. |
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!