-
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Raspberry Pi 4 support? #3
Comments
I am trying to make it run on RPi4, but unsuccessfully so far... I guess I just do not understand everything as well. While I try to run
Also, not sure that I edited the config the right way:
|
Are you sure that hci0 is your Bluetooth device? |
I believe so... It is even a Broadcom chip. Unless I am mistaken?
|
Your user is most likly not in the I should probably add that to the documentation |
It doesn't. You need to specify the correct command manually |
Ahh that makes sense! Sorry for not reading it through carefully... |
Ok, just for testing, I got it running with a RPi 3B with the internal bluetooth. However it seems that after the power cycle is not enough, I also needed to do a Looking at the child_process documentation, this might not work out-of-the-box as it is right now... |
Hm. Apparently If you for some reason need to run more than one command, I'd suggest wrapping those in a script and using that as the recoveryCommand since |
Unfortunately Ps.: It seems like that the hciconfig down & up are still needed even if lescan works... |
I think the power cycling isn't fully working then. iirc that's also what I saw when trying the 3b. USB Bluetooth seems to be the only viable option, sadly :( |
@Hypfer Yes I know I just wanted to try out, and my USB Bluetooth haven't arrived yet. |
Unless you find a way to flash a custom firmware to the kettle sadly no |
I'm using it on RPi 4B with builtin adapter on Ubuntu Server without any issues so far (it's been working for ~5 hours without any issues). I've been running it in docker with docker-compose. Dockerfile: FROM node:12-alpine
WORKDIR /app
ARG VERSION=master
RUN set -ex; \
apk add --no-cache --virtual .build-deps \
wget \
tar \
git \
python2 \
alpine-sdk \
; \
wget https://github.com/Hypfer/Cybele/archive/${VERSION}.tar.gz -O cybele.tar.gz; \
tar --strip-components=1 -xf cybele.tar.gz; \
rm cybele.tar.gz; \
npm install; \
apk del .build-deps; \
cp config.default.json config.json
ENTRYPOINT ["/usr/local/bin/node", "app.js"]
AppArmor can be configured with custom profile to allow DBus access to bluez only, I didn't think it was worth the time and effort and just have made Cybele container "privileged" (with |
I read the documentation, but I'm not sure I understand everything fully.
The uhubctl README says that it supports Pi 4 but it is buggy, so if you connect the Bluetooth Adapter directly to the main hub (eg.: one of the provided USB ports), it will power down all ports.
So my main questions are:
The text was updated successfully, but these errors were encountered: