I am new to this IoT world and real beginer with C++. I am wanting to build a garage door controller with a read-switch sensor that can update the "open/closed" status in SinricPro. I have been having a lot of fun learning and have made great progress getting everything working as I would like. One thing I am stuck on, I can't seem to send event message back to Sinric to set the door status. I am using below code:-
But when I compile I get an error message "'class SinricProGarageDoor' has no member named 'sendGarageDoorEvent'". Clearly the class doesn't have this function.
Appreciate any guidance or suggestions you can offer
I am new to this IoT world and real beginer with C++. I am wanting to build a garage door controller with a read-switch sensor that can update the "open/closed" status in SinricPro. I have been having a lot of fun learning and have made great progress getting everything working as I would like. One thing I am stuck on, I can't seem to send event message back to Sinric to set the door status. I am using below code:-
SinricProGarageDoor& myGarageDoor = SinricPro[GARAGEDOOR_ID]; myGarageDoor.sendGarageDoorEvent(myDoorState);
But when I compile I get an error message "'class SinricProGarageDoor' has no member named 'sendGarageDoorEvent'". Clearly the class doesn't have this function.
Appreciate any guidance or suggestions you can offer