Skip to content

WhatsApp Telegram Notifications Setup

telenkov88 edited this page May 31, 2024 · 1 revision

This guide will help you configure WhatsApp and Telegram notifications for your peristaltic pump project using CallMeBot.

Register in CallMeBot service

Navigate to Settings:

    Go to Settings -> Notifications.

Enter WhatsApp Details:

    WhatsApp Number: Enter your WhatsApp number with the country code (e.g., 1234567890).
    WhatsApp API Key: Enter your CallMeBot WhatsApp API key.

Telegram Notifications Setup

Enter Telegram Details:

    Telegram Nickname: Enter your Telegram nickname (e.g., @yourusername).

Notification Preferences

You can choose which notifications you want to receive:

Empty Container Notification:

Receive notifications when the dosing pump empties a reagent container.

Dosing Notification:

Receive notifications for each dosing operation.

Screenshot 2024-05-23 184300

Notification Frequency and Aggregation

  • Notifications are sent every 10 minutes because of service limitations 25 messages in 240min
  • WhatsApp will receive last 10 updates because of message size limitations
  • Telegram will receive last 50 updates because of message size limitations

Aggregation Process

The system aggregates all notifications generated within the last 10 minutes and sends them in a single message to either WhatsApp or Telegram.

Rationale

  • Efficiency: Aggregating notifications helps to reduce the number of messages sent, which is especially important given CallMeBot's free service limitations on message frequency.
  • Clarity: By bundling multiple notifications into one, users receive a clear and concise summary of all recent activities instead of numerous individual messages.
  • Resource Management: This approach minimizes the risk of hitting service limits, ensuring that critical notifications are still delivered reliably.

Example Configuration

Here is an example of how your configuration might look:

WhatsApp

WhatsApp Number: 1234567890
WhatsApp API Key: 123123

Telegram

Telegram Nickname: @yourusername

Final Notes

Make sure you have valid API keys and that your WhatsApp number and Telegram nickname are correctly entered to receive notifications without issues. Enjoy seamless monitoring of your aquarium's reagent dosing with automated notifications!

Screenshot 2024-05-23 184025