-
-
Notifications
You must be signed in to change notification settings - Fork 29.3k
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
Ruuvi Gateway integration #84853
Ruuvi Gateway integration #84853
Conversation
I could test this. Are there any instructions how to do it, assuming I'm a regular software developer? |
@aapris Hey, familiar face 😁 Assuming you want to test this in a dev setup, pull my fork of the repo, switch to this branch, install requirements, If you have a non-dev setup (eg your home HA) it'd depend on the installation method. |
3500434
to
8a62134
Compare
Python 3.9 compatibility (oopsy in aioruuvigateway) will be taken care of once I'm at a terminal again, but this is otherwise reviewable. Would @bdraco want to take a look, being the resident Bluetooth sorcerer? 😁 |
I did a first pass review, if you need more detail, feel free to ask |
Co-authored-by: J. Nick Koston <nick@koston.org>
Co-authored-by: J. Nick Koston <nick@koston.org>
You'll probably have to adjust the config flow tests for the formatted mac as well |
Thanks for the handholding, @bdraco! 😁 I appreciate the help. |
Proposed change
This PR adds a new
ruuvi_gateway
integration that supports reading BLE advertisements from a Ruuvi Gateway on the local network, acting as a Remote Bluetooth Scanner (like ESPhome and Shelly).By default, the Ruuvi Gateway is configured to only relay advertisements with the RuuviTag manufacturer identifier, but it can be configured to relay all the things. (This is documented.)
Communication with the gateway is handled by https://github.com/akx/aioruuvigateway.
Screenshots
DHCP Autodiscovery!
... with a pre-filled IP (wow!)
Open questions
esphome
doesn't seem to have explicit tests for that either..?Type of change
Checklist
black --fast homeassistant tests
)If user exposed functionality or configuration variables are added/changed:
If the code communicates with devices, web services, or third-party tools:
Updated and included derived files by running:
python3 -m script.hassfest
.requirements_all.txt
.Updated by running
python3 -m script.gen_requirements_all
..coveragerc
.To help with the load of incoming pull requests: