Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

flic buttons disconnect and won't reconnect after no interaction for a while #8

Open
MoritzSkowronski opened this issue Jul 28, 2017 · 3 comments

Comments

@MoritzSkowronski
Copy link

MoritzSkowronski commented Jul 28, 2017

Hi,

I wanted to use 4 flic-buttons for an installation, where I use the java implementation of fliclib-linux together with fliclib-windows on Windows 10 machine. The buttons are being used all the time during the day, however there's no input during the night. It now sees as if they are somehow disconnecting during the night (although the disconnect event isn't printed out in the consolse of the java application) or as if the fliclib-windows is crashing. In that case the buttons all produce the red light, however they won't automatically reconnect and I can't add them using the scanner for new buttons. Windows itself is still showing me the devices as being connected in the bluetooth panel.

After a restart of windows the buttons do normally connect again. Could you help me in figuring out how to debug this?

@Emill
Copy link
Collaborator

Emill commented Jul 28, 2017

Hi.

Does it always happen at night time rather than day time?

Anyway, if you restart the Flic daemon (and your java program) when the problem happens, does it work then? If not, it's definitely a bug in Windows. If it works, it might be a bug in the Flic software.

Which Windows build version do you have?

@MoritzSkowronski
Copy link
Author

I'm not 100% sure that it only happens at night time. Today I noticed that apart from stopping to work altogether, one or more buttons can become very slow. The output of the java program is then:

{button-id}: Disconnected, Unspecified
{button-id}: Connected
{button-id}: Ready

I'm running Windows 10 Anniversary edition on this machine:
http://www.gigabyte.de/Mini-PcBarebone/GB-BKi7HA-7500-rev-10#ov

In the device-manager, my buttons are listed as:
f018..
f018..
&
f022..
f022..

I didn't have any crashes since my first post so I couldn't check for sure, but I think only a restart solves the problem.

@MoritzSkowronski
Copy link
Author

Update: I now switched to using haxwithflics on a mac and the application runs without any problems or connection losses.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants