This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Latest Version Dependencies status unknown Test status unknown Test coverage unknown
Project Description

Purpose

The goal of the project is to create a library can easely communicate with Chacon 54795 using HomeEasy protocol. I test my library with a Raspberry Pi 1 model B+.

from pidom import PiDom

pidom = PiDom()
pidom.synchronize('tv') # 'tv' is off
pidom.switch_on('tv') # 'tv' is on (obvious)
pidom.toggle('tv') # 'tv' is off
pidom.synchronize('light') # add new device
pidom.new_group('living-room', ['tv', 'light']) # switch off 'tv' & 'light'
pidom.toggle('living-room') # switch on 'tv' & 'light'
pidom.backup() # save device and group with pickle in '~/.pidom.bin'

# Use some event
from pidom import event

@event('pidom.update')
def print_data(ev, data):
    print("{} change state for : {}".format(
        data['name'], data['state']))

pidom.toggle('living-room')
# print this :
# light change state for : False
# tv change state for : False

More example in test_pidom.py.

Install

Dependecies

First you need to install emit on you Raspberry Pi, emit use wiringPi library.

install wiringpi library :

cd /tmp
git clone git://git.drogon.net/wiringPi
cd wiringPi
sudo ./build

install emit command :

cd /tmp
git clone https://github.com/landru29/chacon-rpi.git
cd chacon-rpi
make
sudo make install

You can test install with emit -h

emit use pin 11 (GPIO 0) to communicate with the transmitter.

Pi-Dom

Use pip is the easiest way :

pip install pidom
Release History

Release History

0.3.2

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.3.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.2.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

TODO: Brief introduction on what you do with files - including link to relevant help section.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
pidom-0.3.2.tar.gz (5.5 kB) Copy SHA256 Checksum SHA256 Source Aug 21, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS HPE HPE Development 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