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-coco 1.4.1

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-coco 1.4.1
File Size Uploaded Provenance Actions
nhc2-coco-1.4.1.tar.gz 17.1 kB Without provenance Details for nhc2-coco-1.4.1.tar.gz

Built distribution (wheel)

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

Total release size: 40.4 kB

Release files / nhc2-coco-1.4.1.tar.gz

Download URL nhc2-coco-1.4.1.tar.gz
Size 17.1 kB
Tags Source
SHA-256 checksum
How to use checksums
02f138733c585fc8085360b1c5f5d7723f871210285652ab85037449a59b7d22
BLAKE2b-256 checksum
How to use checksums
e0ac7a64a4e43c9384d9eabdacbe2935341887a447e5f92003559800630e2196
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.5 Darwin/20.3.0

Release files / nhc2_coco-1.4.1-py2.py3-none-any.whl

Download URL nhc2_coco-1.4.1-py2.py3-none-any.whl
Size 23.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
9eafcbdc1f67e97eadeeb0eeef86ca5c8132ae40f6ca1b119b5ef1d3c1f28a0d
BLAKE2b-256 checksum
How to use checksums
49349f26ede0d350423cb80baa9037cb1ddf6c5bb864e4c7e4a2650b6fb57c3c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.6 CPython/3.9.5 Darwin/20.3.0

Security for nhc2-coco 1.4.1

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.

Release history Release notifications | RSS feed

This release

1.4.1 This release

2 release files No provenance

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