{"id":22878187,"url":"https://github.com/allthingstalk/raspberrypi-python-client","last_synced_at":"2025-05-06T23:29:02.642Z","repository":{"id":17089970,"uuid":"19855180","full_name":"allthingstalk/raspberrypi-python-client","owner":"allthingstalk","description":"[deprecated] [Raspberry Pi] Python client library to connect to the AllThingsTalk platform","archived":false,"fork":false,"pushed_at":"2017-09-15T07:10:28.000Z","size":131,"stargazers_count":10,"open_issues_count":0,"forks_count":5,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-04-20T17:42:12.510Z","etag":null,"topics":["deprecated"],"latest_commit_sha":null,"homepage":"http://maker.allthingstalk.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/allthingstalk.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-05-16T12:07:42.000Z","updated_at":"2024-03-30T08:20:02.000Z","dependencies_parsed_at":"2022-08-26T11:32:37.344Z","dependency_job_id":null,"html_url":"https://github.com/allthingstalk/raspberrypi-python-client","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fraspberrypi-python-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fraspberrypi-python-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fraspberrypi-python-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/allthingstalk%2Fraspberrypi-python-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/allthingstalk","download_url":"https://codeload.github.com/allthingstalk/raspberrypi-python-client/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252786264,"owners_count":21804028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["deprecated"],"created_at":"2024-12-13T16:18:50.854Z","updated_at":"2025-05-06T23:29:02.572Z","avatar_url":"https://github.com/allthingstalk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"### This library is deprecated\n\nraspberry-python-client library is deprecated, and will not receive any further updates. Please use [python-sdk](https://github.com/allthingstalk/python-sdk) instead.\n\n---\n\nraspberrypi-python-client\n==========\n\nA library that provide access to the ATT IOT platform, for the Python language (geared for RPI development).\n\n\u003c!--\n\n### flavours\nThere are 2 flavours of the IOT library. Use a library according to your needs.\n  1. regular: The RPI will act as a single device, directly connected to the IOT platform. You are responsible for creating the device manually on the platform, any assets can be created through the script.\n  2. gateway: The RPI will function as a gateway for other devices, which communicate with the gateway-RPI through xbee modules. Devices and their assets are automatically created whenever a new xbee device connects to the gateway.\n\n\n### Dependencies\n  1. The library depend on the [paho.mqtt.client module](http://eclipse.org/paho/clients/python/).\n\n\n\n  2. the demo template script for the gateway also relies on:\n    - [pyserial] (http://pyserial.sourceforge.net/)\n\t- [python-xbee] (https://code.google.com/p/python-xbee/)\n\n--\u003e\n\n### Installation\n- Copy the library to the RPI:\n\t- Run `git clone https://github.com/allthingstalk/raspberrypi-python-client`\n\t- or use an ftp client to copy the library to your RPI.\n- Run `sudo bash raspberrypi-python-client/setupGrovePi.sh`  in case you have the grovePi shield\nor `sudo bash raspberrypi-python-client/setupNoShield.sh` if you don't have a grovePi shield\n\n### pip\nA pip version is also available, but it will only install the library, not the grovePi dependencies. To install with pip:\n\n`sudo pip install att_iot_client`\n\nNote: the procedure from git, running the bash command will also install the pip package, so that the library is globally available.\n\n\n### Instructions\n\n  1. Setup the raspberry pi hardware\n    - Grove kit shield\n    - Push button to A2\n    - Led light to D4\n  2. Create the device in the IOT platform.\n  3. Modify the template script 'Shield_Demo.py' : `sudo nano raspberrypi-python-client/Shield_Demo.py`\nfill in the missing strings: replace deviceId, clientId, clientKey. Optionally change/add the sensor \u0026 actuator names, pins, descriptions, types.\n  4. Run the script: `sudo python raspberrypi-python-client/Shield_Demo.py`\n\n\n### Extra info\n\n- 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.\n- There's a [trouble shooting section](http://AllThingsTalk.com/docs/tutorials/raspberrypi/setup/#troubleshooting) you can check out if you are having problems.\n- 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/).\n- 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.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallthingstalk%2Fraspberrypi-python-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fallthingstalk%2Fraspberrypi-python-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fallthingstalk%2Fraspberrypi-python-client/lists"}