pylontech


Namepylontech JSON
Version 0.1.3 PyPI version JSON
download
home_pagehttps://github.com/Tomcat42/pylontech-python/
SummaryCommunicate to Pylontech batteries using a RS485 interface
upload_time2023-03-21 20:12:44
maintainer
docs_urlNone
authorBernd Singer
requires_python>=3.6
licenseMIT
keywords pylontech pylon rs485 lithium battery us2000 us2000c us3000
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # pylontech-python
Functions to communicate to Pylontech Batteries using RS-485 serial communication

3 Layer model - each can be used as lib:
  1. pylontech_base.py - Communication layer, RS485 to pylontech with raw frame support
  2. pylontech_decode.py and pylontech_encode.py for decodeing and encoding the frame content
  3. pylontech_stack.py high level abstraction for the whole stack.
     It iterates over batteries and calculates overall results and combines battery results to lists.
     Some detail information from layer 2 might not be implemented in this layer.


Installation using setup.py:

run 'python3 ./setup.py install'


Example:
an example to use pylontech-python:

  >>> from pylontech import PylontechStack
  >>> x = PylontechStack("/dev/ttyUSB0",baud=115200,manualBattcountLimit=5)
  >>> x.battcount
  2

A big "Thanks" to Daniel Schramm for his contibution!
            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Tomcat42/pylontech-python/",
    "name": "pylontech",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": "",
    "keywords": "pylontech pylon RS485 lithium battery US2000 US2000C US3000",
    "author": "Bernd Singer",
    "author_email": "singer@nefkom.net",
    "download_url": "https://files.pythonhosted.org/packages/08/0c/d956044ef679e4c711684ad70dec7ad69ab8d78de18d4d5ffa2703055809/pylontech-0.1.3.tar.gz",
    "platform": null,
    "description": "# pylontech-python\nFunctions to communicate to Pylontech Batteries using RS-485 serial communication\n\n3 Layer model - each can be used as lib:\n  1. pylontech_base.py - Communication layer, RS485 to pylontech with raw frame support\n  2. pylontech_decode.py and pylontech_encode.py for decodeing and encoding the frame content\n  3. pylontech_stack.py high level abstraction for the whole stack.\n     It iterates over batteries and calculates overall results and combines battery results to lists.\n     Some detail information from layer 2 might not be implemented in this layer.\n\n\nInstallation using setup.py:\n\nrun 'python3 ./setup.py install'\n\n\nExample:\nan example to use pylontech-python:\n\n  >>> from pylontech import PylontechStack\n  >>> x = PylontechStack(\"/dev/ttyUSB0\",baud=115200,manualBattcountLimit=5)\n  >>> x.battcount\n  2\n\nA big \"Thanks\" to Daniel Schramm for his contibution!",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Communicate to Pylontech batteries using a RS485 interface",
    "version": "0.1.3",
    "split_keywords": [
        "pylontech",
        "pylon",
        "rs485",
        "lithium",
        "battery",
        "us2000",
        "us2000c",
        "us3000"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "080cd956044ef679e4c711684ad70dec7ad69ab8d78de18d4d5ffa2703055809",
                "md5": "7ac05c1a378462591265dd2980b86abb",
                "sha256": "a1dd286c3b408ea1ee2da87b7be96331c9a3cd7b29b35b7ad155e73e4e4c53cb"
            },
            "downloads": -1,
            "filename": "pylontech-0.1.3.tar.gz",
            "has_sig": false,
            "md5_digest": "7ac05c1a378462591265dd2980b86abb",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 9358,
            "upload_time": "2023-03-21T20:12:44",
            "upload_time_iso_8601": "2023-03-21T20:12:44.577962Z",
            "url": "https://files.pythonhosted.org/packages/08/0c/d956044ef679e4c711684ad70dec7ad69ab8d78de18d4d5ffa2703055809/pylontech-0.1.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-03-21 20:12:44",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Tomcat42",
    "github_project": "pylontech-python",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "requirements": [],
    "lcname": "pylontech"
}
        
Elapsed time: 0.04528s