Python API and command line tool for the Veralite™ Smart Home Controller
Installation
[sudo] pip install python-veralite
Usage
Module
You can import the module as veralite.
import veralite
ip = '192.168.1.89'
user = 'admin'
password = 'password'
vera_api = veralate.Veralite(ip, user, password)
vera_api.update_devices()
Command line
usage: veralite [-h] [--conf FILE] --ip IP -u USER -p PASSWORD
{light,motion,switch} ...
Command line interface to Veralite™ Smart Home Controller
positional arguments:
{light,motion,switch}
command help
light light commands
motion motion sensor commands
switch switch commands
optional arguments:
-h, --help show this help message and exit
--conf FILE config file (default ~/.config/veralite/config)
--ip IP the ip for veralite system
-u USER, --user USER username for veralite
-p PASSWORD, --password PASSWORD
password for veralite
examples:
veralite --ip 192.168.1.22 -u veraadmin -p adminpassword switch modify --id 22 --on
veralite --ip 192.168.1.22 -u veraadmin -p adminpassword light list
veralite --ip 192.168.1.22 -u veraadmin -p adminpassword motion modify --id 10 --arm
A configuration file can also be specified to prevent ip/user/password repitition.
[DEFAULT]
ip = 192.168.1.55
user = theuser
password = mypassword
Metadata
Release files for python-veralite 0.0.5
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 | |
|---|---|---|---|---|
| python-veralite-0.0.5.tar.gz | 12.0 kB | Without provenance | Details |
Release files / python-veralite-0.0.5.tar.gz
| Download URL | python-veralite-0.0.5.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c4c4de26fa2b78b9cc56d13396366e9da5ba5e22ef7bc50d2d3046223fde47c0
|
|
BLAKE2b-256 checksum How to use checksums |
a7eec7d6af2ca3aa88d7388717fe3c2e4c5d8af656d869369d63cb5ba84b7ebd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for python-veralite 0.0.5
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.