Hallo Leute,
ich habe gerade die WhatsApp Benachrichtigung mit CallMeBot eingerichtet. Hat auch funktioniert, mit einem Empfänger.
Ich möchte aber, das 2 Empfänger eine Nachricht bekommen und habe das 2x untereinander in der Config eingegeben:
Example configuration.yaml entry
notify:
name: WhatsApp_Sabrina
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49***** #enter your phone number here
apikey: ******* #enter your apikey here (see Setup above)
Leider ist kann ich in den Automatitionen nur eine auswählen.
Du kannst entweder eine Notify Group einrichten (geht momentan nur per yaml in der configuration.yaml) → siehe Doku
Ansonsten einfach 2x hintereinander in der Automation aufrufen.
Edit: Ich habe das Problem falsch verstanden. Die zweite Config hat nicht funktioniert - das ist das eigentliche Problem, oder? Aber in deinem Codebeispiel ist doch nur 1x Empfänger definiert?!
# Example configuration.yaml entry
notify:
- name: WhatsApp_Michael
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49**** #enter your phone number here
apikey: **** #enter your apikey here (see Setup above)
# Example configuration.yaml entry
notify:
- name: WhatsApp_Sabrina
platform: rest
resource: https://api.callmebot.com/whatsapp.php
data:
source: HA
phone: +49**** #enter your phone number here
apikey: ****** #enter your apikey here (see Setup above)
Es wird aber nur WhatsApp_Sabrina zur Auswahl angezeigt.