SmartHome.py is a modular framework to automate your (smart) home.
See the install and config section to dive into your smarthome experience.
You could find information about the Pi image at the wiki page.
Change to Python 3.X!!! (for X >= 2)
sh.match_items, eval_trigger and watch_item: supports item attribute matches by ‘:attribute’ e.g. ‘*:my’ every item with the attribute my.
If you want to migrate to the new (Python) version, you have to do the following steps:
# install the base
$ sudo apt-get install python3 python3-dev python3-setuptools
$ sudo easy_install3 pip
$ sudo pip-3.2 install ephem
# to convert your old configuration !very important!
$ ./tools/conf2-1.0.sh
# change your logic files to python3 syntax
$ 2to3-3.2 -f idioms -f all -w yourlogicfile.py
# remove the old python pyc files
$ find . -name *.pyc -type f -print0 | xargs -0 /bin/rm -f
# if you want to use the RRDTool plugin
$ sudo apt-get install librrd-dev
$ cd lib/3rd/rrdtool
$ sudo python3 setup.py install