Skip to main content

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)

Metadata

Release files for nhc2-coco3 1.4.0.2

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

Source distribution (sdist)

Source distribution for nhc2-coco3 1.4.0.2
File Size Uploaded Provenance Actions
nhc2_coco3-1.4.0.2.tar.gz 17.1 kB Without provenance Details for nhc2_coco3-1.4.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for nhc2-coco3 1.4.0.2
File Interpreter ABI Platform Actions
nhc2_coco3-1.4.0.2-py2.py3-none-any.whl Python 2, Python 3 none any Details for nhc2_coco3-1.4.0.2-py2.py3-none-any.whl

Total release size: 40.6 kB

Release files / nhc2_coco3-1.4.0.2.tar.gz

Download URL nhc2_coco3-1.4.0.2.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
69db2799412ae41ac7d7144c8a9f475b694cefd6430d70f2df883534729e20c3
BLAKE2b-256 checksum
How to use checksums
1398d02b5100839fa1b17e614b5b495cc03b0f07d816f2117b3004a4a77da5bf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.7 Linux/5.10.47-linuxkit

Release files / nhc2_coco3-1.4.0.2-py2.py3-none-any.whl

Download URL nhc2_coco3-1.4.0.2-py2.py3-none-any.whl
Size 23.4 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
3dd2bd36123f23f61f03c6cc4d285b70cceba1aede5e68667beac44c6991ceee
BLAKE2b-256 checksum
How to use checksums
d02e101f162d3a1e28107eae05d03f1f648da3906a1f69ce8bd7912d7417147a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.2.2 CPython/3.10.7 Linux/5.10.47-linuxkit

Security for nhc2-coco3 1.4.0.2

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