Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. restauraid.mx
    3. Topics
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 5
    • Best 1
    • Controversial 0
    • Groups 0

    Topics created by restauraid.mx

    • restauraid.mx

      Make Http request to flic hub
      Flic Hub • • restauraid.mx

      1
      1
      Votes
      1
      Posts
      527
      Views

      No one has replied

    • restauraid.mx

      Web app connection with Flic HUB
      Developers • • restauraid.mx

      2
      0
      Votes
      2
      Posts
      1081
      Views

      ruffCode

      I know this is a little old, but here is one way to approach this.

      Create a webhook endpoint on the server, then use a websocket to push messages to the frontend.

      Register the buttons with the database, giving them a UUID.

      Split the API route based on button actions, passing the button's UUID as the parameter.

      Assign the URL as an action to the botton, i.e. ".../button/action/uuid

      Hope that helps

    • restauraid.mx

      Flichub and Android API
      Developers • • restauraid.mx

      5
      0
      Votes
      5
      Posts
      1541
      Views

      Emil

      @restauraid-mx The hub supports up to 63 buttons to be connected at the same time. But as I wrote earlier, the buttons are then connected to the hub and not to the Android device. So that's why I wondered what you want should happen with the button events when the buttons are pressed.