Giter Site home page Giter Site logo

wbphelps / pytomation Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zonyl/pytomation

0.0 2.0 0.0 17.63 MB

Pytomation is an extensible device communication and automation system written in Python. It's uses include home automation and lighting control but is certainly not limited to that. It is supported on any platform that support Python ( Windows, Mac OS-X, Linux, etc )

Home Page: www.pytomation.com

License: Other

pytomation's Introduction

Pytomation


Pytomation is an extensible device communication and automation system written in Python. It's uses include home automation and lighting control but is certainly not limited to that. It is supported on any platform that support Python ( Windows, Mac OS-X, Linux, etc )

Supported

Pytomation currently has support for the following hardware interfaces with more planned in the future.

Future

  • Z-Wave (Aeon Labs) DSA02203-ZWUS
  • Weeder Analog I/O board (Wtaio/RS232)
  • Ube Wifi Devices
  • CoralStar WiFi Devices

###INSTALLATION

DEPENDENCIES

Before you can create an instance and run Pytomation automation software you must satisfy a few dependencies. Pytomation is written in Python and currently has been tested under versions 2.6.x and 2.7.x.

Pytomation also requires the following packages to be installed:

  • Pyserial - Support for RS232 serial interfaces.

  • Pyephem - High-precision astronomy computations for sunrise/sunset.

  • Pytz - World timezone definitions.

  • Mock - Python testing library.

  • Git - Version control software.

  • Debian packages are available for Pyserial and can be installed with :

    sudo apt-get install python-serial 
    

or search for python serial in your software manager.

The other pieces can be installed with ""pip". "Pip" is a tool for installing and managing Python packages, such as those found in the Python Package Index.

Again, under Debian distributions you can install the python-pip package:

 sudo apt-get install python-pip

Once pip is installed it is easy to install the rest of the dependencies with the following commands.

sudo pip install pytz pyephem mock git

####INSTALL

You are now ready to install pytomation. Change into the directory that Pytomation resides in from the git clone command above and run "./install.sh". You may have to make it executable with the command chmod +x ./install.sh first. Install.sh can take an optional argument which points to an alternate installation directory:

 ./install.sh /some/other/folder/pytomation

The install.sh command does the following:

  • Confirms where you are installing Pytomation to.
  • Makes a "pyto" user and creates the home directory.
  • Copies all the necessary files into Pytomations HOME.
  • Creates a /usr/bin/pytomation.sh command to start Pytomation.
  • Creates an /etc/init.d/pyto script for starting Pytomation on boot.

You are now ready to configure pytomation and create an instance for your devices.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.