https://portal.etm.at/index.php?option= ... 16&id=3765
The major downside to WhatsApp is that there is no Api from WhatsApp themselves. So any change must be maintained in the open source yowsup framework afterwards. This could mean days of outages after a change from WhatsApp.
Recently I came across a similar messenger from telegram.org . It has already over 100 million downloads and is available for all major desktop and mobile operating systems.
And there is a free API. Even better, they already provide an HTTP interface for so called Bot APIs which can easily be used in WinCC OA.
So for setup:
1. Get an account from telegram.org via the mobile app
2. Create a telegram Bot https://core.telegram.org/bots#3-how-do-i-create-a-bot
3. Enter the data in the script at the top in the variable restUrl
4. Import the ASCII file and start the CTRL manager with the script from the attachment here, telegram_bridge.ctl
5. Send a message once from the user to the bot, only afterwards the bot can send to the user
Usage:
See the example panel. Like in this example, send and receive messages can be done client side. Only the server does the connection to the telegram servers.


What is missing:
- a heartbeat from WinCC OA to the interface
- check what other features the Bot API provides, I have already found the possibility to request a button input (think of alarm ack)
- redundancy is not taken care of at the moment
Do you like it?
BR,
Andreas Gruber https://www.winccoa.com/fileadmin/image ... 170317.zip
