{ "info": { "author": "Frank Riley", "author_email": "fhriley@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3 :: Only" ], "description": "# bumpemu\nThis is a bump controller emulator for CellPro PowerLab 6 and 8 chargers.\nIt allows you to use the CCS mobile app to control your charger over\nbluetooth low energy (BLE).\n\nTo interface to the PowerLab with BLE, you need two pieces of hardware:\n\n[FUIM3 USB Adapter](http://www.usastore.revolectrix.com/Products_2/Cellpro-PowerLab-8-EC5-version_2/FUIM3_136)\n\n[Raspberry Pi Zero W](https://smile.amazon.com/gp/product/B072N3X39J)\n\nIf you've ever hooked up your PowerLab to your PC and monitored charging,\nyou already have the FUIM3.\n\n### Pi Zero W Setup\n\nThis controller emulator will run on the Pi Zero W. Follow the\n[instructions](https://www.canakit.com/quick-start/pi) for installing the\nPi with the latest version of [Raspbian](http://raspbian.org).\n\nOnce you have the Pi up and running, make sure everything is up to date:\n\n sudo apt-get update\n sudo apt-get upgrade\n\nThen install the required libraries:\n\n sudo apt-get install -y libusb-dev libdbus-1-dev libglib2.0-dev libudev-dev libical-dev libreadline-dev libgirepository1.0-dev libcairo2-dev\n\nThe Pi will come with `bluez` already installed, but it will probably be an\nolder version. Version `5.45` has proven to work well so you will need to\ninstall it. Download it from [here](http://www.kernel.org/pub/linux/bluetooth/bluez-5.45.tar.xz).\nThen follow [these instructions](https://learn.adafruit.com/install-bluez-on-the-raspberry-pi/installation)\nto install it. Make sure to do the step where you enable the experimental\nfeatures.\n\nFinally, `bumpemu` can be installed using `pip`:\n\n sudo pip3 install bumpemu\n\nThen you can run bumpemu as follows:\n\n /usr/local/bin/bumpemu-controller\n\nYou can view various configuration options with `-h`:\n\n /usr/local/bin/bumpemu-controller -h\n\nA systemd service is in the repo if you wish to have bumpemu run at boot.\n\n### Presets configuration\n\nThe `BumpCCS2` app has 7 predefined charger profiles: \n* Accurate\n* Analyze\n* Discharge\n* Fastest\n* Monitor\n* Normal\n* Storage\n\nBumpemu will map the app's predefined profiles to existing presets in your charger. To do this, create the file `/etc/bumpemu/presets.yml` on your pi. Set the number of the charger preset you want each app charger profile to map to. [An example presets file is in the repo](bumpemu/config/presets.yml).\n\nTo verify you have set the profiles the way you want them, make sure no other instances of `bumpemu-controller` are running, and then run the following:\n\n /usr/local/bin/bumpemu-controller --show-presets\n\n### Battery configuration\n\nWhen running the `BumpCCS` app with a real bump controller, you would bump a battery to load the battery configuration to the app. To emulate that, `bumpemu` loads a battery configuration when it starts up. The battery configuration should go in `/etc/bumpemu/battery.yml`. [An example battery configuration file is in the repo](bumpemu/config/battery_example.yml).\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/fhriley/bumpemu", "keywords": "", "license": "GNU GPLv3", "maintainer": "", "maintainer_email": "", "name": "bumpemu", "package_url": "https://pypi.org/project/bumpemu/", "platform": "", "project_url": "https://pypi.org/project/bumpemu/", "project_urls": { "Homepage": "https://github.com/fhriley/bumpemu" }, "release_url": "https://pypi.org/project/bumpemu/0.0.8/", "requires_dist": [ "dbus-python (>=1.2.8)", "PyGObject (>=3.22.0)", "pyserial (>=3.4)", "PyYAML (>=3.13)" ], "requires_python": ">=3.5", "summary": "A bump controller emulator on Raspberry Pi Zero W.", "version": "0.0.8" }, "last_serial": 5489085, "releases": { "0.0.6": [ { "comment_text": "", "digests": { "md5": "a59cb0e9a267e4d9869a345d2c6588a6", "sha256": "7c896c8dde189b2913002da5db0ae3b14f96d7adf8781b3180aa9037656a1f18" }, "downloads": -1, "filename": "bumpemu-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "a59cb0e9a267e4d9869a345d2c6588a6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 49712, "upload_time": "2019-01-07T01:18:51", "url": "https://files.pythonhosted.org/packages/93/1e/6584f7fc95519d81f089e16beb89ad3803d189c5e2616cdd5cda68d3a561/bumpemu-0.0.6-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b8f17df73bd017dd2976620cb0c5eb3a", "sha256": "4019a9ac84de0c870ed67a7f4c3af58e6bca458b1eec1cd099143e2f6ecc6e61" }, "downloads": -1, "filename": "bumpemu-0.0.6.tar.gz", "has_sig": false, "md5_digest": "b8f17df73bd017dd2976620cb0c5eb3a", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 31970, "upload_time": "2019-01-07T01:18:52", "url": "https://files.pythonhosted.org/packages/81/9e/1f333d4bb4b54dfc1458a308f1fe041300de0bd06e27e8b51857743298d3/bumpemu-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "7c2ec6adfd8566c3ca2af3f24e054896", "sha256": "b3894a67047b9e08194c4648acd542a1111478c475162c98e9920e17925e2643" }, "downloads": -1, "filename": "bumpemu-0.0.7-py3-none-any.whl", "has_sig": false, "md5_digest": "7c2ec6adfd8566c3ca2af3f24e054896", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 61958, "upload_time": "2019-01-20T00:41:08", "url": "https://files.pythonhosted.org/packages/93/1f/487fc4562195bc50939ceaaf474c5d4e8f9e596c760dd5aac1ec318b7832/bumpemu-0.0.7-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ede6bac675878b1d92ce122a5533eedd", "sha256": "f18d6d3431a40cefc82e4708a0efbcfdc458d772a19b8146829615ad02f639e9" }, "downloads": -1, "filename": "bumpemu-0.0.7.tar.gz", "has_sig": false, "md5_digest": "ede6bac675878b1d92ce122a5533eedd", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 31132, "upload_time": "2019-01-20T00:41:09", "url": "https://files.pythonhosted.org/packages/92/eb/b9d1f79ac24e46712db1438e2e7cc3ecf4b2571ad145316430bb31f72bc5/bumpemu-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "483597ab9da96c56e88982eaa679d317", "sha256": "6e38e1cf5d560f2b2b7894a6aa6fbcbb1a83f57641396905983f23d9273a3603" }, "downloads": -1, "filename": "bumpemu-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "483597ab9da96c56e88982eaa679d317", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 62485, "upload_time": "2019-07-05T00:05:31", "url": "https://files.pythonhosted.org/packages/23/2c/37d8fe0e0bf2f5628ecf69341f3b165a5c222a90677ec10f3b696a09d911/bumpemu-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3790abf7ed6092265d96a1fd4e8cfb86", "sha256": "18600ec56557a88904ca85c883b07bbf84b9897fd1e3afaad1ebd0a696dcabcf" }, "downloads": -1, "filename": "bumpemu-0.0.8.tar.gz", "has_sig": false, "md5_digest": "3790abf7ed6092265d96a1fd4e8cfb86", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33372, "upload_time": "2019-07-05T00:05:33", "url": "https://files.pythonhosted.org/packages/03/23/749f604c63fa375554e0e12c2948c7813dcf380709ae57a7ab4ecec8ea38/bumpemu-0.0.8.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "483597ab9da96c56e88982eaa679d317", "sha256": "6e38e1cf5d560f2b2b7894a6aa6fbcbb1a83f57641396905983f23d9273a3603" }, "downloads": -1, "filename": "bumpemu-0.0.8-py3-none-any.whl", "has_sig": false, "md5_digest": "483597ab9da96c56e88982eaa679d317", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.5", "size": 62485, "upload_time": "2019-07-05T00:05:31", "url": "https://files.pythonhosted.org/packages/23/2c/37d8fe0e0bf2f5628ecf69341f3b165a5c222a90677ec10f3b696a09d911/bumpemu-0.0.8-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3790abf7ed6092265d96a1fd4e8cfb86", "sha256": "18600ec56557a88904ca85c883b07bbf84b9897fd1e3afaad1ebd0a696dcabcf" }, "downloads": -1, "filename": "bumpemu-0.0.8.tar.gz", "has_sig": false, "md5_digest": "3790abf7ed6092265d96a1fd4e8cfb86", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.5", "size": 33372, "upload_time": "2019-07-05T00:05:33", "url": "https://files.pythonhosted.org/packages/03/23/749f604c63fa375554e0e12c2948c7813dcf380709ae57a7ab4ecec8ea38/bumpemu-0.0.8.tar.gz" } ] }