Code Monkey home page Code Monkey logo

Comments (10)

ruundii avatar ruundii commented on May 26, 2024

hi.

are you using the default install script and install to a pre-existing raspbian image?

from bthidhub.

blovi8 avatar blovi8 commented on May 26, 2024

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.

gennymcdonagh avatar gennymcdonagh commented on May 26, 2024

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.

f3rn4nd0d avatar f3rn4nd0d commented on May 26, 2024

photo_2020-11-20_16-26-25

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.

ruundii avatar ruundii commented on May 26, 2024

I'll check it now, maybe something has changed with the new raspbian image.
wait for an update

from bthidhub.

ruundii avatar ruundii commented on May 26, 2024

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.

iravit avatar iravit commented on May 26, 2024

I had the same issue. Now it works. Thanks.

from bthidhub.

toretto460 avatar toretto460 commented on May 26, 2024

Hi @ruundii I've the same problem with a different error

image

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.

Dreamsorcerer avatar Dreamsorcerer commented on May 26, 2024

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.

Dreamsorcerer avatar Dreamsorcerer commented on May 26, 2024

This is fixed.

from bthidhub.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.