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

      Need help with python script on windows
      Developers • • erdnasyl

      4
      0
      Votes
      4
      Posts
      1948
      Views

      erdnasyl

      @emil
      Thank you for your help!
      I got a syntax error but I managed to repair it with this code:

      def got_button(bd_addr): cc = fliclib.ButtonConnectionChannel(bd_addr) cc.on_button_single_or_double_click = \ lambda channel, click_type, was_queued, time_diff: \ keyboard.press(Key.right) if click_type == fliclib.ClickType.ButtonSingleClick else keyboard.press(Key.left) cc.on_connection_status_changed = \ lambda channel, connection_status, disconnect_reason: \ print(channel.bd_addr + " " + str(connection_status) + (" " + str(disconnect_reason) if connection_status == fliclib.ConnectionStatus.Disconnected else "")) client.add_connection_channel(cc)

      It works perfectly and it seems I don't need to release the key.

      But it seems Windows Universal Apps don't recognize key presses sent by Python... Key presses are recognized everywhere else. Anybody knows why or how to get around it?

      The next step to have a fully functional Windows integration would be to make the script work with Eventghost. I will try either by capturing the keystroke event and by sending http requests to it's built-in webserver. I will let you know!

    • nicolas.garcia

      Unable to connect to Flic button
      Developers • • nicolas.garcia

      5
      0
      Votes
      5
      Posts
      2835
      Views

      jkriba

      Hi,
      I am facing the same issue with Samsung S8 and i am using the latest app from Android Play store. The button which is brand new is not getting discovered. Pls help,

      Regards
      JK

    • amit

      Unable to connect Flic device using PbfSample for Android
      Developers • • amit

      1
      0
      Votes
      1
      Posts
      780
      Views

      No one has replied

    • mb87.apple

      Flic button tap sound option flag (in SDK)
      Developers • • mb87.apple

      3
      0
      Votes
      3
      Posts
      1989
      Views

      mb87.apple

      Hello.

      Thank you for the fast feedback. We will have to show our users a message of this feature since they might be looking in our settings and/or inform our support team to handle the issues.

    • gekim.84

      Smart Life HTTP request
      Developers • • gekim.84

      1
      0
      Votes
      1
      Posts
      1397
      Views

      No one has replied

    • nicky

      Xamarin Integration
      Developers • • nicky

      1
      0
      Votes
      1
      Posts
      821
      Views

      No one has replied

    • magua73

      Click on a specific area of a screen
      Developers • • magua73

      3
      0
      Votes
      3
      Posts
      2144
      Views

      pywe

      Well this is what im searching for too... I would love the flip to emulate/simulate a touchscreen press in the middel of my iOS screen.

    • joe 0

      HTTP request success on Mac OS, 400 Fail on iOS
      Developers • • joe 0

      1
      0
      Votes
      1
      Posts
      817
      Views

      No one has replied

    • shawn.james.c

      How would I go about making Flic open a web page on a user's computer?
      Developers • • shawn.james.c

      4
      0
      Votes
      4
      Posts
      2943
      Views

      johan.soderblom

      @shawn-james-c Hello, this is possible using flic > ifttt > pushbullet. I tested it with Google Chrome and the pushbullet addon in the browser. When a URL is pushed, you set google chrome to open the url as default action.

    • a.alm

      Flic support for Home Assistant.
      Developers • • a.alm

      2
      1
      Votes
      2
      Posts
      1464
      Views

      a.alm

      I just found this.
      I will try it out.
      https://www.home-assistant.io/components/binary_sensor.flic/

    • Guenther

      Syntax for hppt-Requests (Body)
      Developers • • Guenther

      1
      0
      Votes
      1
      Posts
      880
      Views

      No one has replied

    • nevissoftware

      iOS Background Mode Playing Audio
      Developers • • nevissoftware

      1
      0
      Votes
      1
      Posts
      904
      Views

      No one has replied

    • restauraid.mx

      Flichub and Android API
      Developers • • restauraid.mx

      5
      0
      Votes
      5
      Posts
      2430
      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.

    • info 2

      React Native Flic Integration
      Developers • • info 2

      4
      0
      Votes
      4
      Posts
      2338
      Views

      info 2

      For anyone watching this topic:

      The provided the Github lib is amazing but focussed on Flic BLF (the business version). I'm looking for integration with the normal SDK for the 'normal' Flic buttons.

    • michel.hiemstra

      PBF Flic SDK for React-Native
      Developers • • michel.hiemstra

      1
      0
      Votes
      1
      Posts
      928
      Views

      No one has replied

    • mengzhaozhou

      error while launching the FlicSDK.exe on Windows 10
      Developers • • mengzhaozhou

      4
      0
      Votes
      4
      Posts
      2709
      Views

      Emil

      It should be fixed now.

    • kdossett

      Using Flic without an internet connection
      Developers • • kdossett

      1
      0
      Votes
      1
      Posts
      826
      Views

      No one has replied

    • sxdavies

      HTTP Requests - doing x-callback on iOS
      Developers • • sxdavies

      1
      0
      Votes
      1
      Posts
      1020
      Views

      No one has replied

    • MarriedRhombus

      Option to include the unique id of the button with the http request
      Developers • • MarriedRhombus

      2
      2
      Votes
      2
      Posts
      1431
      Views

      areader0

      So many of us asking for this.

    • david

      Homebridge: Flic + HomeKit
      Developers • • david

      5
      0
      Votes
      5
      Posts
      10911
      Views

      thomas.talving

      Anyone got a solution for the Flic Hub + Homebridge?