Custom Home Assistant integration to control a BLE device locally or via proxies.
- Adding devices via MAC and service UUID
- Adding/Removing switches via characteristic UUID
- Setting connection timeout (connection stays open for set amount after a switch was toggled)
- Switches become unavailable when no advertisement for 6 minutes (can't be less due to HA caching)
- Switches become unavailable when device not reachable
- Switches become available with first advertisement BUT sometimes they won't -> Reload integration
Add this repository as a custom integration:
-
In HACS, go to Integrations → Custom repositories
-
Paste this URL: https://github.com/chedda61/ble_generic_device Category: Integration
-
Click Add, then search for "BLE Generic Device" and install.
Restart Home Assistant.