panasoniceolia


Namepanasoniceolia JSON
Version 0.0.8 PyPI version JSON
download
home_pagehttps://github.com/avolmensky/python-panasonic-eolia
SummaryRead and change status of Panasonic Eolia devices
upload_time2022-12-15 05:05:43
maintainer
docs_urlNone
authoravolmensky
requires_python
licenseMIT
keywords home automation panasonic eolia climate
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # python-panasonic-eolia
A python module for reading and changing status of panasonic climate devices through Panasonic Eolia app api

## Command line usage

```
usage: panasoniceolia.py [-h] [-t TOKEN] username password {list,get,set} ...

Read or change status of Panasonic Climate devices

positional arguments:
  username              Username for Panasonic Eolia
  password              Password for Panasonic Eolia
  {list,get,set,dump}   commands
    list                Get a list of all devices
    get                 Get status of a device
    set                 Set status of a device
    dump                Dump raw data of a device

optional arguments:
  -h, --help            show this help message and exit
  -t TOKEN, --token TOKEN
                        File to store token in
  -s [BOOL], --skipVerify [BOOL]
                        Skip Ssl verification
  -r [BOOL], --raw [BOOL]
                        Raw dump of response
```

```
usage: panasoniceolia.py username password get [-h] device

positional arguments:
  device      device number

optional arguments:
  -h, --help  show this help message and exit
```

```
usage: panasoniceolia.py username password set [-h]
                                             [-p, --power {On,Off}]
                                             [-t, --temperature TEMPERATURE]
                                             [-s, --fanspeed {Auto,Low,LowMid,Mid,HighMid,High}]
                                             [-m, --mode {Auto,Cool,Dry,Heat,Fan}]
                                             [-e, --eco {Auto,Quiet,Powerful}]
                                             [-y, --airswingvertical {Auto,Down,DownMid,Mid,UpMid,Up}]
                                             [-x, --airswinghorizontal {Auto,Left,LeftMid,Mid,RightMid,Right}]
                                             device

positional arguments:
  device                Device number

optional arguments:
  -h, --help
                        show this help message and exit
  -p, --power {On,Off}
                        Power mode
  -t, --temperature TEMPERATURE
                        Temperature in decimal format
  -s, --fanspeed {Auto,Low,LowMid,Mid,HighMid,High}
                        Fan speed
  -m, --mode {Auto,Cool,Dry,Heat,Fan}
                        Operation mode
  -e, --eco {Auto,Quiet,Powerful}
                        Eco mode
  -y, --airswingvertical {Auto,Down,DownMid,Mid,UpMid,Up}
                        Vertical position of the air swing
  -x, --airswinghorizontal {Auto,Left,LeftMid,Mid,RightMid,Right}
                        Horizontal position of the air swing
```

## Module usage


```python
import panasoniceolia

session = panasoniceolia.Session('user@example.com', 'mypassword')
session.login()

devices = session.get_devices()

print(devices)

print(session.get_device(devices[0]['id']))

session.set_device(devices[0]['id'],
  power = panasoniceolia.constants.Power.On,
  temperature = 22.0)
```

## PyPi package
can be found at https://pypi.org/project/panasoniceolia/

