AutoRemote Notifications through WiFi service

Discussion in 'AutoApps' started by Artimis, Aug 14, 2018.

  1. Artimis

    Artimis New Member

    Joined:
    Dec 18, 2016
    Messages:
    13
    Likes Received:
    0
    Hi,
    I've had no problems sending messages locally via the WiFi service by ensuring the WiFi service is running on the receiving device and calling:
    http://<local ip>:1817/sendmessage?message=etc
    or even just
    http://<local ip>:1817/?message=etc

    However, it seems this convention only works for messages. What is the proper call for sending notifications this way?? I can't find any examples/documentation on it. I've tried:
    http://<local ip>:1817/sendnotification?title=etc&text=etc
    and
    http://<local ip>:1817/?title=etc&text=etc

    All of it results in a bad request.

    As a workaround, I can send a message and upon receipt, it will kick off a task to generate a notification with target = self but I'd rather not have to do that for every scenario.

    I have a series of monitor scripts that need to be able to send the notifications locally in the event of an internet outage and GCM is no longer an option.

    Thanks.
     
  2. Artimis

    Artimis New Member

    Joined:
    Dec 18, 2016
    Messages:
    13
    Likes Received:
    0
    Bump....anyone know how this can be achieved?

    Thanks.
     
  3. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,479
    Likes Received:
    806
    Hi there. There's currently no way to create notifications like this directly, sorry! You should be able to do it by intercepting a regular message and creating a notification from Tasker based on that. Hope this helps!
     

Share This Page