Metadata-Version: 2.1
Name: nhc2-coco
Version: 1.2.3
Summary: Python controller for a Niko Home Control II installation
Home-page: https://github.com/filipvh/nhc2-coco
License: MIT
Keywords: niko,coco,nhc,nhc2,home,control,II
Author: filipvh
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Requires-Dist: get-mac (==0.8.2)
Requires-Dist: netifaces (==0.10.9)
Requires-Dist: paho-mqtt (==1.4.0)
Project-URL: Repository, https://github.com/filipvh/nhc2-coco
Description-Content-Type: text/markdown

# pynhc2

License: MIT

## Usage

### Create a NHC2 object

```
NHC2(address, username, password, port, ca_path, switches_as_lights)
```

* __address__ - IP or host of the connected controller 
* __username__ - The UUID of the profile
* __password__ - The password
* __port__ - (optional) The MQTT port. Default = 8883
* __ca_path__ - (optional) Path of the CA file. Default = included CA file.
* __switches_as_lights__ - (optional) socket and switched-generic show up as lights.

 example:

 ```
 coco = NHC2('192.168.1.2', 'abcdefgh-ijkl-mnop-qrst-uvwxyz012345', 'secret_password')
 ```
 
### What is supported?
light, socket, switched-generic, dimmer

### What now?
 TODO - write doc.
 
 TODO - refactor into logical groups that match niko documentation (NHC Relay Action, NHC Dimmer Action, etc)
 
## What can you do to help?

 * Contribute to this project with constructive issues, suggestions, PRs, etc.
 * Help me in any way to get support for more entities (eg heating)

