Giter VIP home page Giter VIP logo

Comments (12)

softgrass avatar softgrass commented on August 15, 2024

Hi! I completely forgot to specify in the docs, but when you assign your device you need quotes around you MAC address

Ex:

my_device = GoveeDevice(‘7C:A6:B0:1F:8E:63’)

If you have any other questions feel free to ask :-))

from govee-api-ble.

TnTCreeperLpr avatar TnTCreeperLpr commented on August 15, 2024

Now I get thisScreenshot_20220806-212000_Pydroid 3.jpg

from govee-api-ble.

softgrass avatar softgrass commented on August 15, 2024

You need gatttool installed for this to work. You’re running this on Android (I believe), so you need to find a way to install gatttool. This API works best on a Linux system like a Raspberry Pi

from govee-api-ble.

TnTCreeperLpr avatar TnTCreeperLpr commented on August 15, 2024

Yeah I was doing this while I work where I couldn't access the pi, but once i do would it work?

from govee-api-ble.

softgrass avatar softgrass commented on August 15, 2024

It should work fine

from govee-api-ble.

TnTCreeperLpr avatar TnTCreeperLpr commented on August 15, 2024

It still says the same thingScreenshot_20220807-101345_Putty SSH.jpg

from govee-api-ble.

softgrass avatar softgrass commented on August 15, 2024

Please read your error messages. It says gatttool cannot be found, which means it is not installed, you need to install gatttool (using the BLUEZ package) for this program to work.

from govee-api-ble.

TnTCreeperLpr avatar TnTCreeperLpr commented on August 15, 2024

When trying to install bluez 5.9 using this how to https://www.instructables.com/Control-Bluetooth-LE-Devices-From-A-Raspberry-Pi/

Screenshot_20220807-103322_Putty SSH.jpg

Getting error between these two steps
Screenshot_20220807-103553_Chrome.jpg

from govee-api-ble.

TnTCreeperLpr avatar TnTCreeperLpr commented on August 15, 2024

Ok I fixed the error but now I get thus
Screenshot_20220807-112200_Putty SSH.jpg

from govee-api-ble.

softgrass avatar softgrass commented on August 15, 2024

According to this guide, it says If you get a connect: No route to host (113), that means the device is not advertising, you’ve used the wrong address or you haven’t run sudo hcitool lescan before opening gatttool.

Hope this helps, you may have the wrong MAC address, or are too far from the lights.

from govee-api-ble.

TnTCreeperLpr avatar TnTCreeperLpr commented on August 15, 2024

Now I'm getting this
Screenshot_20220807-195042_Putty SSH.jpg

from govee-api-ble.

softgrass avatar softgrass commented on August 15, 2024

From what it looks like, you are using the iHoment H6110 light strip, this API is guaranteed to work only with the H6127 light strip. Your light strip has wifi and other features built in to it, so please consider using a different way than BLE to control them (especially because of how inefficient BLE is. It is only used on this because the H6127 lights only use bluetooth).

from govee-api-ble.

Related Issues (6)

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.