This is a fork of ldenisey/venus-os-dbus-ble-sensors-py with the following PRs merged in ahead of upstream:
- #2 Replace Bleak with raw HCI monitor channel — passive BLE scanning via
AdvertisementMonitor1, no scan contention- #3 Add SeeLevel 709-BTP3/BTP7 support — tank, temperature, and battery sensors
- #4 Add alarm delay setting to BleRoleTank
- #6 Fix Mopeka tank level scaling — execution order, butane formula, role consolidation
- #7 Cache D-Bus connections — prevent connection proliferation
- #8 Add curl-based install method — install without opkg or remounting the filesystem
Venus OS dbus service for BLE device support. Replaces and extends official dbus ble service which does not allow collaboration for new devices support.
Devices currently supported :
Run this one-liner on your Venus OS device (SSH as root):
curl -fsSL https://raw.githubusercontent.com/TechBlueprints/venus-os-dbus-ble-sensors-py/main/install.sh | bashThis installs to /data/apps/dbus-ble-sensors-py/ which persists across firmware updates automatically. If an existing opkg installation is detected, it will be cleanly removed and replaced (all device settings are preserved).
To update, re-run the same command. To disable:
bash /data/apps/dbus-ble-sensors-py/disable.shTo re-enable after disabling or a firmware update:
bash /data/apps/dbus-ble-sensors-py/enable.shTo fully remove:
bash /data/apps/dbus-ble-sensors-py/disable.sh
rm -rf /data/apps/dbus-ble-sensors-pyAdd the venus-os-configuration opkg feed, then :
opkg install dbus-ble-sensors-pyTo make it persistent to Venus OS firmware upgrades, you can install mod-persist then :
persist-opkg install dbus-ble-sensors-pyDevice scan and enabling is done through the GUI, as described in the official documentations, i.e. Cerbo GX bluetooth.
In short devices can be enabled/disabled in Settings -> Integrations -> Bluetooth Sensors and configured in Settings -> Devices dedicated menu.
Note
Even though the configuration process is the same, the configuration themselves are NOT shared between this service and official ble service hence configuration will have to be reset when switching between the two.
For technical info and guide to add new devices, see dedicated developer page.