Comments (10)
hi.
are you using the default install script and install to a pre-existing raspbian image?
from bthidhub.
Hi there. Yes, I've tried it a few different install methods using the default script(s). e.g., editing and running install_windows.bat from a windows machine, running setup.sh in bash on the pi, and also running each step of on_pi_setup.sh on the pi. I always end up getting the same result.
from bthidhub.
Hi, I'm also having the same issue. Have followed the provided instructions in the /install directory, but when I log into the web interface (with default password 'raspberry') I get the 'Unauthorized' messages mentioned above.
from bthidhub.
Hello, Raspbian installed from scratch and followed the instructions, but this is what I am getting so far. I want to connect a keyboard and a mouse both via USB to the Raspberry and use them as Bluetooth devices in several computers. Thanks!
from bthidhub.
I'll check it now, maybe something has changed with the new raspbian image.
wait for an update
from bthidhub.
after a couple of hours of investigation, I figured that something went wrong with a recent release of aiohttp library and for some reason sessions stopped to work in the app. for now I just point install script to a previous version of aiohttp
from bthidhub.
I had the same issue. Now it works. Thanks.
from bthidhub.
Hi @ruundii I've the same problem with a different error
I've installed the latest version (with the aiohttp==3.6.2
)
Here some logs for investigation
pi@bthidhub:~ $ sudo systemctl status remapper.service
● remapper.service - Remapper
Loaded: loaded (/lib/systemd/system/remapper.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-01-21 08:37:46 GMT; 42min ago
Main PID: 511 (python3)
Tasks: 12 (limit: 881)
CGroup: /system.slice/remapper.service
└─511 /usr/bin/python3 /home/pi/bthidhub/remapper.py
Jan 21 09:20:35 bthidhub python3[511]: resp = await handler(request)
Jan 21 09:20:35 bthidhub python3[511]: File "/usr/local/lib/python3.7/dist-packages/aiohttp/web_middlewares.py", line 119, in impl
Jan 21 09:20:35 bthidhub python3[511]: return await handler(request)
Jan 21 09:20:35 bthidhub python3[511]: File "/usr/local/lib/python3.7/dist-packages/aiohttp_session/__init__.py", line 154, in factory
Jan 21 09:20:35 bthidhub python3[511]: response = await handler(request)
Jan 21 09:20:35 bthidhub python3[511]: File "/home/pi/bthidhub/web.py", line 191, in get_bluetooth_devices
Jan 21 09:20:35 bthidhub python3[511]: return web.Response(text=json.dumps(self.adapter.get_devices()))
Jan 21 09:20:35 bthidhub python3[511]: File "/home/pi/bthidhub/adapter.py", line 186, in get_devices
Jan 21 09:20:35 bthidhub python3[511]: if self.adapter is None:
Jan 21 09:20:35 bthidhub python3[511]: AttributeError: 'BluetoothAdapter' object has no attribute 'adapter'
pi@bthidhub:~ $ sudo systemctl status bluetooth.service
● bluetooth.service - Bluetooth service
Loaded: loaded (/lib/systemd/system/bluetooth.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2021-01-21 08:37:41 GMT; 43min ago
Docs: man:bluetoothd(8)
Main PID: 368 (bluetoothd)
Tasks: 1 (limit: 881)
CGroup: /system.slice/bluetooth.service
└─368 /usr/libexec/bluetooth/bluetoothd -p time,input,autopair,policy,scanparam,deviceinfoNotifyAccess=main
Jan 21 08:37:41 bthidhub bluetoothd[368]: src/main.c:parse_controller_config() Key file does not have group “Controller”
Jan 21 08:37:41 bthidhub bluetoothd[368]: Starting SDP server
Jan 21 08:37:41 bthidhub bluetoothd[368]: Ignoring (cli) hostname
Jan 21 08:37:41 bthidhub bluetoothd[368]: Ignoring (cli) wiimote
Jan 21 08:37:41 bthidhub bluetoothd[368]: Ignoring (cli) hog
Jan 21 08:37:41 bthidhub bluetoothd[368]: Ignoring (cli) gap
Jan 21 08:37:41 bthidhub bluetoothd[368]: Ignoring (cli) deviceinfo
Jan 21 08:37:41 bthidhub bluetoothd[368]: Ignoring (cli) battery
Jan 21 08:37:41 bthidhub bluetoothd[368]: Bluetooth management interface 1.14 initialized
Jan 21 08:37:42 bthidhub bluetoothd[368]: Failed to set privacy: Rejected (0x0b)
Let me know if I can check other logs
from bthidhub.
after a couple of hours of investigation, I figured that something went wrong with a recent release of aiohttp library and for some reason sessions stopped to work in the app. for now I just point install script to a previous version of aiohttp
Yep, it's a known issue with aiohttp 3.7. Once aiohttp 3.8 is out, you can switch back to the latest release.
from bthidhub.
This is fixed.
from bthidhub.
Related Issues (20)
- Apple Magic Keyboard Model A2450
- Logitech M185/M225 doesn't work on MacOS HOT 1
- A1644 (Magic Keyboard 2) major lag HOT 2
- ess > /dev/null
- Change Keyboard Layout HOT 3
- Integration with Bluetooth Midi ?
- Ipad HOT 2
- Installing bthidhub alongside pihole HOT 1
- How to write a filter for a Kensington Orbit trackball HOT 10
- No web interface after installation
- Installation procedure HOT 1
- Having trouble making it work HOT 2
- Is there a way to manipulate this to just send a keycode over bluetooth? HOT 2
- Looks like it's working but nothing is working. HOT 2
- Game controllers please reply
- Followed the instructions, I cannot connect via web interface HOT 3
- packages/pip + py import error HOT 4
- USB connection between Rasp Pi and Host? HOT 2
- Caps lock triggers Num lock in CM Storm Quickfire TK
- Cannot Control LED - Causes Crash HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bthidhub.