Skip to main content

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

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/*

Metadata

Release files for panasoniceolia 0.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for panasoniceolia 0.0.8
File Size Uploaded Provenance Actions
panasoniceolia-0.0.8.tar.gz 8.8 kB Without provenance Details for panasoniceolia-0.0.8.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for panasoniceolia 0.0.8
File Interpreter ABI Platform Actions
panasoniceolia-0.0.8-py3-none-any.whl Python 3 none any Details for panasoniceolia-0.0.8-py3-none-any.whl

Total release size: 18.0 kB

Release files / panasoniceolia-0.0.8.tar.gz

Download URL panasoniceolia-0.0.8.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b0b9fe52f375afff4b993fe1eabcac74ac14b33f322dff11d1d834b75b2700e8
BLAKE2b-256 checksum
How to use checksums
4e17f749d4170ea6ebf817163c3e24603f43aa946d022873e67b8792f5f3436f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Release files / panasoniceolia-0.0.8-py3-none-any.whl

Download URL panasoniceolia-0.0.8-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9079ba5bf3c8931c1e4268ef294bcd3315ed16a2b13ae77e9492c9ba59e675e6
BLAKE2b-256 checksum
How to use checksums
dbe68c046c78cb9af4ff684669a93442092f2141489cc89611e6ee622858d06c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.6

Security for panasoniceolia 0.0.8

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page