{ "info": { "author": "Sipenlatt", "author_email": "sipenlatt@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "ADDPIO project\n==================\n\nThis project allows the Raspberry Pi* to access the sensors (accelerometer, gyroscope, ...)\nand other IO of an Android* device, similar to the GPIO library. There is a corresponding\nAndroid app (ADDPIO on the Google Play Store) to run on the Android device(s). The Raspberry\nPi and all Android devices must be connected to the same network. This uses UDP port 6297 to\ncommunicate. Create a new ADDPIO object passing the ip address (this is displayed on the\nAndroid app). The object has an input and output function that takes a type number and value.\nSee below for the standard type number symbols or use the number displayed on the Android app.\nThe Android sensors return an array of values (e.g. x,y,z). For ADDPIO sensor input the value\nparameter represents the index into the array of values returned by the sensor. For other input,\nthe value is ignored.\nThe Android app has several widgets for IO:\nbuttons, LEDs, a touchpad, alarm, notification, and text.\nRead the ip address and available sensors from the Android app.\n\n\nfrom ADDPIO import ADDPIO\nmyHost = ADDPIO(\"192.168.0.0\")\nmyValue = myHost.input(ADDPIO.SENSOR_ACCELEROMETER,1)\nmyValue = myHost.input(12345,47)\nmyHost.output(ADDPIO.ALARM,1)\nmyHost.output(ADDPIO.ALARM,0)\n\n\nSee the testADDPIO.py program for an example.\n\n# Android sensors\nSENSOR_ACCELEROMETER\nSENSOR_AMBIENT_TEMPERATURE\nSENSOR_GAME_ROTATION_VECTOR\nSENSOR_GEOMAGNETIC_ROTATION_VECTOR\nSENSOR_GRAVITY\nSENSOR_GYROSCOPE\nSENSOR_GYROSCOPE_UNCALIBRATED\nSENSOR_HEART_BEAT\nSENSOR_HEART_RATE\nSENSOR_LIGHT\nSENSOR_LINEAR_ACCELERATION\nSENSOR_MAGNETIC_FIELD\nSENSOR_MAGNETIC_FIELD_UNCALIBRATED\nSENSOR_MOTION_DETECT\nSENSOR_ORIENTATION\nSENSOR_POSE_6DOF\nSENSOR_PRESSURE\nSENSOR_PROXIMITY\nSENSOR_RELATIVE_HUMIDITY\nSENSOR_ROTATION_VECTOR\nSENSOR_SIGNIFICANT_MOTION\nSENSOR_STATIONARY_DETECT\nSENSOR_STEP_COUNTER\nSENSOR_STEP_DETECTOR\nSENSOR_TEMPERATURE\n\n# Android input/output\nBUTTON_1 input 0/1\nBUTTON_2 input 0/1\nLED_RED output 0/1\nLED_GREEN output 0/1\nLED_BLUE output 0/1\nALARM output 0/1\nNOTIFICATION output any number\nTEXT output any number\nTOUCH_PAD_X_IN input 0-255\nTOUCH_PAD_Y_IN input 0-255\nTOUCH_PAD_X_OUT output 0-255\nTOUCH_PAD_Y_OUT output 0-255\n\n\n* Raspberry Pi is a trademark of the Raspberry Pi Foundation - http://www.raspberrypi.org\n* Android is a trademark of Google Inc.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "UNKNOWN", "keywords": "GPIO Android Raspberry Pi sensors IO", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "ADDPIO", "package_url": "https://pypi.org/project/ADDPIO/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/ADDPIO/", "project_urls": { "Homepage": "UNKNOWN" }, "release_url": "https://pypi.org/project/ADDPIO/1.0.3b1/", "requires_dist": null, "requires_python": null, "summary": "Android IO project", "version": "1.0.3b1" }, "last_serial": 2202042, "releases": { "1.0.3b1": [ { "comment_text": "", "digests": { "md5": "e8329cf94ea6e8426f44aa8a57f00bce", "sha256": "4c1fd8063e84b3bc8ff654789e2797623c2543d53cebc581008945cd59cd0dc6" }, "downloads": -1, "filename": "ADDPIO-1.0.3b1.tar.gz", "has_sig": false, "md5_digest": "e8329cf94ea6e8426f44aa8a57f00bce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4691, "upload_time": "2016-07-04T15:38:28", "url": "https://files.pythonhosted.org/packages/6d/f5/92675848fd6a16877acc0f88462d38621d93fe4a37c4ca27687001d2c429/ADDPIO-1.0.3b1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e8329cf94ea6e8426f44aa8a57f00bce", "sha256": "4c1fd8063e84b3bc8ff654789e2797623c2543d53cebc581008945cd59cd0dc6" }, "downloads": -1, "filename": "ADDPIO-1.0.3b1.tar.gz", "has_sig": false, "md5_digest": "e8329cf94ea6e8426f44aa8a57f00bce", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4691, "upload_time": "2016-07-04T15:38:28", "url": "https://files.pythonhosted.org/packages/6d/f5/92675848fd6a16877acc0f88462d38621d93fe4a37c4ca27687001d2c429/ADDPIO-1.0.3b1.tar.gz" } ] }