Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/allthingstalk/raspberrypi-python-client
[deprecated] [Raspberry Pi] Python client library to connect to the AllThingsTalk platform
https://github.com/allthingstalk/raspberrypi-python-client
deprecated
Last synced: about 2 months ago
JSON representation
[deprecated] [Raspberry Pi] Python client library to connect to the AllThingsTalk platform
- Host: GitHub
- URL: https://github.com/allthingstalk/raspberrypi-python-client
- Owner: allthingstalk
- License: apache-2.0
- Created: 2014-05-16T12:07:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-09-15T07:10:28.000Z (over 7 years ago)
- Last Synced: 2024-11-05T20:54:01.701Z (3 months ago)
- Topics: deprecated
- Language: Python
- Homepage: http://maker.allthingstalk.com
- Size: 128 KB
- Stars: 10
- Watchers: 18
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
### This library is deprecated
raspberry-python-client library is deprecated, and will not receive any further updates. Please use [python-sdk](https://github.com/allthingstalk/python-sdk) instead.
---
raspberrypi-python-client
==========A library that provide access to the ATT IOT platform, for the Python language (geared for RPI development).
### Installation
- Copy the library to the RPI:
- Run `git clone https://github.com/allthingstalk/raspberrypi-python-client`
- or use an ftp client to copy the library to your RPI.
- Run `sudo bash raspberrypi-python-client/setupGrovePi.sh` in case you have the grovePi shield
or `sudo bash raspberrypi-python-client/setupNoShield.sh` if you don't have a grovePi shield### pip
A pip version is also available, but it will only install the library, not the grovePi dependencies. To install with pip:`sudo pip install att_iot_client`
Note: the procedure from git, running the bash command will also install the pip package, so that the library is globally available.
### Instructions
1. Setup the raspberry pi hardware
- Grove kit shield
- Push button to A2
- Led light to D4
2. Create the device in the IOT platform.
3. Modify the template script 'Shield_Demo.py' : `sudo nano raspberrypi-python-client/Shield_Demo.py`
fill in the missing strings: replace deviceId, clientId, clientKey. Optionally change/add the sensor & actuator names, pins, descriptions, types.
4. Run the script: `sudo python raspberrypi-python-client/Shield_Demo.py`### Extra info
- This [guide](http://allthingstalk.com/docs/tutorials/raspberrypi/setup/) contains a full recipe and detailed explenation on all aspects of the process. It guides you into setting up your Grove Pi, SD card and the platform.
- There's a [trouble shooting section](http://AllThingsTalk.com/docs/tutorials/raspberrypi/setup/#troubleshooting) you can check out if you are having problems.
- Also make certain that you check out all the availabile documentation that we have for the [raspberry pi](http://allthingstalk.com/docs/tutorials/raspberrypi/setup/).
- Check out [dexter industries (makers of the GrovePi)](http://www.dexterindustries.com/GrovePi/) excellent [tutorial for the RPI B+](http://www.dexterindustries.com/GrovePi/get-started-with-the-grovepi/raspberry-pi-model-b-grovepi/) on how to install the hardware.