Open ThatOneOcto opened 1 year ago
it says Paired on the switch in top left but the tui never picks it up and keeps saying connecting to any switch and it
what device are you testing this on?
rpi4
could you tell us what kind of Bluetooth dongle you are using? What OS are you running? And (if able, not required) what version of Python
are you running?
I am using the one that comes with my rpi4 and I'm using raspbian
Some devices take longer than others, so you should wait a few minutes. I assume you are running the newest version of SwitchOS? Make sure you're up to date on that. I would also recommend that you use Ubuntu-based systems if possible, but it should work anyway. Could you tell us what brand of Bluetooth Dongle you are using? Kind of hard to diagnose from here
Same issue here, test works, but demo does not.
$ uname -a
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
Also on raspberry pi 4 b with latest Switch OS
Okay short update. Demo does not seem to work and test only randomly.. But I did the following to fix the webapp (which seems to work consistently)
git clone https://github.com/Brikwerk/nxbt.git
nano setup.py
Then change the install_requirements to the following:
install_requires=[
"dbus-python==1.2.16",
"Flask==2.3.2",
"Flask-SocketIO==5.3.4",
"eventlet==0.33.3",
"blessed==1.17.10",
"pynput==1.7.1",
"psutil==5.6.6",
"cryptography==39.0.1",
"jinja2==3.1.2",
"itsdangerous==2.1.2",
"Werkzeug==2.3.3",
],
Save the file then run:
sudo pip3 install .
Afterwards webapp should work
when I use
nxbt test
it was able to connect but any other mode likenxbt demo
ornxbt tui
just hang and never end up connecting, also yes I am running them with sudo