Difference between revisions of "Callmebot"

From HSYCO
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 22: Line 22:
 
=== High Availability ===
 
=== High Availability ===
 
*'''Shutdown when inactive''': defaults to true.
 
*'''Shutdown when inactive''': defaults to true.
=== Options ===
 
  
 
== Datapoints ==
 
== Datapoints ==
Line 34: Line 33:
 
|-
 
|-
  
|rowspan="1" |connection
+
|rowspan="1" |sendmessage.<APIKEY>.<PHONENUMBER>
|online
+
|<String>
|R
+
|W
|connection established
+
|text message to send
 
|-
 
|-
  
Line 43: Line 42:
  
 
|}
 
|}
 +
 +
== Example ==
 +
 +
Send a text message to the Callmebot chat using EVENTS programming:
 +
 +
TIME : IO callmebot.sendmessage.645754.393338987873 = "message in a bottle"
  
 
== Release Notes ==
 
== Release Notes ==

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