Skip to main content

Interface to Thingy:52

Project description

=========
Thingy:52
=========


.. image:: https://img.shields.io/pypi/v/thingy52.svg
:target: https://pypi.python.org/pypi/thingy52

.. image:: https://img.shields.io/travis/SebastianRoll/thingy52.svg
:target: https://travis-ci.org/SebastianRoll/thingy52

.. image:: https://readthedocs.org/projects/thingy52/badge/?version=latest
:target: https://thingy52.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://pyup.io/repos/github/SebastianRoll/thingy52/shield.svg
:target: https://pyup.io/repos/github/SebastianRoll/thingy52/
:alt: Updates


Python interface to Thingy:52

.. image:: demos/demo_camera_udp.gif

* Free software: MIT license
* Documentation: https://thingy52.readthedocs.io. <- coming soon

This package is an implementation of a Python interface for the Thingy:52 ble IoT Sensor Kit.

More information about Thingy:52 is found here: https://www.nordicsemi.com/eng/Products/Nordic-Thingy-52

Full disclosure: A reference implementation for thingy:52 already exists in the popular bluepy package:

https://github.com/IanHarvey/bluepy

Install
-------

Python 2 support <- coming soon.

Python 3:

.. highlight:: bash

$ sudo apt-get install libglib2.0-dev
$ pip3 install thingy52

If you find bluepy-helper isn't being built, please try:

.. highlight:: bash

$ pip install --no-binary :all: thingy52

To use the recording demo (/demo/record.py) you will need the PyAudio package (https://people.csail.mit.edu/hubert/pyaudio/).

Features
--------

* CLI interface using Click

* Data conversion functions for all sensors (not yet fully complete)

* Some fun demos to get you started


BUGS
----

The first connection attempt after turning on the thingy:52 usually fails, but it works after that.


TODO
----

- [ ] Python 2.X

- [X] Python 3.X

- [ ] Implementation

- [X] Toggle notify

- [ ] Notification frequency

- [X] Read/Write

- [X] Services

- [X] Environment

- [X] Motion

- [X] User Interface

- [ ] Audio

- [ ] Documentation

- [ ] Installation

- [ ] Usage

- [ ] Convert docs to markdown

- [ ] Badges (CI, Readthedocs)

- [ ] Photo of thingy:52

- [ ] Gif of demo (controlling Picam)

- [ ] Distribution

- [ ] Conda package (conda-forge)

- [X] Pypi package

More information
----------------

* https://nordicsemiconductor.github.io/Nordic-Thingy52-FW/documentation/firmware_architecture.html
* https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.rds%2Fdita%2Frds%2Fdesigns%2Fthingy%2Fhw_description%2Fhw_descr.html&cp=9_0_6

Credits
---------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage



=======
History
=======

0.1.0 (2017-08-26)
------------------

* First release on PyPI.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

thingy52-0.1.5.tar.gz (98.7 kB view details)

Uploaded Source

Built Distribution

thingy52-0.1.5-py2.py3-none-any.whl (12.5 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file thingy52-0.1.5.tar.gz.

File metadata

  • Download URL: thingy52-0.1.5.tar.gz
  • Upload date:
  • Size: 98.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for thingy52-0.1.5.tar.gz
Algorithm Hash digest
SHA256 3815fdc195ae450e4c76ab9f541df3fc64b785758b5e0ca7e4eb6d9255710b30
MD5 69f58717c46e09ff4f794c52d06a7643
BLAKE2b-256 8763fd075a4b037cb32b9806960727fd2f96d1a74da47e84d27522f217b4b77b

See more details on using hashes here.

File details

Details for the file thingy52-0.1.5-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for thingy52-0.1.5-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f577fe561fa03c214c1c53102455146b4ba585c2d5bf7794c9aecb46ee9a1cdb
MD5 d428ec286cee8181a18aacf7467cfa5c
BLAKE2b-256 87c3ed03812a9d77d9e8f9554c8ba23a3b0de13ff7db1845c27229f609825cc5

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page