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
Image docker ready #16
Comments
Indeed it would be nice to have an officially maintained docker image~~ |
Does this actually work? Interfacing to bluetooth via docker could be problematic? |
It should be. There are Home Assistant integrations that connect to Bluetooth devices. I don't know if they've had to do any magic to get that to happen. |
Related conversation here: http://forum.espruino.com/conversations/347915/ |
I'm running EspruinoHub in Docker on a Raspberry Pi. All I had to do is run the container with
I believe that if you run it with I'm not running the EsprionoHub container on the same host as Home Assistant because it seems that the way EspruinoHub works, and because I'm using the onboard BT adapter, it occupies the entire BT device and other programs on the same host can't scan for BLE devices anymore. So I'm just using a second Raspberry Pi. |
Thanks for the info. I did wonder if Home Assistant might be totally hogging the Bluetooth. |
I'm happy to have a Docker config in here if you think it's handy. My personal feeling has been that unless you're actually well-versed in Docker already, if you just want to get this running it's just more stuff to download and learn how to use - but the more ways to get this running well the better. With multiple adaptors: I'm not 100% sure what Noble defaults to, but you can use |
The way I see it is that, if I have Docker, I could do And it wouldn't stop people from installing it in the way that's currently documented, if that's what they prefer. |
I've finally got this working on a Pi Zero W. Installing a working version of Node is the painful bit. I'll open a PR. |
Great - thanks! |
Here's my version for Raspberry PI Zero:
|
Hello Gordon...
Image docker created for quick start...
https://github.com/humbertosales/espruinohub-docker-rpi
The text was updated successfully, but these errors were encountered: