The integration to use Whatsapper in home assistant!
Install Whatsapper add on.
You can find that in alexbelgium
Whatsapper is still not part ot the Default HACS repositories list.
To add this, add this repository as custom repository
in HACS, then install it searching whatsapper
in the search form.
To use Whatsapper notifications edit the configuration.yaml
file.
notify:
- platform: whatsapper
name: whatsapp
chat_id: [email protected] # WhatsApp chat id (see below)
To get all you chat ids, go on the web browser and call (using your home assistant ip):
http://192.168.1.123:4000/chats
Search and find the chat where you want to send messages and get it's id
If your whatsapper instance is somewhere else, you can specify that:
notify:
- platform: whatsapper
name: whatsapp
host_port: 192.168.1.123:4000 # host:port of the whatsapper instance
chat_id: [email protected] # WhatsApp chat id
You can send images in base64 format. Use the service with the data
parameter like this
image: iVBORw0KGgoAAAANSUhEUgAAAV4AAACWBAMAAABkyf1EAAAAG1BMVEXMzMyWlpacnJyqqqrFxcWxsbGjo6O3t7e+vr6He3KoAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAEcElEQVR4nO2aTW/bRhCGh18ij1zKknMkbbf2UXITIEeyMhIfRaF1exQLA/JRclslRykO+rs7s7s0VwytNmhJtsA8gHZEcox9PTs7uysQgGEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmEYhmGYr2OWRK/ReIKI8Zt7Hb19wTcQ0uTkGh13bQupcw7gPOvdo12/5CzNtNR7xLUtNtT3CGBQ6g3InjY720pvofUec22LJPr8PhEp2OMPyI40PdwWUdronCu9yQpdPx53bQlfLKnfOVhlnDYRBXve4Ov+IZTeMgdedm0NR+xoXJeQvdJ3CvziykSukwil16W/Oe7aGjIjqc/9ib4jQlJy0uArtN4A0+cvXFvDkmUJ47sJ1Y1ATLDNVXZkNPIepQzxy1ki9fqiwbUj/I+64zxWNzyZnPuhvohJ9K70VvXBixpcu2SAHU+Xd9EKdEJDNpYP3AQr3bQSpPQ6Y6/4dl1z7ZDbArsszjA7L0g7ibB0CDcidUWVoErvIMKZh2Xs0LUzcLW6V5NfiUgNEbaYmAVL6bXl0nJRc+1S72ua/D/cTjG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