Python controller for a Niko Home Control II installation
Project description
# 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)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for nhc2_coco_2-1.4.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6ad36a202482a79530e35a4a064fe27f77558325d6fa16918a14006770006fd1 |
|
MD5 | 651b16b59d7bcefc9b46fae018aa2476 |
|
BLAKE2b-256 | 524faaf35cfce352bf9f9dfbe76b07c83cdfff02868d9af2837dc4774c48869e |