Giter Site home page Giter Site logo

pypush's Introduction

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

pypush's People

Contributors

vrghost avatar javaftper avatar

Watchers

llunved avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.