Flic Home

    Community

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

    Posts made by sasha.milic

    • Flic Device Manager API

      Hi,

      We are in desperate need for using Flic Device Manager for managing our fleet of more than 200+ Flic Hubs and buttons in enterprise environment across the globe.

      Main drawback, what is currently stopping us to switch completely to Flic Device Management, is adding Flic HUBs to FDM and also removing them. If you could have this feature, we will move complete HUB fleet to FDM.

      Current process that we use is:
      We need to send email request to add HUB to FDM and than wait for HUB to show up in FDM, so we can set it up and if we need to remove HUB from FDM, same thing... we need to send email and wait for your admin to remove it. This approach is not scalable for us and makes very difficult to scale up.

      Questions:

      1. Is there possibility to add support for "Add" and "Remove" HUBs to FDM?
      2. Is there Flic Device Manager API, that we can use to integrate to our system?
      posted in Developers device manager flic sdk fdm api
      sasha.milic
      sasha.milic
    • RE: Unpair buttons form Device Managed Flic HUB

      I notice in FDM configuration there is field "Exclusive". Is that mean, if we remove everything from field "Button pairings JSON" and check "Exclusive", that managed HUB will unpair all the buttons..?

      When I try that and update configuration. I wait for update to be confirmed in "HUB" menu.. and when I double check in Flic app on my phone, I can see that buttons are still connected to managed HUB.

      When I try to connect them to other HUB (bulkScan) they are able to connect. Is it a bug in Flic app or..?

      Screenshot 2021-08-16 at 10.14.30.png

      posted in Flic Hub SDK
      sasha.milic
      sasha.milic
    • Unpair buttons form Device Managed Flic HUB

      Is there a way to create module that, when applied to Device Managed Flic HUB, can unpair all the buttons from that HUB (some code example is appreciated)?

      Something like issuing command in HUB SDK Command Prompt:

      • deleteButton [bdaddr] ===> Delete button
      • clearAllButtons ===> Delete all buttons

      I can go over the buttons array and get (bdaddr) one by one, but I don't know what should I use to actually unpair them.

      Is there a way to use Command Prompt commands in module it self (main.js)..?

      Thank you in advance!

      posted in Flic Hub SDK
      sasha.milic
      sasha.milic
    • RE: Scan for new buttons and connect to HUB over SDK

      @Emil Thanks for explanation.
      Works now...
      I also managed to figure out what JSON structure is going for MDM under point 3.
      Basically I export pairings from dev hub and if we use those buttons on managed hub I just paste "buttons pairings" json in to the field.

      posted in Flic Hub SDK
      sasha.milic
      sasha.milic
    • Scan for new buttons and connect to HUB over SDK

      I have hub with enabled SDK. Successfully login to https://hubsdk.flic.io/

      Also I have fresh new button that is not connected to anything (aether HUB or the phone).

      When I use COMMAND PROMPT (scan) to scan for single button, it's not showing the anything. It's just scanning until I issue command (stopScan). No buttons are found.

      1. What is procedure (and/or code example) for adding fresh new buttons to HUB..?
      2. Do I need first to add button to hub over phone Flic app, or that is possible over the javascript?
      3. In the MDM solution (https://dm.flic.io/) in field "Buttons - Button pairings JSON" what structure I should add. (some example is will be very much helpful)?

      Screenshot 2021-08-11 at 12.14.38.png

      Thank you very much in advance..!!!

      posted in Flic Hub SDK flic hub scan button
      sasha.milic
      sasha.milic