This is a utility package to interact with an Orange and Rockland Utility smart energy meter
Oru calls the APIs of the Orange and Rockland Utility smart energy meter to return the latest meter read value and unit of measurement.
It requires the oru.com credentials (email, password, MFA type, MFA secret) and the account id and meter number. MFA type can be either Security Question or TOTP (e.g. Google Authenticator). For MFA Security Question, to set up your MFA secret (answer), log ingto oru.com, go to your profile and reset your 2FA method. When setting up 2FA again, there will be option to say you do not have texting on your phone. Select this and you should be able to use a security question instead. For MFA TOTP, choose Google Authenticator, choose a device type and when presented with the QR code, click on “Can’t scan?”. It should provide you with the MFA secret. The account id and meter number can be found on your Orange and Rockland Utility bill.
Example usage:
from oru import Meter
meter = Meter(
email="myemail@email.com",
password="myorupassword",
mfa_type="TOTP",
mfa_secret="myorumfasecret",
account_id="cd754d65-5380-11e8-2307-2656615779bf",
meter_id="703437804")
value, unit_of_measurement = event_loop.run_until_complete(meter.last_read())
Metadata
Release files for oru 0.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| oru-0.2.3.tar.gz | 4.3 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| oru-0.2.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.7 kB
Release files / oru-0.2.3.tar.gz
| Download URL | oru-0.2.3.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c0b0f5bfdf04cf9adec5012fb51ed7062638d08f0b6f65fd5b353d91c1398956
|
|
BLAKE2b-256 checksum How to use checksums |
9e360a0fe1f573aad12bf3537f34f100a93cdf5f3f66a60f4317383cb6e78edc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5
|
Release files / oru-0.2.3-py3-none-any.whl
| Download URL | oru-0.2.3-py3-none-any.whl |
|---|---|
| Size | 8.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e000f0beb803d64d50c0ac3dce5e2266070c128f7c775343688e3958ab9c8efb
|
|
BLAKE2b-256 checksum How to use checksums |
7925aa0de20fd8d5aeffcfe27dc27cd323200791fe26df200ce9a2db24a453d3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/2.0.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.5
|
Security for oru 0.2.3
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.