Yes. It is still working. Try to send the phrase again to get the apikey. Tip: Doublecheck the syntax to ensure that it is correct (exact match)
If you have problems, you can contact support ([email protected]).
I have just now configured the callmebot for myself. It’s still working. It takes about a minute for the API key to arrive. And also about a minute for each notification.
This is great! I also have the question with regards to privacy regarding these notifications. @borjamartinez are you able to read these or are these encrypted?
Also, there seems to be a delay of about 1 min between each text. Is that normal?
Messages are not stored in the DB but are visible by PHP when you call the API so please do not send confidential or sensitive information.
Yes. It is normal to have a small delay on the messages sent.
Great, thanks for confirming. Really good work with this!
As of 2020.12 (possibly since 0118.x) the WhatsApp notifications will no longer work.
There seems to have been an incompatible change to the REST integration.
The issue is on github already:
https://github.com/home-assistant/core/issues/43576
https://github.com/home-assistant/core/issues/44210
The workaround is to downgrade the rest integration https://community.home-assistant.io/t/rest-sensor-not-working-after-118-update/247930/2, so Whatsapp notifications work again:
- Go to https://downgit.github.io/#/home
- Download https://github.com/home-assistant/core/tree/0.117.6/homeassistant/components/rest
- Unpack the .zip as a custom_component (unpack the files into config/custom_components/rest/)
- Restart HA
As of 2021 May, the WhatApp notification works like a charm
I tested it very useful to send me a message when my wife is away from home.
Wow! thanks a lot.
Just the thing that I’ve been looking for.
Any possibility or plans for notifications to WhatsApp group?
Imagine that as api keys are tied to specific numbers that won’t work. Wonder if WhatsApp can be trained to forward automatically.
Is there also a possibility to add multiple numbers in home assistant in combination with. whatsapp?
Should multiple APIs be created or is 1 sufficient?
What does that config look like?
You need to create multiple APIkeys. One per phone number.
And then create multiple notify rest components and call one after the other in the Automation.
notify:
- name: WhatsApp1
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49123123123
apikey: 123456
- name: WhatsApp2
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49456456456
apikey: 456789
Not very efficient but it is working fine.
I was wondering if it is possible to send attached images?
That would be great indeed!
Many thanks for this, works perfectly and means I can send messages for those that don’t have Telegram (yet!!).
this is so cool, thanks for setting this up!
Any progression on being able to send images?
Did some tinkering and managed to get Whatsapp to send a weblink to an internal image that I wanted to share. Only issue though is you need a static IP (or functional Dynamic DNS name) and appropriate FW rules. But it works!
Can someone guide please how to send whatsapp mesaage to multiple numbers. I have got 2 api keys and struggling with yaml code. I tried following but its invalid.
-
name: WhatsApp
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
- phone: +123456 apikey: 123987 - phone: +987654 apikey: 689899
Something like this
notify:
- name: Phone1
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +987654
apikey: 689899
- name: Phone2
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +123456
apikey: 123987
Hi there,
yes, you have this option to send to HA notifications to whatsapp groups:
Enjoy it!
Thanks, tried this and it does not work. I can send was messages to myself through that Api but it simply will not set up a group. The bot will create the group just fine as per the API instructions and add me as the admin, but when I send the “group-id” command to get the group id so I can actually send messages to the group the bot will just not respond back with the group ID as per the API description.