comwatt


Namecomwatt JSON
Version 0.10.0 PyPI version JSON
download
home_pagehttps://github.com/51CGO/comwatt
SummaryPython client for Comwatt
upload_time2024-05-12 16:33:46
maintainerNone
docs_urlNone
authorChristophe Godart
requires_pythonNone
licenseMIT
keywords comwatt client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ## Commwatt Gen4 Python client

This module allow you to retrieve data from your Comwatt PowerGen4 box.
It connects to the Commwatt website using Selenium webdriver and firefox and reads teh data.

# Installation 

Prerequisites:
- Install Firefox 
- Download geckodriver form https://github.com/mozilla/geckodriver/releases

Install using pip:

```
$ python -m pip install comwatt
```

# Usage

```
import comwatt
c = comwatt.PowerGEN4(<username>, <password>)
s = c.get_devices("sun")
print(s[0].value_instant)
```

Available device types are:
- injection
- withdrawal
- sun
- hotwatertank
- plug

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/51CGO/comwatt",
    "name": "comwatt",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "Comwatt, client",
    "author": "Christophe Godart",
    "author_email": "51CGO@lilo.org",
    "download_url": "https://files.pythonhosted.org/packages/ec/2c/4da0b5b9cbe68a154ba36c7ee2c67bae794801172294dabc340238709579/comwatt-0.10.0.tar.gz",
    "platform": null,
    "description": "## Commwatt Gen4 Python client\n\nThis module allow you to retrieve data from your Comwatt PowerGen4 box.\nIt connects to the Commwatt website using Selenium webdriver and firefox and reads teh data.\n\n# Installation \n\nPrerequisites:\n- Install Firefox \n- Download geckodriver form https://github.com/mozilla/geckodriver/releases\n\nInstall using pip:\n\n```\n$ python -m pip install comwatt\n```\n\n# Usage\n\n```\nimport comwatt\nc = comwatt.PowerGEN4(<username>, <password>)\ns = c.get_devices(\"sun\")\nprint(s[0].value_instant)\n```\n\nAvailable device types are:\n- injection\n- withdrawal\n- sun\n- hotwatertank\n- plug\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Python client for Comwatt",
    "version": "0.10.0",
    "project_urls": {
        "Homepage": "https://github.com/51CGO/comwatt"
    },
    "split_keywords": [
        "comwatt",
        " client"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "726331573ab2018af5e05240efbf1584d49f5f7d98091c09d277bf796e011a0b",
                "md5": "725f564f202085713cd71e08a8c8c719",
                "sha256": "4228918a82a5d148faeff84ae7df2827a5df12959c114e60146040b7af2ddc63"
            },
            "downloads": -1,
            "filename": "comwatt-0.10.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "725f564f202085713cd71e08a8c8c719",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4364,
            "upload_time": "2024-05-12T16:33:44",
            "upload_time_iso_8601": "2024-05-12T16:33:44.916864Z",
            "url": "https://files.pythonhosted.org/packages/72/63/31573ab2018af5e05240efbf1584d49f5f7d98091c09d277bf796e011a0b/comwatt-0.10.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "ec2c4da0b5b9cbe68a154ba36c7ee2c67bae794801172294dabc340238709579",
                "md5": "5562894e6831651cbb5638df5eedfdcd",
                "sha256": "96071f5133bfbd5441d4c7a9c480a206a0f693bd1d8cadd55e6e920300cc434e"
            },
            "downloads": -1,
            "filename": "comwatt-0.10.0.tar.gz",
            "has_sig": false,
            "md5_digest": "5562894e6831651cbb5638df5eedfdcd",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4131,
            "upload_time": "2024-05-12T16:33:46",
            "upload_time_iso_8601": "2024-05-12T16:33:46.494863Z",
            "url": "https://files.pythonhosted.org/packages/ec/2c/4da0b5b9cbe68a154ba36c7ee2c67bae794801172294dabc340238709579/comwatt-0.10.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-12 16:33:46",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "51CGO",
    "github_project": "comwatt",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "comwatt"
}
        
Elapsed time: 0.26957s