class platypush.backend.bluetooth.BluetoothBackend(*args: Any, **kwargs: Any)[source]
__init__(address: str = '', port: Optional[int] = None, directory: Optional[str] = None, whitelisted_addresses=None, **kwargs)[source]
  • bus – Reference to the bus object to be used in the backend

  • poll_seconds – If the backend implements a loop method, this parameter expresses how often the loop should run in seconds.

  • kwargs – Key-value configuration for the backend


Starts the backend thread. To be implemented in the derived classes if the loop method isn’t defined.


Stops the backend thread by sending a STOP event on its bus