# fake

Configure a `fake` generic component to test implementing a generic component on your machine without any physical hardware:

- [JSON Template](https://docs.viam.com/reference/components/generic/fake/#tabset-referencecomponentsgenericfake-1-0)

```json

```

No attributes are available for the `fake` generic component. See [GitHub](https://github.com/viamrobotics/rdk/blob/main/components/generic/fake/generic.go) for API call return specifications.

## Test the generic component

After you configure your generic component, open the generic’s panel on the [**CONTROL**](https://docs.viam.com/monitor/default-interface/#web-ui) tab. Use the card to send arbitrary commands to the resource with [`DoCommand()`](https://docs.viam.com/reference/apis/components/generic/#docommand).

The example above works for interacting with the generic component model shown in [Deploy control logic](https://docs.viam.com/build-modules/write-a-logic-module/), but other components require different commands depending on how `DoCommand()` is implemented.
