Giter Club home page Giter Club logo

Comments (6)

undera avatar undera commented on August 17, 2024

Hi,
This might relate to #33
A coupe of questions:

  1. Did you already upgrade your MoveHub firmware via official app or not?
  2. What was the way to install pylgbst library for your case?

from pylgbst.

krishermans avatar krishermans commented on August 17, 2024

Hi

I believe this could be the case. We updated MoveHub to latest firmware, and we are using pylgbst-1.0.1 (downloaded the zip file from releases page and installed with pip3).

I'm no Python expert: how could we use your latest sources?

thanks!
Kris

from pylgbst.

undera avatar undera commented on August 17, 2024

Please upgrade the library, I just made new release. Like this: pip3 install -U https://github.com/undera/pylgbst/archive/1.1.0.tar.gz
Let me know if it helps

from pylgbst.

krishermans avatar krishermans commented on August 17, 2024

I upgraded according to your instructions. However now we don't get a connection with the MoveHub (it gets discovererd, see logs below). I tried bluepy and pygatt (on Raspberry Pi 3). Pygatt did work before.

INFO:root:Trying get_connection_bluepy
INFO:root:Trying get_connection_bluegiga
INFO:pygatt.backends.bgapi.bgapi:Initialized new BGAPI backend
INFO:pygatt.backends.bgapi.bgapi:Auto-detecting serial port for BLED112
INFO:root:Trying get_connection_gatt
INFO:root:Trying get_connection_gattool
INFO:pygatt.backends.gatttool.gatttool:Running...
INFO:comms-pygatt:Discovering devices...
INFO:pygatt.backends.gatttool.gatttool:Starting BLE scan
INFO:pygatt.backends.gatttool.gatttool:Discovered 7A:06:02:7A:45:A6 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 58:90:D0:0A:C7:58 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 51:F4:59:FE:28:1E (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 72:6F:F3:F1:50:45 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 5F:EB:50:D9:4F:2F (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered C8:E0:EB:4B:8B:12 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 7C:94:AD:65:B7:24 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 74:05:6A:47:44:B5 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 49:AF:6A:6F:96:75 (None)
INFO:pygatt.backends.gatttool.gatttool:Found 9 BLE devices
INFO:comms-pygatt:Discovering devices...
INFO:pygatt.backends.gatttool.gatttool:Starting BLE scan
INFO:pygatt.backends.gatttool.gatttool:Discovered C6:2A:85:CD:2F:A8 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered name of C6:2A:85:CD:2F:A8 as MI Band 2
INFO:pygatt.backends.gatttool.gatttool:Discovered C8:E0:EB:4B:8B:12 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 74:05:6A:47:44:B5 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 7A:06:02:7A:45:A6 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 58:90:D0:0A:C7:58 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 7C:94:AD:65:B7:24 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 51:F4:59:FE:28:1E (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 5F:EB:50:D9:4F:2F (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 49:AF:6A:6F:96:75 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered 00:16:53:AA:D4:F5 (None)
INFO:pygatt.backends.gatttool.gatttool:Discovered name of 00:16:53:AA:D4:F5 as LEGO Move Hub

from pylgbst.

undera avatar undera commented on August 17, 2024

This is because I changed the lookup name. In my Hub, it's "Move Hub" and I thought that's for everyone.
However, you can always connect to your hub by MAC, like this:

hub=MoveHub(get_connection_auto(hub_mac='00:16:53:AA:D4:F5'))

from pylgbst.

krishermans avatar krishermans commented on August 17, 2024

It works now, thanks!

from pylgbst.

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.