Configure a fake power sensor
Use a fake
power sensor to test implementing a power sensor component on your robot without any physical hardware.
Configure a fake
power sensor to integrate into your robot:
Navigate to the Config tab of your robot’s page in the Viam app.
Click on the Components subtab and click Create component in the lower-left corner.
Select the type power_sensor
, then select the fake
model.
Name your sensor, and click Create.

{
"name": "<your-sensor-name>",
"type": "power_sensor",
"model": "fake",
"attributes": {}
}
No attributes are available for fake
power sensors.
Have questions, or want to meet other people working on robots? Join our Community Discord.
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!