How to create a door bell device ?
Posted: Sat Mar 08, 2025 9:40 pm
I couldn't find an example for creating a door bell device.
Here is my best guess:
Is "esp.param.pressed-state" right ?
There is no parameter name for the Door Bell device in the Parameter table.
https://rainmaker.espressif.com/docs/standard-types/
Thank you.
Here is my best guess:
Code: Select all
bell = new Device("Door Bell", "esp.device.doorbell", NULL);
Param deviceParam("Pressed State", "esp.param.pressed-state", value(false), PROP_FLAG_READ|PROP_FLAG_WRITE);There is no parameter name for the Door Bell device in the Parameter table.
https://rainmaker.espressif.com/docs/standard-types/
Thank you.