Skip to main content

USR-R16 / USR-R16-T

Simpe USR-R16 / USR-R16-T boards controller class

Example

from usrr16 import UsrR16

r16 = UsrR16(host='192.168.0.99', port=8899, password='admin')
r16.turn_off_all()

r16.invert(relay=1)
r16.turn_on(relay=2)
r16.turn_off(relay=2)

r16.turn_on(3)
print(r16.state(3)) # True

r16.turn_off(3)
print(r16.state(3)) # False

Installation

pip install usrr16

Contributors: @v1a0, @horga83

Based on @wowks/USR-R16 and xtodx/php-USR-R16

Thank you!

Metadata

Release files for usrr16 0.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 usrr16 0.0.2
File Size Uploaded Provenance Actions
usrr16-0.0.2.tar.gz 15.1 kB Without provenance Details for usrr16-0.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for usrr16 0.0.2
File Interpreter ABI Platform Actions
usrr16-0.0.2-py3-none-any.whl Python 3 none any Details for usrr16-0.0.2-py3-none-any.whl

Total release size: 30.5 kB

Release files / usrr16-0.0.2.tar.gz

Download URL usrr16-0.0.2.tar.gz
Size 15.1 kB
Tags Source
SHA-256 checksum
How to use checksums
ec76f2c89ef7c8961c2b66f565e2b78fefc732d7fed7c340f5972151756fdcd2
BLAKE2b-256 checksum
How to use checksums
e7567ffd21dbd443973ff057ea170aec02394decf0b73003a6a49350ed240100
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Release files / usrr16-0.0.2-py3-none-any.whl

Download URL usrr16-0.0.2-py3-none-any.whl
Size 15.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5e88568545b882c375ae9fd6d66e5fd3541c55af249c9a4c7c34c3db1e667ad2
BLAKE2b-256 checksum
How to use checksums
f06e663a709e06739948f72be9ae81aea22107baa9cc199de9575603c0fd666b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/33.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10

Security for usrr16 0.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.

Release history Release notifications | RSS feed

This release

0.0.2 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