this video shows how to send notifications to a whatsapp group from within Home Assistant. It’s just a basic set-up guide which can be extended to any blueprint you’re using. Willing to see what you’re able to implement with it. Basic use case would be: family and friends on a whatsapp group will be able to get HA input (if they’re not already using the HA companion app )
Indeed.
I believe you could achieve that it works as a Notification also. I had a look at this: restful notifications and you could achieve set the notification by adding these lines to configuration.yaml:
notify:
- name: whatsapp_me
platform: rest
resource: https://whin2.p.rapidapi.com/send
method: POST
verify_ssl: true
headers:
X-RapidAPI-Host: whin2.p.rapidapi.com
X-RapidAPI-Key: YOUR_API_KEY
message_param_name: text
I am no an expert on HA, the key here is you are able to POST a JSON with this property:
{“text”: “whatever is the message you need on the notification”}
If someone is able to test this, I would be more than happy to help on the backend side.
Oh, I see… if you follow the video you should receive the whatsapps on the groups without a problem… it doesn’t matter how you have configured HA to run. I am no expert and it worked for me
{
"{"text": "Whatsapp from HomeAssistant"}": true
}
the Notification payload must be a valid JSON string, as the POST data is set to: application/json, and the valid schema is: “text”: “the test you want to send”.
Thanks…I will look at it when I get my 10/d back tomorrow
I do understand that any dev effort does not come for free but 10/d is a bit low to install/test
Not sure if you @lu4t can influence this but I would allow a 100/d for 1-2 days.
To be very clear. I have no worries in paying but I need to see its value first.
I give up, not possible (for me) to create a group setup without continuously running into API max.
I even started a new account just now, I did 1 (one) sign-up call and then when creating ‘group’ it again started to throw a max-API calls reached.
I am not willing to pay a dime without proven working, it might also be a scam to suck money? How is it guaranteed to be working if you pay?
Nice idea and possibly working but not for me under these conditions…
BTW, just a fun comment. According to your web, this is developed by inUtil labs. Even, in the Whastapp bot the name has the word inUtil. In Spanish sound really really bad means Useless but as insult.
Ok… I’m super excited to use this, but I’m starting to get annoyed. Can someone help me understand what’s happening? Why can’t I generate a group-id?
I subscribed and got individual messages working. I created a group and became Admin (I removed any privacy restrictions). I try to request the group-id and I get nothing. In all my testing, I hit my daily quota. I assume any interaction with the API counts against the quota. Is it possible I’m requesting the group-id too close to the previous request and it just doesn’t notify me? Is there a way I can see a running log for all activity?