Skip to content

Button not detected - Using recommended bluetooth adapter #111

@pollev

Description

@pollev

Hi,

I am currently unable to get my flic buttons to pair with the flic service.
I even went as far as to order the exact bluetooth adapter recommended on this page: (Sena Technologies Parani-UD100-G03).
There is very little debug options available so I am currently stuck :(.
Any advise would be recommended.

I am taking the following steps:

  1. Start the service
  2. Start the simple client
  3. Start the scanning wizard
  4. Click (and hold for 7s) the flic button

Terminal outputs and btmon output attached. Thank you for any help you can give me.

Terminal 1:

sudo /media/warm_storage/home_assistant/flicd/flicd -f /media/warm_storage/home_assistant/flicd/db -s "0.0.0.0" -p 5551 -h hci1
Available HCI devices found:
hci1
hci0

Trying hci1
hci1 is busy, shutting down and retrying...
Successfully bound HCI socket
Flic server is now up and running!
Warning: Bluetooth controller does not support pending connection and scanning at the same time. Will emulate this as good as possible.
Initialization of Bluetooth controller done!
Accepted new client

Terminal 2:

/tmp/flicd/fliclib-linux-hci/simpleclient$ sudo ./simpleclient localhost
Available commands:
getInfo - get various info about the server state and previously verified buttons
startScanWizard - start scan wizard
cancelScanWizard - cancel scan wizard
startScan - start a raw scanning of Flic buttons
stopScan - stop raw scanning
connect xx:xx:xx:xx:xx:xx id - first parameter is the bluetooth address of the button, second is an integer identifier you set to identify this connection
disconnect id - disconnect or abort pending connection
changeModeParameters id latency_mode auto_disconnect_time - change latency mode (NormalLatency/LowLatency/HighLatency) and auto disconnect time for this connection
forceDisconnect xx:xx:xx:xx:xx:xx - disconnect this button, even if other client program are connected
getButtonInfo xx:xx:xx:xx:xx:xx - get button info for a verified button
createBatteryStatusListener xx:xx:xx:xx:xx:xx id - first parameter is the bluetooth address of the button, second is an integer you set to identify this listener
removeBatteryStatusListener id - removes a battery listener
delete xx:xx:xx:xx:xx:xx - delete button
help - prints this help text

startScanWizard
Please click and hold down your Flic button!
Scan wizard done with status WizardFailedTimeout

Terminal 3 (see attached file):

sudo btmon > /tmp/btmon_out

btmon_out.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions