After some studies and a long hesitation, I decided to test Linux not only in computers but also in a more physical .... as, indeed, home automation.
The choice of modules was that of the X10 protocol for the following reasons:
- The cost of the modules is at hand
- The availability is quite simple and varied (just search on google to find various suppliers)
- The protocol operates at x10 power line carrier, so no need to touch the electrical
- There is already a software ready for Linux, free and easy: heyu
- There is sufficient documentation that explains how the communication protocol
heyu I install with the classical. / Configure, make, make install, and connect the interface modules.
Small technical note: interface and forms must of course be electrically connected to the same system, in my case, the line taken and there must be protection switches and interface between modules because the carrier waves, passing through the breakers, they undergo a change in frequency that can go outside the range of Listening to receiving units.
The modules have two "trimmer" on the front to set the channel, I have them set A1 to A4, respectively.
Now I just have to control them using a very common shell: $
heyu on a1 'Activate the form A1
$ a1 heyu off' disables it
If you launch the command: $ heyu help I have a list of commands you can use a beautiful list, including:
heyu info 'Display CM11A registers, clock, and upload
heyu status monitor' X10 Monitor activity (end with
heyu script_ctrl 'Launch scripts disable
-
an FTP server - a web server
- a mail server
www.phpgroupware.org
), I get the header files, set the Italian language basis, giving a user admin to configure and you're done.
Now I just have to integrate SME Server.
I open the webmail, go to the "disposition" of the Horde and I post here as external web page, the address of my groupware, dictated that instead of opening mail, and so you start horde phpGroupWare get inside my webmail.
Finally, some color adjustment and the result, well, just look at the picture. ;)
0 comments:
Post a Comment