Comments (12)
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.
from govee-api-ble.
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.
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.
It should work fine
from govee-api-ble.
from govee-api-ble.
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.
When trying to install bluez 5.9 using this how to https://www.instructables.com/Control-Bluetooth-LE-Devices-From-A-Raspberry-Pi/
Getting error between these two steps
from govee-api-ble.
Ok I fixed the error but now I get thus
from govee-api-ble.
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.
from govee-api-ble.
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
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 govee-api-ble.