Skip to content
This repository was archived by the owner on Nov 24, 2023. It is now read-only.
/ PyPush Public archive

Open Source Microbot Push library/daemon/Web UI

License

Notifications You must be signed in to change notification settings

VRGhost/PyPush

Folders and files

NameName
Last commit message
Last commit date

Latest commit

58e01ce · Nov 24, 2023

History

92 Commits
May 29, 2017
Dec 4, 2016
May 29, 2017
Dec 25, 2016
Dec 25, 2016
Dec 22, 2016
May 24, 2017
Jan 16, 2017
Dec 4, 2016
Dec 4, 2016
Dec 5, 2016
May 29, 2017
Nov 28, 2016
Dec 5, 2016
Nov 24, 2023
Dec 10, 2016
Dec 5, 2016
Nov 28, 2016

Repository files navigation

DEPRECATED

Microbot is no longer around as a company and I am not using any of their hardware anymore.

Open Source Microbot Push Server

Build Status

Docker Image

A 3rd-party implementation of Microbot Push service.

This project is planned to contain three separate elements:

You can find a dump of my current understanding of the Microbot's low-level Bluetooth API here

Running

Bgapi

$ cd "${PY_PUSH_CHECKOUT_DIR}"
$ pip install -r ./requirements/prod.txt
$ ./bin/serve.sh --ble_driver bluegiga --ble_device /dev/tty.usbmodem1 web_ui

PyBlueZ

$ sudo -i
# cd "${PY_PUSH_CHECKOUT_DIR}"
# pip install -r ./requirements/prod.txt
# pip install -r ./requirements/bluez.txt
# ./bin/serve.sh --ble_driver pybluez --ble_device hci0  web_ui

Microbot Push Library

At the moment, the library supports two BLE stacks:

  • Bluegiga: available for all platforms that support USB COM devices, does not require root access, does require purchase of a $15 piece of hardware
  • PyBlueZ (custom fork): Linux-only, requires elevation to root to run. The implementation is more of proof-of-concept, BLE operations are somewhat unstable (causing I/O delays). Don't forget to deploy PyBlueZ requirements for this mode.

Microbot Push Library Documentation

Web UI

UI Screenshot

Changelog

29 May 2017

Code:

  • Fixed missing createMicrobotFromUUID method in the PyBlueZ stack (kudos to @javaftper)

Docker container:

  • Now has embedded PyBlueZ support
  • Updated to the latest revision of code