Sign inSign up

beetaone/bluetooth-observer-ingress

By beetaone

•Updated almost 2 years ago

Image
0

418

beetaone/bluetooth-observer-ingress repository overview

⁠bluetooth-observer-ingress

nameBluetooth Observer Ingress
versionv0.1.0
docker imagebeetaone/bluetooth-ingress⁠
tagsPython, Flask, Docker, beetaone
authorsGhassen barbouchi

⁠Table of Content


⁠Description

BLE:Bluetooth Low Energy This module use broadcast-advertiser BLE topology mode to scan the BLE devices around it filter the target BLE device by advertised mac address and forward the manufacturer BLE data to egress module. The manufacturer data content a structured data composed of sensors values.

⁠Features
  1. Scan ble devices around the host machine.
  2. Filter the BLE device by Mac address
  3. Forward the advertisement BLE data

⁠Environment Variables

⁠Module Specific

The following module configurations can be provided in a data service designer section on beetaone platform:

NameEnvironment VariablesTypeDescription
Scan TimeoutSCAN_TIMEOUTintegerThe timeout for the BLE scanning
Mac AddressMAC_ADDRintegerThe advertised mac address of the needed device (sensors device)
PeriodPERIODstringThe period between every two successive scans

Other features required for establishing the inter-container communication between modules in a data service are set by beetaone agent.

⁠Set by the beetaone Agent on the edge-node
Environment VariablestypeDescription
EGRESS_URLstringHTTP ReST endpoint for the next module
MODULE_NAMEstringName of the module

⁠Dependencies

requests
python-dotenv
bluepy

Tag summary

Content type

Image

Digest

sha256:ef8e9a4cc…

Size

226.2 MB

Last updated

almost 2 years ago

docker pull beetaone/bluetooth-observer-ingress