Want to link WinCC OA with WhatsApp? Solution inside.

Find and share HowTos to various installations / configurations!
3 posts • Page 1 of 1
agruber
Posts:147
Joined: Tue Sep 07, 2010 2:52 pm

Want to link WinCC OA with WhatsApp? Solution inside.

Post by agruber »

My smarthome (WinCC OA and KNX/EIB powered) has a Huawei USB Modem for sending SMS via command line in emergency situations.

For some time I wanted to extend that with WhatsApp.

What do you need for that?
1. Setup yowsup https://github.com/tgalal/yowsup . I have done that on my Linux machine, however, according to the website it can be used in Windows too.
2. Setup my modded form of the yowsuphttpinterface (base is from https://github.com/johntheknife/yowsuphttpinterface ).
3. Enter the user credentials and other data to the CTRL script and import the ASCII file with the necessary DPEs
4. Start a CTRL manager for the interface between WinCC OA and yowsup.

Image
Image

What is missing aside from the original httpinterface:
- a heartbeat from WinCC OA to the interface
- confirmation of the sending in WhatsApp is done, even if it is not sent to WinCC OA yet.
- redundancy is not taken care of at the moment
- check if the user has received a message is not done
- it is probably not that secure, opening just to localhost will be a first step to secure communication a bit more

So there are still open issues.

Do you think it is worth to follow up?

BR,
Andreas Gruber https://www.winccoa.com/fileadmin/image ... essage.zip https://www.winccoa.com/fileadmin/image ... inccoa.zip
Attachments
Screenshot_2016_06_26_00_40_03.jpg
yowsup_http_winccoa.zip
(4.38 KiB) Downloaded 116 times
RESTmessage.zip
(1.69 KiB) Downloaded 116 times

vogler
Posts:122
Joined: Thu Oct 28, 2010 8:32 am

Re: Want to link WinCC OA with WhatsApp? Solution inside.

Post by vogler »

cool idea! great!

yavaskoray
Posts:29
Joined: Mon Dec 02, 2013 11:15 am

Re: Want to link WinCC OA with WhatsApp? Solution inside.

Post by yavaskoray »

:woohoo:

3 posts • Page 1 of 1