Wiser sending PUSH notifications

Discussion in 'C-Bus Wiser 1 Controller' started by jorr, Dec 5, 2013.

  1. jorr

    jorr

    Joined:
    Mar 14, 2012
    Messages:
    23
    Likes Received:
    0
    Location:
    Melbourne
    Hi all

    Just wondering if wiser is capable of sending push notifications to mobile devices?

    It would be nice to get notified if particular GA's have been activated ie. external PIR's etc.

    Cheers
     
    jorr, Dec 5, 2013
    #1
  2. jorr

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    No its not capable of this..
     
    Roosta, Dec 5, 2013
    #2
  3. jorr

    Brendan Rogers

    Joined:
    Aug 3, 2004
    Messages:
    124
    Likes Received:
    0
    Hi Jorr,

    Other threads on this forum outline the following possible solution for Android devices:
    1. Have the wiser send an email to a gmail account (the Wiser can send to a gmail account or any other, but it cannot receive emails from a gmail account).
    2. Set up your Android phone and gmail account to support pushed emails to your phone.

    You would probably also want to restrict the other non-Wiser emails being received by the gmail account that you use for this.
     
    Brendan Rogers, Dec 5, 2013
    #3
  4. jorr

    Roosta

    Joined:
    Nov 22, 2011
    Messages:
    560
    Likes Received:
    1
    Location:
    Australia
    ^ Creative.. I like it... No use for it but I like it none the less.. :)
     
    Roosta, Dec 5, 2013
    #4
  5. jorr

    zei20t

    Joined:
    Aug 18, 2010
    Messages:
    130
    Likes Received:
    1
    Location:
    Sydney, Australia
    'push' emails are supported by any device that supports exchange emails or activesync. not just android devices.

    so that means any Hotmail or gmail etc email service will 'push' the email to your device, such as iphones/ipads, windows phones, any Samsung phone.
     
    zei20t, Dec 5, 2013
    #5
  6. jorr

    kjayakumar

    Joined:
    Oct 27, 2008
    Messages:
    448
    Likes Received:
    0
    It depends on your definition of "push notifications". What I have seen done is the use of the Wiser's HTTP GET/POST capability in logic. Eg taken from Roosta:
    ---
    once (GetLightingState("IP Cam Pos1") = ON) then
    Begin
    PostHTTPData('http://10.1.1.33:1900/decoder_control.cgi?command=31&user=admin&pwd=','' ); {Command to send camera to preset 1}
    Delay("0:00:01");
    { Would be better to call read in a while loop until data is received but for simplicity, just call it a couple of times }
    ReadHTTPPostData(DataString);
    Delay("0:00:01");
    ReadHTTPPostData(DataString);
    SetLightingState("IP Cam Pos1", OFF);
    End;
    ---
    You could use the http get/post functions to talk to a suitable web service. If you prefer lower level access, you can use the TCP client sockets.
     
    kjayakumar, Dec 6, 2013
    #6
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.