{ "info": { "author": "Gianluca Busiello", "author_email": "gianluca.busiello@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: Apache Software License", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3" ], "description": "# rpi-cam-mqtt-client\n\nClient library to control a raspberry PI camera through MQTT.\n\nProvides high level methods to control a raspberry PI camera:\n - get_cmd_list\n - get_cmd_info\n - run_command\n - get_status\n - get_ptviews\n - is_active\n - is_ptview_available\n - is_recording\n - is_detecting_motion\n - set_camera_status\n - set_motion_detection_status\n - start_video\n - stop_video\n - take_picture\n - set_exposure_mode\n - set_wb_mode\n - set_metering_mode\n - set_image_effect\n - set_pantilt\n\nThe camera needs to have the RPi-Cam-Web-Interface installed and the MQTT agent running. Check `rpi-cam-mqtt` (https://gitlab.com/gbus/rpi-cam-mqtt) project for further details.\n\n## Installation\n\nThe library can be installed and called in a python module:\n\n pip3 install rpicammqtt_client\n\n from rpicammqtt_client import RpiCamMqttClient\n help(RpiCamMqttClient)\n\n## Configuration\n\nThe configuration file is looked up from:\n\n /etc/rpi-cam-mqtt/rpi-cam-mqtt.yaml\n $HOME/.rpi-cam-mqtt/rpi-cam-mqtt.yaml\n ./config/rpi-cam-mqtt.yaml\n\nA template can be downloaded from:\n\n https://gitlab.com/gbus/rpi-cam-mqtt-client/raw/master/rpicammqtt_client/config/rpi-cam-mqtt.yaml\n\n\n## Use\n\nThe main class RpiCamMqttClient needs to have passed a reference to publish/subscribe custom definitions to implement the specific calls to the MQTT library of choice.\nOne based on the paho mqtt library is provided and can be used for reference:\n\n from rpicammqtt_client import RpiCamMqttClient\n from rpicammqtt_client.mqtt import MQTT\n\n\nThe RpiCamMqttClient needs the `rpicam` name as configured in the remote agent that controls the camera and a few extra options to change the MQTT behaviour.\n\nThe main method to use is `run_command`, which allows to publish any command as it would normally be sent to the PIPE. More info:\n\n https://elinux.org/RPi-Cam-Web-Interface#Pipe\n\nAdditionally a few higher level methods are provided that simplify the use of the library.\nA good starting point is the list of examples described in the next section where it is possible to see the library in action. \n\n\n## Applications\n\nExample of applications using the library can be found in the package:\n\n https://gitlab.com/gbus/rpi-cam-mqtt-client/tree/master/rpicammqtt_client/examples\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://gitlab.com/gbus/rpi-cam-mqtt-client", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "rpicammqtt-client", "package_url": "https://pypi.org/project/rpicammqtt-client/", "platform": "", "project_url": "https://pypi.org/project/rpicammqtt-client/", "project_urls": { "Homepage": "https://gitlab.com/gbus/rpi-cam-mqtt-client" }, "release_url": "https://pypi.org/project/rpicammqtt-client/0.3.0/", "requires_dist": [ "PyYaml (>=3.12)", "paho-mqtt (>=1.4.0)" ], "requires_python": "", "summary": "Client library to control a raspberry PI camera through MQTT", "version": "0.3.0" }, "last_serial": 4817586, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "e0d9032b162c3314a8c2bac8ef19ee31", "sha256": "5ded6a26127e15529fffe787a60a4950fe5dfba226c5fbcc518c87d06ddec874" }, "downloads": -1, "filename": "rpicammqtt_client-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "e0d9032b162c3314a8c2bac8ef19ee31", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 9185, "upload_time": "2019-02-11T15:38:40", "url": "https://files.pythonhosted.org/packages/02/17/8c2124e193f8892ccd3a1d5bc44c5046ec54d713f9e9de35094d4b74fed9/rpicammqtt_client-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "1b366d86b61519d7b1d71e3577d8b14f", "sha256": "3ce2cd2323c29412cd1f93e5a1ca62da85d8f12ef2b360e2699c3b7653de6d32" }, "downloads": -1, "filename": "rpicammqtt_client-0.2.0.tar.gz", "has_sig": false, "md5_digest": "1b366d86b61519d7b1d71e3577d8b14f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4397, "upload_time": "2019-02-11T15:38:42", "url": "https://files.pythonhosted.org/packages/35/2f/9b95ab10fd0eeb3dba608585d1f9073ba7585b4abf76a250176370c3f25e/rpicammqtt_client-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "af44aecba0dd44b3d243ec8633c929e5", "sha256": "a3cac8dc4f76bf746d2c3f5dd855c75b9e129fb4e6bff15af4f35fb1ae48220c" }, "downloads": -1, "filename": "rpicammqtt_client-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "af44aecba0dd44b3d243ec8633c929e5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15856, "upload_time": "2019-02-13T21:37:17", "url": "https://files.pythonhosted.org/packages/f8/e5/866a11ad4bebb1ba31171002ade5e599b87dd880fe55a949d260d18d076f/rpicammqtt_client-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21040a396dc62c99337bf4c5dd49d4c6", "sha256": "12d545dd566d3d1636ac7a3385d9a2cc711ff524945634ed1b5984ad6b9636bc" }, "downloads": -1, "filename": "rpicammqtt_client-0.3.0.tar.gz", "has_sig": false, "md5_digest": "21040a396dc62c99337bf4c5dd49d4c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5401, "upload_time": "2019-02-13T21:37:19", "url": "https://files.pythonhosted.org/packages/d0/8b/bf2dea38020205fdd6fe3107292c5bd1c83f50b8b3176ed993c73de57cdf/rpicammqtt_client-0.3.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "af44aecba0dd44b3d243ec8633c929e5", "sha256": "a3cac8dc4f76bf746d2c3f5dd855c75b9e129fb4e6bff15af4f35fb1ae48220c" }, "downloads": -1, "filename": "rpicammqtt_client-0.3.0-py3-none-any.whl", "has_sig": false, "md5_digest": "af44aecba0dd44b3d243ec8633c929e5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 15856, "upload_time": "2019-02-13T21:37:17", "url": "https://files.pythonhosted.org/packages/f8/e5/866a11ad4bebb1ba31171002ade5e599b87dd880fe55a949d260d18d076f/rpicammqtt_client-0.3.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "21040a396dc62c99337bf4c5dd49d4c6", "sha256": "12d545dd566d3d1636ac7a3385d9a2cc711ff524945634ed1b5984ad6b9636bc" }, "downloads": -1, "filename": "rpicammqtt_client-0.3.0.tar.gz", "has_sig": false, "md5_digest": "21040a396dc62c99337bf4c5dd49d4c6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5401, "upload_time": "2019-02-13T21:37:19", "url": "https://files.pythonhosted.org/packages/d0/8b/bf2dea38020205fdd6fe3107292c5bd1c83f50b8b3176ed993c73de57cdf/rpicammqtt_client-0.3.0.tar.gz" } ] }