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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
nhc2-coco-0.3.0a3.tar.gz
(14.3 kB
view hashes)
Built Distribution
Close
Hashes for nhc2_coco-0.3.0a3-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35b4e6db7c70cd17cd7b9a3b19e20f1bb7a197a63ec3e5216a5f12c3b768c80 |
|
MD5 | 15aed33dea4ea5af96981505450a55ef |
|
BLAKE2b-256 | 129a1ff459f777c95b0fa7fdecdc3a776268c5736ca0480433d8eb62b1733187 |