Metadata-Version: 2.1
Name: pcomfortcloud
Version: 0.0.17
Summary: Read and change status of Panasonic Comfort Cloud devices
Home-page: http://github.com/lostfields/python-panasonic-comfort-cloud
Author: Lostfields
License: MIT
Description: # python-panasonic-comfort-cloud
        A python module for reading and changing status of panasonic climate devices through Panasonic Comfort Cloud app api
        
        ## Command line usage
        
        ```
        usage: pcomfortcloud.py [-h] [-t TOKEN] username password {list,get,set} ...
        
        Read or change status of Panasonic Climate devices
        
        positional arguments:
          username              Username for Panasonic Comfort Cloud
          password              Password for Panasonic Comfort Cloud
          {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: pcomfortcloud.py username password get [-h] device
        
        positional arguments:
          device      device number
        
        optional arguments:
          -h, --help  show this help message and exit
        ```
        
        ```
        usage: pcomfortcloud.py username password set [-h]
                                                     [-p, --power {On,Off}]
                                                     [-t, --temperature TEMPERATURE]
                                                     [-f, --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
          -f, --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 pcomfortcloud
        
        session = pcomfortcloud.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 = pcomfortcloud.constants.Power.On,
          temperature = 22.0)
        ```
        
        ## PyPi package
        can be found at https://pypi.org/project/pcomfortcloud/
        
        ### How to publish package;
        - `python .\setup.py sdist bdist_wheel`
        - `python -m twine upload dist/*`
        
Keywords: home automation panasonic climate
Platform: UNKNOWN
Classifier: Topic :: Home Automation
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Description-Content-Type: text/markdown
