Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| tutoriel:domotique [Le 02/04/2008, 14:30] – 82.225.229.10, 213.95.41.13 | tutoriel:domotique [Le 14/04/2017, 20:35] (Version actuelle) – mise en forme L'Africain | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| + | {{tag> | ||
| + | ------ | ||
| + | ====== Installer un serveur domotique ====== | ||
| + | |||
| + | |||
| + | Heyu permet de piloter le module CM11A. | ||
| + | |||
| + | ==== Pré-requis ==== | ||
| + | |||
| + | sudo apt-get install -y linux-headers-`uname -r` build-essential | ||
| + | |||
| + | ==== Installation ==== | ||
| + | Heyu n'est pas livré avec Ubuntu, il faut l' | ||
| + | Téléchargez l' | ||
| + | * Décompressez l' | ||
| + | * Déplacez vous dans le dossier décompréssé, | ||
| + | * Lancez la [[compilation]], | ||
| + | |||
| + | ./Configure | ||
| + | make | ||
| + | sudo make install | ||
| + | |||
| + | Répondre au questions posées pendant l' | ||
| + | |||
| + | Where would you like the sample Heyu configuration file installed? | ||
| + | 1. In directory / | ||
| + | 2. In subdirectory .heyu/ under a different user home directory | ||
| + | 3. In directory / | ||
| + | 4. No thanks, I'll take care of it myself | ||
| + | Choice [1, 2, 3, or 4] ? 3 | ||
| + | | ||
| + | Specify /dev/ttyS0, /dev/ttyS1, etc.\\ | ||
| + | To which port is the CM11 attached? | ||
| + | / | ||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | |||
| + | ==== Utilisation ==== | ||
| + | |||
| + | On va vérifier que heyu fonctionne correctement. | ||
| + | |||
| + | heyu info | ||
| + | | ||
| + | starting heyu_relay | ||
| + | 2007/12/18 12: | ||
| + | Heyu version 2.1.3 | ||
| + | Configuration at / | ||
| + | Powerline interface on /dev/ttyS0 | ||
| + | Firmware revision Level = 8 | ||
| + | Interface battery usage = Unknown (0xFFFF) | ||
| + | Raw interface clock: Tue, 12:20:08, Day 351 | ||
| + | (--> Civil Time: Tue 12: | ||
| + | No schedule has been uploaded by Heyu. | ||
| + | Housecode = A | ||
| + | 0 = off, 1 = on, | ||
| + | Last addressed device = | ||
| + | Status of monitored devices = 0x0000 (0000000000000000) | ||
| + | Status of dimmed devices = 0x0000 (0000000000000000) | ||
| + | |||
| + | |||
| + | ===== Installation d'un frontal pour Heyu : domus.Link ===== | ||
| + | < | ||
| + | |||
| + | ==== Pré-requis ==== | ||
| + | Il faut arrêter Heyu : | ||
| + | heyu stop | ||
| + | |||
| + | |||
| + | ==== Installation ==== | ||
| + | Une fois l' | ||
| + | sudo tar zxvf domuslink-1.0.1.tar.gz -C /var/www | ||
| + | mv / | ||
| + | cp / | ||
| + | sudo chmod +rw / | ||
| + | sudo chmod +rw / | ||
| + | |||
| + | |||
| + | ===== Installation de ZoneMinder ===== | ||
| + | |||
| + | |||
| + | ==== Installation ==== | ||
| + | sudo apt-get install -y zoneminder apache2 php5-mysql libapache2-mod-php5 mysql-server ffmpeg | ||
| + | sudo ln -s / | ||
| + | sudo / | ||
| + | |||
| + | |||
| + | |||
| + | ==== Configuration de l' | ||
| + | |||
| + | sudo apt-get install sendmail | ||
| + | sudo perl -MCPAN -e shell | ||
| + | cpan> install MIME:: | ||
| + | cpan> install MIME::Lite | ||
| + | cpan> install Net::SMTP | ||
| + | |||
| + | |||
| + | Enter a list of available SMTP hosts : [] smtp.free.fr | ||
| + | |||
| + | ---- | ||
| + | // | ||
