fake
Configure a fake sensor to test implementing a sensor component on your machine without any physical hardware:
{
"name": "<your-sensor-name>",
"model": "fake",
"api": "rdk:component:sensor",
"attributes": {}
}
No attributes are available for fake sensors.
Info
A call to Readings() on a fake sensor always returns readings of {"a":1, "b":2, "c":3}.
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!