I´ve installed WhatsApp Addon for HomeAssistant and it works fine for me. But how can I send messages in Whatsapp groups? A group does not have a phonenumber and I am not sure how to address the group?
In the instructon thre is something mentioned with @g.us. does it mean: groupname@g.us?
Thanks for support,
Spartacus
is there noone who can help? I found out, that the grou-id needs a special format: [email protected]. The WhatsApp group ID is different, when you extract it from the groupinfo in Whatsapp. It looks like KOo12NwT7FT7I7d10djOjG and I do not understand to bring this in the expected format.
FyI: this Add-On works for Groups. just use the provided example from the add-ons creator to send a message to a single recepient. The only difference is a different recipient.
There are two ways for identifying the group id:
Go to development tools-> Events → in the section “record event” put the value “new_whatsapp_message”. push the record button. Once you have any received message in that group chat , you will see in this screen the event log containing something
The following is valid for Chrome. Log in in WhatsApp web on a computer and open the group chat by clicking it on the left navigation table to see it on the right side. Open the development tools and move to the tab called “Elements”. Use CTRL+F to open search. Enter “g.us”. Now you should find the groupId.
you fill find something “[email protected]_[followed by some other thing, which looks like another id, but is unrelevant]”.