Difference between revisions of "Callmebot"

From HSYCO
Jump to navigation Jump to search
 
(12 intermediate revisions by the same user not shown)
Line 9: Line 9:
 
This driver does not require any parameters.
 
This driver does not require any parameters.
  
You need to get the apikey form the bot before using the API:
+
* You need to get the apikey form the bot before using the API:
  
Add the phone number +34 644 71 81 99 into your Phone Contacts. (Name it it as you wish)
+
* Add the phone number +34 644 71 81 99 into your Phone Contacts. (Name it it as you wish)
Send this message "I allow callmebot to send me messages" to the new Contact created (using WhatsApp of course)
+
* Send this message "I allow callmebot to send me messages" to the new Contact created (using WhatsApp of course)
Wait until you receive the message "API Activated for your phone number. Your APIKEY is 123123" from the bot.
+
* Wait until you receive the message "API Activated for your phone number. Your APIKEY is 123123" from the bot.
 +
 
 +
{{tip|If you don't receive the ApiKey in 2 minutes, please try again after 24hs.}}
  
Note: If you don't receive the ApiKey in 2 minutes, please try again after 24hs.
 
 
The WhatsApp message from the bot will contain the apikey needed to send messages using the API.
 
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.
 
You can send text messages using the API after receiving the confirmation.
 +
 +
=== High Availability ===
 +
*'''Shutdown when inactive''': defaults to true.
 +
 +
== Datapoints ==
 +
 +
{| class="wikitable"
 +
!ID
 +
!Value
 +
!R/W
 +
!Description
 +
 +
|-
 +
 +
|rowspan="1" |sendmessage.<APIKEY>.<PHONENUMBER>
 +
|<String>
 +
|W
 +
|text message to send
 +
|-
 +
 +
|-
 +
 +
|}
 +
 +
== Example ==
 +
 +
Send a text message to the Callmebot chat using EVENTS programming:
 +
 +
TIME : IO callmebot.sendmessage.645754.393338987873 = "message in a bottle"
 +
 +
== Release Notes ==
 +
 +
=== 3.9.0 ===
 +
*initial version release
 +
 +
----

Latest revision as of 13:08, 6 September 2023

Callmebot is a free web service that allows to send Whatsapp message from HSYCO.

Note This driver allows HSYCO to send messages to a Whatsapp chat open with the Callmebot agent, telephone number +34644718199.

HSYCO Configuration

Add an CALLMEBOT I/O Server in the I/O Servers section of the Settings. This driver does not require any parameters.

  • You need to get the apikey form the bot before using the API:
  • Add the phone number +34 644 71 81 99 into your Phone Contacts. (Name it it as you wish)
  • Send this message "I allow callmebot to send me messages" to the new Contact created (using WhatsApp of course)
  • 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.

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.

High Availability

  • Shutdown when inactive: defaults to true.

Datapoints

ID Value R/W Description
sendmessage.<APIKEY>.<PHONENUMBER> <String> W text message to send

Example

Send a text message to the Callmebot chat using EVENTS programming:

TIME : IO callmebot.sendmessage.645754.393338987873 = "message in a bottle"

Release Notes

3.9.0

  • initial version release