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.
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.
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.
Hi, just checking if anyone else had this issue.
I have setup using the callme method, and it sends notifications…only if I trigger it once it will continue sending the same message over and over every couple seconds. I’ve tried adding a helper toggle and having it send a message when the toggle is of to try see if it’s maybe a command being repeated from HA but no use. Ended up blocking the bot just to have some peace and quiet.
id: '1688280487861'
alias: whatsapp_Koelkast
description: als de koelkast 8 minuten open staat, krijgen we een whatsapp bericht
trigger:
- type: opened
platform: device
device_id: ae02cd49848f14204d6c787934c239ba
entity_id: binary_sensor.deursensor_koelkast_contact
domain: binary_sensor
for:
hours: 0
minutes: 8
seconds: 0
condition: []
action:
- service: whatsapp.send_message
data:
clientId: default
to: [email protected]
body:
text: De koelkast in de keuken staat open !
mode: single