PierrickKoch/wiiboard

Stuck on "Wait for calibration"

Opened this issue · 4 comments

[2024-03-01 13:08:55,938][main][INFO] Scan Bluetooth devices for 6 seconds...
[2024-03-01 13:09:04,135][main][INFO] Found wiiboards: ['00:24:44:12:CB:BB']
[2024-03-01 13:09:04,136][main][INFO] Connecting to 00:24:44:12:CB:BB
[2024-03-01 13:09:04,893][main][INFO] Wait for calibration

I am trying to run the wiiboard.py however, I am getting stuck on this "Wait for calibration" state. Am I missing a step or is this a bug?

I am using Ubuntu 22.04 on my computer.

Hello,
I am currently trying to use this code and I encounter the same problem as you. Did you find any solution ?

Hello, I am currently trying to use this code and I encounter the same problem as you. Did you find any solution ?

Unfortunately, no I have not.

Alright, thank you for answering me.

Hi,
if you stiil want to use this code there is 2 adjustments you can make.
On line 45, you can replace the command "logging.INFO" by "logging.DEBUG". You can also add a "time.sleep(1) in the connect fonction (between line 70 and 71, just after the connection to sockets).
It worked for me, but I am still stuck a little after in the code (in the loop fonction) because the data I receive is unknown. I don't know how to fix this problem but maybe you will.