{"id":307,"date":"2014-03-03T23:13:56","date_gmt":"2014-03-03T21:13:56","guid":{"rendered":"http:\/\/www.rocworks.at\/wordpress\/?p=307"},"modified":"2014-03-03T23:31:33","modified_gmt":"2014-03-03T21:31:33","slug":"wincc-oa-push-notifications-to-iosandroid","status":"publish","type":"post","link":"https:\/\/www.rocworks.at\/wordpress\/?p=307","title":{"rendered":"WinCC OA Push Notifications to iOS\/Android&#8230;"},"content":{"rendered":"<p>Demo:\u00a0<a title=\"Demo\" href=\"http:\/\/youtu.be\/aCE8-84lAg0\" target=\"_blank\">http:\/\/youtu.be\/aCE8-84lAg0<\/a><\/p>\n<p>Install the Android-App:\u00a0<a title=\"Android-App\" href=\"http:\/\/rocworks.at\/project\/push\/rocworks.apk\">http:\/\/rocworks.at\/project\/push\/rocworks.apk<\/a>\u00a0(it is a very simple Test-App) and get messages sent by my &#8220;SmartHome&#8221; WinCC OA system.<\/p>\n<p>Or use it with your own WinCC OA project:<\/p>\n<p>Download the program from <a title=\"PushNotificationsWinCCOA\" href=\"http:\/\/rocworks.at\/project\/push\/PushNotificationsWinCCOA.zip\">here<\/a><\/p>\n<p>ASCII-Import: RocVMessage.dpl<br \/>\nCtrl-Script: RocVMessage.ctc (Port\u00a09601 is used for communication)<\/p>\n<p>On a Windows Host you have to start:<br \/>\nRocVMessage.exe &lt;messageHost&gt; &lt;projectToken&gt;<\/p>\n<p>if no messageHost is passed then localhost is used (messageHost is the host where the ctrl is running)<\/p>\n<p>if no project token is passed the messages will be send to the demo project\/service.<\/p>\n<p>if you wanna use your own distribution circle (with a projectToken) then you can generate a project token:\u00a0<a title=\"Token\" href=\"http:\/\/rocworks.at\/project\/push\/qrcode\" target=\"_blank\">http:\/\/rocworks.at\/project\/push\/qrcode<\/a><\/p>\n<p>Copy the project id\/token and save the QR-Image.<\/p>\n<p>Start RocVMessage.exe with this project token and scan the QR-Code with the Android-App (click on &#8220;PROJECT&#8221; at the top of the app).\u00a0Barcode Scanner App must be installed: <a title=\"Barcode Scanner\" href=\"https:\/\/play.google.com\/store\/apps\/details?id=com.google.zxing.client.android\">https:\/\/play.google.com\/store\/apps\/details?id=com.google.zxing.client.android<\/a><\/p>\n<p>Messages are sent to those devices using the same project token as the RocVMessage.exe uses.<\/p>\n<p>Sending a Push Notification: dpSet(&#8220;RocVMessage.Message.Message&#8221;, &#8220;hello from WinCC OA&#8221;);<br \/>\nThe message will be sent to all devices which are registered to the same project token (iOS and Android!).<\/p>\n<p>(Note: RocVMessage.Notification currently only works with iPhone, there is another technology behind, not yet implemented in the Android-App).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Demo:\u00a0http:\/\/youtu.be\/aCE8-84lAg0 Install the Android-App:\u00a0http:\/\/rocworks.at\/project\/push\/rocworks.apk\u00a0(it is a very simple Test-App) and get messages sent by my &#8220;SmartHome&#8221; WinCC OA system. Or use it with your own WinCC OA project: Download the program from here ASCII-Import: RocVMessage.dpl Ctrl-Script: RocVMessage.ctc (Port\u00a09601 is used for communication) On a Windows Host you have to start: RocVMessage.exe &lt;messageHost&gt; &lt;projectToken&gt; if no &hellip; <a href=\"https:\/\/www.rocworks.at\/wordpress\/?p=307\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">WinCC OA Push Notifications to iOS\/Android&#8230;<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[],"class_list":["post-307","post","type-post","status-publish","format-standard","hentry","category-wincc-oa"],"_links":{"self":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/307","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=307"}],"version-history":[{"count":6,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/307\/revisions"}],"predecessor-version":[{"id":310,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/307\/revisions\/310"}],"wp:attachment":[{"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=307"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=307"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.rocworks.at\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=307"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}