Hello! Anyone know how I can configure an official WhatsApp API (Meta Developers) in Home Assistant so that when I send a specific message, like “gate” it will open the gate?
I tried to do this function using “Phone last notification” and it doesn’t work, because when I have 2 or more notifications, HomeAssistant gets confused.
I saw some tutorials on how to do it with NodeRED, but I only found tutorials with unofficial APIs, for me it’s a problem because I want the system to always work.
From what I saw, it would be possible to create a Webhook to synchronize with the APP at Meta Developers, but I couldn’t figure out how to create this Webhook valid through NodeRED, or if it has to be in another location, like rapidapi or webhooksite.
I also tried using Nabucasa, I saw that you could create it from a trigger, but I couldn’t figure out how to link it to NodeRED to get the messages.
In our project we need to analyze the messages, because each command sent will trigger a different device. “gate” open/close the gate while “alarm” active the alarm. I believe that in this case, it would also be possible to do it through automation, but again I don’t know how to do it.
Can someone help me?