Flic Home

    Community

    • Login
    • Search
    • Popular
    • Users
    1. Home
    2. Recent
    Log in to post
    • All categories
    • All Topics
    • New Topics
    • Watched Topics
    • Unreplied Topics
    • somil.jain

      Is there any way to get Received Signal Strength Indicator(RSSI) for device?
      Developers • • somil.jain

      2
      0
      Votes
      2
      Posts
      1151
      Views

      Emil

      Hi. None of our of our official libraries do expose RSSI for Flic 2. We don't have any official react-native implementation for Flic 2 but at least on Android our Java library is open source so you can add the feature yourself if you want. But we have not heard of such a request earlier.

    • traboulsizs

      Home Assistant (HASSIO) - FLIC 2
      Developers • • traboulsizs

      8
      1
      Votes
      8
      Posts
      6330
      Views

      c 0

      I know your post is old, but I've been struggling too with connecting Flic 2 and Home Assistant. Using Flicd addon didn't give a stable integration, but this is a workaround I've found was quite stable. Works only with a Flic Hub and Apple Homekit running!

      In Home Assistant, set up an input boolean for single, double and hold for each Flic button. That's three input booleans for each button. Then expose Home Assistant to Homekit via the Homekit integration. You should now be able to control Home Assistant entities in Homekit, including your new input booleans. In the Flic app, set up your Flic button to run through Homekit In Homekit app, set up the button to turn on the input booleans corresponding to single, double and hold press. You can now create automations in Home Assistant, that fires when the states for your input booleans turn on. Also make an automation that turns off the input booleans again.
    • pistonep

      Android, Flic2 and background...
      Developers • • pistonep

      2
      0
      Votes
      2
      Posts
      1040
      Views

      Emil

      A foreground service should be enough (at least according to Android's official documentation). A wake lock should not be used/needed. This works perfectly fine on "original" Android devices such as Google Pixel devices. Some chinese phone manufacturers might neglect the intended behaviour for a foreground service and kills the process anyway though after some undocumented rules, unless the app is white listed or similar.

      The sample application at https://github.com/50ButtonsEach/flic2lib-android-sample uses a foreground service. You can check that out.

    • kida001

      Flic HTTP Request - no way to edit/remote header?
      Developers • • kida001

      4
      0
      Votes
      4
      Posts
      1454
      Views

      Emil

      Just press on the header key label. This will add a pink popup with a trash can icon you can press on to remove it.

    • Mark

      Flic for pi3..
      Developers • • Mark

      21
      3
      Votes
      21
      Posts
      46590
      Views

      Emil

      @bashar_8383 If you get "Client EOF" in the flicd log, it simply means the client connecting to flicd has gracefully exited. I suggest you to ask the people working on home assistant for this kind of issue.

    • tonsit

      Flic Hub SDK
      Developers • • tonsit

      2
      1
      Votes
      2
      Posts
      1459
      Views

      ttt

      I'm looking for a similar thing - or even an API of some sort to interact with the HUB eg, send commands to trigger the actions on the hub.

      I've found flichub-linux-kernel, which seems like the kernal installed to the hub, but haven't tried reverse engineering it yet.

      Any docs, or any pointers on where to look? Happy to hack/reverse engineer things if the docs aren't in place.

    • mattias 0

      Flic 2 + hub + IFTTT
      Developers • flic2 flic hub ifttt • • mattias 0

      6
      0
      Votes
      6
      Posts
      3745
      Views

      barrie_riddoch

      @mattias-0 Why can't I use any of the flic/Wyze applets already posted. I have flic2 so I guess that's my answer but why can't your interface detect which type of flic is being pushed? I assume there must be a difference but I don't see anything to help me. What I'm trying to do is simply turn on/off a Wyze smart plug. When I try to create this I add "flic" from your menu of stuff to the "if". For the "this/then" part I add the "Turn on Wyze plug". Now I get asked to select "Options" NADA can't do anything. Tried using a Tagged flic whatever that means, doesn't ask for any options and I get "Finish". I click that and I get to title my applet which I did. Now I get "Can't create Applet, try again later". What the hell is going on? I should not have to worry about whether I have a flic or a flic 2 YOUR interface should be able to detect and take care of that, why should I? If you want your stuff to make it in this market you need to SIMPLIFY things. I have 38 years of programming experience. I could dig into this and probably figure it out, is that what you want the average Joe off the street with no programming experience to do? YOU WANT THIS TO BE EASY FOR ANYBODY, OTHERWISE YOU WILL NOT MAKE IT!

    • home.assistant.2020

      Flic & Noonlight
      Developers • • home.assistant.2020

      3
      0
      Votes
      3
      Posts
      1261
      Views

      Emil

      Hi. This should be pretty straightforward. Set POST as method, set the url, add appropriate headers and fill in the data as the request body.

    • abhay

      FlicHub configuration for HTTP request
      Developers • flic hub htt • • abhay

      5
      0
      Votes
      5
      Posts
      3559
      Views

      home.assistant.2020

      I am attempting to integrate the flic button using the flic hub with noonlight API.

      This is what I need to pass to noonlight using the flic hub:

      curl --request POST
      --url https://api-sandbox.noonlight.com/dispatch/v1/alarms
      --header 'Accept: application/json'
      --header 'Authorization: Bearer AO3yovlMivKQrNLp72cH5QRLoazSbMxS'
      --header 'Content-Type: application/json'
      --data '{"location":{"address":{"line1":"1234 Street Ave.","city":"East City name","state":"AL","zip":"92310"}},"services":{"police":true,"fire":true,"medical":true},"instructions":{"entry":"0000"},"name":"John Smith","phone":"15555555555","pin":"0000"}'

      How would I format this in the flic internet request ?

    • martin.waugh

      How to unpair button on Windows
      Developers • • martin.waugh

      11
      0
      Votes
      11
      Posts
      4406
      Views

      Emil

      @romuald Yes!

    • edufediaz.publi

      RESULT_FAILED_NO_NEW_BUTTONS_FOUND when scanning for new buttons in Android 10
      Developers • • edufediaz.publi

      11
      0
      Votes
      11
      Posts
      3427
      Views

      Emil

      @edufediaz-publi Yes, that's what we do in the Flic app.

    • fady.kyriakos

      PbF SDK sample (android) error code 6
      Developers • • fady.kyriakos

      2
      0
      Votes
      2
      Posts
      884
      Views

      Emil

      Hi. This is not a support forum for private sdks. Please contact your Shortcut Labs representative.
      Thanks!

    • kemkriszt

      Flic with Unity
      Developers • • kemkriszt

      3
      0
      Votes
      3
      Posts
      2652
      Views

      tobias

      Just wanted to let you know, for anybody else coming here.
      I have made an implementation for unity3d.
      Open Sourcing it soon 🙂
      https://github.com/TobiasFP

    • wupopi

      Unity support
      Developers • • wupopi

      5
      0
      Votes
      5
      Posts
      2382
      Views

      tobias

      @tobias I have successfully made the implementation. Anybody in need, write here or contact me on my github (TobiasFP/"tobias" at "osandweb.dk").

    • rodney.buckmaster

      Re-pairing a Flic
      Developers • • rodney.buckmaster

      2
      0
      Votes
      2
      Posts
      711
      Views

      No one has replied

    • rob 0

      How do I set lowLatency?
      Developers • • rob 0

      3
      0
      Votes
      3
      Posts
      1287
      Views

      rob 0

      yes, the document refer's to button.lowLatency, however this field
      doesn't exist.

    • tobias

      NRF Connect does not register notify characteristic updates
      Developers • • tobias

      2
      0
      Votes
      2
      Posts
      1181
      Views

      Emil

      Hi. The button will not just send data by itself. You need to pair and initiate transmission first.
      I suggest you to look at our protocol specification at https://github.com/50ButtonsEach/flic2-documentation.
      If you can't use the flic2lib-android directly, you can at least look at the source code at https://github.com/50ButtonsEach/flic2lib-android/blob/master/flic2lib-android/src/main/java/io/flic/flic2libandroid/Flic2Button.java and try to port it to C#. The code follows the protocol specification.

    • info 6

      Error code list? What is error code 7?
      Developers • • info 6

      1
      0
      Votes
      1
      Posts
      1118
      Views

      No one has replied

    • flic p

      How to make Flic2 buttons red so they can be paired with other devices
      Developers • • flic p

      1
      0
      Votes
      1
      Posts
      654
      Views

      No one has replied

    • hemant.shelar

      Flic -> Internet Request - not working
      Developers • • hemant.shelar

      3
      0
      Votes
      3
      Posts
      1274
      Views

      ladybayimp

      Hi Hemant

      Did you manage to get Azure Functions to work? I'm having the same problem.

      I test a POST to my function and nothing.

      It works fine if I try from Postman

      David