Yes! Now Domoticz can send WhatsApp Text Messages thanks to the CallMeBot Free API. You just need Domoticz to perform a GET request to send WhatsApp Messages. Find below the step-by-step instructions to implement it using the Domoticz HTTP Notifications system.


You need to get the apikey form the bot before using the API:

1. Add the phone number +34 644 78 13 70 into your Phone Contacts. (Name it it as you wish)

  1. Send this message "I allow callmebot to send me messages" to the new Contact created (using WhatsApp of course)
  2. Wait until you receive the message "API Activated for your phone number. Your APIKEY is 123123" from the bot.
    Note: If you don't receive the ApiKey in 2 minutes, please try again after 24hs.
  3. The WhatsApp message from the bot will contain the apikey needed to send messages using the API.

You can send text messages using the API after receiving the confirmation.


5. Enjoy

5. Note, If you need any of the capabilities listed below, please check (low cost) or (best official provider)
    - Send messages to others
    - Send messages to Groups
    - Send messages from your whatsapp number
    - Send Images
    - Send Buttons
    - Send documents
    - Receive the answers

How to send WhatsApp notifications

You need to call to the following HTTPS URL:[phone]&apikey=[apikey]&text=[text]

[phone] is the destination phone number to send the message (For example: +34123123123)
[apikey] is the apikey that you received in the step 4 above
[text], is the message that you want to send. You can encode the URL (i.e. %20 istead of space, %0A for new lines) or use the symbol "+" for the spaces. WhatsApp formatting characters are allowed (i.e "*" for bold, etc.). Check here how to include emoticons in the message 👍.

For example, to send the WhatsApp text message "Alarm from Domoticz to inform you that the alarm has been triggered" to the phone number +34 123 123 123, the URL will be:

To do that with Domoticz is pretty easy using the HTTP/Action Notification system

Setup CallMeBot as Domoticz Notifications

0) Get the apikey (see Setup section above)

1) Go to Setup -> Settings -> Notifications (Tab)

2) Complete the "Custom HTTP/Action" section as below:

Enabled: Turn it on (green switch)
#FIELD1: Enter the apiket that you received during the setup
#TO: Enter your phone number with the country code but without the "+" symbol (Ex: 33123123123). Use the same number as the one used during the setup.

Screenshot (click to zoom):

WhatsApp Notifications for Domoticz

3) Click the Test button (light blue button on the right) to test the new Telegram Call Notification. You should receive a call in your phone after a couple of seconds.

How to use CallMeBot Notification service

Once the new Notification service is created, you can start using it in all your automations and triggers (switches, sensors, etc.)
I recommend you to get familiar with the Domoticz Notifications mechanism.
The easiest way is to enable notifications for switches and sensors.
Example of the notification enabled for a virtual switch:
1) Go to your switches and click "Notifications"
Switch Notification Button
2) To create a new Notification for the Switch, Select when you want to trigger the notification (Type field) and what is the message to use (Custom message field). The bot will text you the Custom Message via WhatsApp when the switch is triggered.
3) Select "http" as the notification system (that you configured before with the CallMeBot API)
4) Click "Add"
Now you should receive a WhatsApp Text message every time that the switch is turned on to inform you about it.


If you have problems, like not receiving the Call on Telegram, or not receiving the WhatsApp messages,  try to test the CallMeBot API using your Web Browser:

  • Telegram Phone Calls using Web Browser: here
  • Telegram Text Messages using Web Browsers: here
  • WhatsApp Text Messages using Web Browser: here

You might get some errors on the screen that will help you to identify the problem. (Ex: Calls disabled in the Telegram Security Settings, WhatsApp not activated, etc.)

If you still have problems using the API, don’t hesitate to contact me in Telegram @callmebot_com or by email at [email protected]. Remember to Follow me on Twitter to get news about coming features, changes, invitations, etc.