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
    • pistonep

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

      2
      0
      Votes
      2
      Posts
      811
      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
      1117
      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
      42027
      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
      1143
      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
      2910
      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
      932
      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
      2980
      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
      3392
      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
      2562
      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
      706
      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
      2325
      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
      1970
      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
      529
      Views

      No one has replied

    • rob 0

      How do I set lowLatency?
      Developers • • rob 0

      3
      0
      Votes
      3
      Posts
      946
      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
      984
      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
      857
      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
      514
      Views

      No one has replied

    • hemant.shelar

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

      3
      0
      Votes
      3
      Posts
      997
      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

    • mckay.smith27

      Chromecast YouTube NOT WORKING
      Developers • • mckay.smith27

      1
      0
      Votes
      1
      Posts
      486
      Views

      No one has replied

    • flic p

      Fail to scan button: Opservice is null false
      Developers • • flic p

      4
      0
      Votes
      4
      Posts
      1914
      Views

      flic p

      Oh I managed to get it working, my bluetooth wasn't on. Thanks!