Hitachi Vantara Pentaho Community Forums
Results 1 to 14 of 14

Thread: Sending mobile notifications using PDI

  1. #1
    Join Date
    Dec 2010
    Posts
    193

    Question Sending mobile notifications using PDI

    Hi,

    Is it possible to send a notification to a mobile number when the job is finished like email notification ?? Any idea, Just a try.
    Sathish
    Back to Pentaho


    'Be the best Pearl in the ocean of wisdom'

  2. #2
    Join Date
    Mar 2013
    Posts
    24

    Default

    Hi,

    Sure, you can connect to a REST api that will send text messages. Check out Twilio: http://www.twilio.com/docs/api/rest

    And you can use this step: http://wiki.pentaho.com/display/EAI/Rest+Client

    You can also look at sending an email to a phone--lots of service providers (in the USA, at least--not sure about other parts of the world) have an email to sms gateway (like 333444333@txt.att.net) that will send an sms to a phone when an email is sent to that address. Check with the phone company about this option (which has the benefit of being free to the sender).

  3. #3
    Join Date
    Dec 2010
    Posts
    304

    Default

    Hi,
    open Spoon and go to Help -> Marketplace.
    Here you can find two plugins to install: Android Push Notification and Apple Push Notification

  4. #4
    Join Date
    Dec 2010
    Posts
    193

    Default

    Thanks for the tip. Will check on the options .
    Sathish
    Back to Pentaho


    'Be the best Pearl in the ocean of wisdom'

  5. #5
    Join Date
    Dec 2010
    Posts
    193

    Default

    Hi lukolap,

    Whether the push notification sends notification to a mobile number or it needs an app to be installed ?

    Mooreds,

    The cost of twilio is not affordable.
    Sathish
    Back to Pentaho


    'Be the best Pearl in the ocean of wisdom'

  6. #6
    Join Date
    Dec 2010
    Posts
    304

    Default

    Hi satran,
    it needs an app (free) to be installed.
    See http://joel-latino.blogspot.it/

  7. #7
    Join Date
    Jun 2013
    Posts
    4

    Default

    Hi,

    For a number, I think is not possible. For that, you can use a gateway of sms. To send push notifications you need a backend and a mobile app.

    You can use the push notification plugin available on Pentaho marketplace. And you can use this litle android app: https://play.google.com/store/apps/d...oel.pdimanager

    Thanks
    Joel

  8. #8
    Join Date
    Dec 2010
    Posts
    193

    Default

    Hi Joel,

    Your blog is only being used for reference by me. But I am unable to get the registration key or don't know how to get it.
    Sathish
    Back to Pentaho


    'Be the best Pearl in the ocean of wisdom'

  9. #9
    Join Date
    Jul 2013
    Posts
    12

    Default

    Hey does that means that the push notifications is available for both Apple devices and the Androids..i mean that will be great..i guess good news it is..

  10. #10
    Join Date
    Jun 2013
    Posts
    4

    Default

    Hi Sathish,

    In PDI Manager, you get the registration key as illustrate this image.
    And you should be use this API key:
    AIzaSyAh7Nf-N7bE4xIwsVb7nk4mmls_yEQwZQA

    Thanks
    Joel

  11. #11
    Join Date
    Dec 2010
    Posts
    193

    Default

    Joel,

    The ktr has completed successfully . But I am not receiving the push notification in my PDI Manager app. Write log says --- below error

    IOException posting to GCM.

    Also, what value to specify pushnotification response field tab ?
    Sathish
    Back to Pentaho


    'Be the best Pearl in the ocean of wisdom'

  12. #12
    Join Date
    Jun 2013
    Posts
    4

    Default

    Hi Sathish,

    You need internet access in your ETL server and android smartphone to receive push notification (that's mandatory). You can use this transformation to test, you just need replace the registration key with your registration key.
    The response field is the response of GCM http://developer.android.com/google/...m.html#success. However, I need improve more this response.

    Thanks.
    Joel Latino

  13. #13
    Join Date
    Dec 2010
    Posts
    193

    Default

    Joel,

    I have previously tried with that ktr only. Still, I am getting the below response in Write to log,

    2013/08/07 08:40:47 - Write to log.0 - ------------> Linenr 1------------------------------
    2013/08/07 08:40:47 - Write to log.0 - pushResponse = IOException posting to GCM
    2013/08/07 08:40:47 - Write to log.0 -
    2013/08/07 08:40:47 - Write to log.0 - ====================
    2013/08/07 08:40:47 - Android Push Notification.0 - Finished processing (I=0, O=0, R=1, W=1, U=0, E=0).

    I am using PDI 5.0 build version and have Internet Connection in my System and Phone. The problem may be is because of the office system security settings ...
    Sathish
    Back to Pentaho


    'Be the best Pearl in the ocean of wisdom'

  14. #14
    Join Date
    Jun 2013
    Posts
    4

    Default

    Sathish,

    I did a test on PDI 5.0 build version with that ktr and works fine and receive the push. Probably, you have something wrong on the post request (may be registration key or API key). Are you able to intercept the raw request?

    Thanks.
    Joel Latino

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.