### How to publish package;
- `python .\setup.py sdist bdist_wheel`
- `python -m twine upload dist/*`



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/avolmensky/python-panasonic-eolia",
    "name": "panasoniceolia",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "home automation panasonic eolia climate",
    "author": "avolmensky",
    "author_email": "",
    "download_url": "https://files.pythonhosted.org/packages/4e/17/f749d4170ea6ebf817163c3e24603f43aa946d022873e67b8792f5f3436f/panasoniceolia-0.0.8.tar.gz",
    "platform": null,
    "description": "# python-panasonic-eolia\nA python module for reading and changing status of panasonic climate devices through Panasonic Eolia app api\n\n## Command line usage\n\n```\nusage: panasoniceolia.py [-h] [-t TOKEN] username password {list,get,set} ...\n\nRead or change status of Panasonic Climate devices\n\npositional arguments:\n  username              Username for Panasonic Eolia\n  password              Password for Panasonic Eolia\n  {list,get,set,dump}   commands\n    list                Get a list of all devices\n    get                 Get status of a device\n    set                 Set status of a device\n    dump                Dump raw data of a device\n\noptional arguments:\n  -h, --help            show this help message and exit\n  -t TOKEN, --token TOKEN\n                        File to store token in\n  -s [BOOL], --skipVerify [BOOL]\n                        Skip Ssl verification\n  -r [BOOL], --raw [BOOL]\n                        Raw dump of response\n```\n\n```\nusage: panasoniceolia.py username password get [-h] device\n\npositional arguments:\n  device      device number\n\noptional arguments:\n  -h, --help  show this help message and exit\n```\n\n```\nusage: panasoniceolia.py username password set [-h]\n                                             [-p, --power {On,Off}]\n                                             [-t, --temperature TEMPERATURE]\n                                             [-s, --fanspeed {Auto,Low,LowMid,Mid,HighMid,High}]\n                                             [-m, --mode {Auto,Cool,Dry,Heat,Fan}]\n                                             [-e, --eco {Auto,Quiet,Powerful}]\n                                             [-y, --airswingvertical {Auto,Down,DownMid,Mid,UpMid,Up}]\n                                             [-x, --airswinghorizontal {Auto,Left,LeftMid,Mid,RightMid,Right}]\n                                             device\n\npositional arguments:\n  device                Device number\n\noptional arguments:\n  -h, --help\n                        show this help message and exit\n  -p, --power {On,Off}\n                        Power mode\n  -t, --temperature TEMPERATURE\n                        Temperature in decimal format\n  -s, --fanspeed {Auto,Low,LowMid,Mid,HighMid,High}\n                        Fan speed\n  -m, --mode {Auto,Cool,Dry,Heat,Fan}\n                        Operation mode\n  -e, --eco {Auto,Quiet,Powerful}\n                        Eco mode\n  -y, --airswingvertical {Auto,Down,DownMid,Mid,UpMid,Up}\n                        Vertical position of the air swing\n  -x, --airswinghorizontal {Auto,Left,LeftMid,Mid,RightMid,Right}\n                        Horizontal position of the air swing\n```\n\n## Module usage\n\n\n```python\nimport panasoniceolia\n\nsession = panasoniceolia.Session('user@example.com', 'mypassword')\nsession.login()\n\ndevices = session.get_devices()\n\nprint(devices)\n\nprint(session.get_device(devices[0]['id']))\n\nsession.set_device(devices[0]['id'],\n  power = panasoniceolia.constants.Power.On,\n  temperature = 22.0)\n```\n\n## PyPi package\ncan be found at https://pypi.org/project/panasoniceolia/\n\n### How to publish package;\n- `python .\\setup.py sdist bdist_wheel`\n- `python -m twine upload dist/*`\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Read and change status of Panasonic Eolia devices",
    "version": "0.0.8",
    "split_keywords": [
        "home",
        "automation",
        "panasonic",
        "eolia",
        "climate"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "fc6a2b07b857acee4bec236bc60955bd",
                "sha256": "9079ba5bf3c8931c1e4268ef294bcd3315ed16a2b13ae77e9492c9ba59e675e6"
            },
            "downloads": -1,
            "filename": "panasoniceolia-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fc6a2b07b857acee4bec236bc60955bd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 9218,
            "upload_time": "2022-12-15T05:05:41",
            "upload_time_iso_8601": "2022-12-15T05:05:41.028523Z",
            "url": "https://files.pythonhosted.org/packages/db/e6/8c046c78cb9af4ff684669a93442092f2141489cc89611e6ee622858d06c/panasoniceolia-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "cef77bc23fd112570a15595abd400e31",
                "sha256": "b0b9fe52f375afff4b993fe1eabcac74ac14b33f322dff11d1d834b75b2700e8"
            },
            "downloads": -1,
            "filename": "panasoniceolia-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "cef77bc23fd112570a15595abd400e31",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 8787,
            "upload_time": "2022-12-15T05:05:43",
            "upload_time_iso_8601": "2022-12-15T05:05:43.363524Z",
            "url": "https://files.pythonhosted.org/packages/4e/17/f749d4170ea6ebf817163c3e24603f43aa946d022873e67b8792f5f3436f/panasoniceolia-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-15 05:05:43",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "avolmensky",
    "github_project": "python-panasonic-eolia",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "panasoniceolia"
}
        
Elapsed time: 0.15970s