This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Python API and command line tool for talking to the Veralite™ Smart Home Controller

Project Description

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
Release History

Release History

This version
History Node

0.0.5

History Node

0.0.4

History Node

0.0.3

History Node

0.0.2

History Node

0.0.1

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
python-veralite-0.0.5.tar.gz (12.0 kB) Copy SHA256 Checksum SHA256 Source Nov 9, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting