AutoRemote Send Message from Fibaro HC2

Discussion in 'AutoApps' started by okatzer, Apr 18, 2016.

  1. okatzer

    okatzer New Member

    Joined:
    Apr 17, 2016
    Messages:
    12
    Likes Received:
    0
    Hey,
    I want to send commands directly from a "Fibaro HC2"-LUA-Scene to an Android device with Tasker and AutoRemote Plugin.

    ------------------------------------------------------------------------------------
    This is from your FAQ:
    How do I send messages directly to the AutoRemote Wifi Service?
    First make sure that the AutoRemote Wifi service is turned on in Tasker.
    You can do so with the “AutoRemote Wifi” Tasker action.
    Then do an HTTP POST to the IP of the device on port 1817 with the following payload:

    {“message”:”hello”,”sender”:”YOUR_PERSONAL_KEY”,”ttl”:0,”communication_base_params”:{“type”:”Message”,”fallback”:false,”via”:”Wifi”},”version”:”1.63″}
    ------------------------------------------------------------------------------------

    How can I get a PERSONAL_KEY for the Fibaro HC2 ?
    Or can I leave it blank.

    thx Olaf
     
  2. joaomgcd

    joaomgcd Administrator Staff Member

    Joined:
    Feb 3, 2015
    Messages:
    9,477
    Likes Received:
    806
  3. okatzer

    okatzer New Member

    Joined:
    Apr 17, 2016
    Messages:
    12
    Likes Received:
    0
    Jap, but I want to send form Fibaro to Android Device and the Payload Parameter is "sender:YOUR_PERSONAL_KEY".
    So Fibaro is the sender and has no key. Or means it the receiver_key?
    Is it generally possible to send from Fibaro to AutoRemote WiFi Service?
    I had success with normal url "http://autoremotejoaomgcd.appspot.com/sendmessage?key=YOUR_KEY&message=hi",
    but I won't use the Internet connection.

    thanks in advance
     

Share This Page