Switch Component | Built-in components
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, search for
switchin 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. |