Users Guide » History » Version 4
Hammel, 19 Sep 2019 15:14
| 1 | 1 | Hammel | h1. Users Guide |
|---|---|---|---|
| 2 | |||
| 3 | 2 | Hammel | {{>toc}} |
| 4 | |||
| 5 | 3 | Hammel | In this document the term _host system_ refers to a Linux desktop or laptop that will be used to download and install software |
| 6 | onto an SD card. |
||
| 7 | 1 | Hammel | |
| 8 | 3 | Hammel | h2. The Ironman Monitor |
| 9 | |||
| 10 | The Ironman Monitor runs on a Raspberry Pi 2 or 3 and provides a central hub for management of home automation devices. |
||
| 11 | |||
| 12 | h3. Installation Prerequisites |
||
| 13 | |||
| 14 | 4 | Hammel | * The Pi 2/3 requires a 5V / 2A power supply. For best results, use a power supply rated to at least 5.25V to avoid under voltage conditions. |
| 15 | 3 | Hammel | * The Pi 2/3 requires a microSD card that is at least 4GB. A mechanism for using the SD card on your host system is needed, such as an SD card USB adapter or an SD port on your laptop. |
| 16 | * You will need to have sudo access for your Linux user id. |
||
| 17 | |||
| 18 | 1 | Hammel | h3. Generating the SD Card for the Pi |
| 19 | 3 | Hammel | |
| 20 | 1 | Hammel | * Download the RPi 2 Development Platform |
| 21 | 4 | Hammel | ** _wget <url>_ |
| 22 | ** Unpack the archive to a directory called *image*. |
||
| 23 | 1 | Hammel | * Download the Ironman Package Collection |
| 24 | 4 | Hammel | ** _wget <url>_ |
| 25 | ** Unpack the archive to a directory called *package*. |
||
| 26 | 3 | Hammel | |
| 27 | 4 | Hammel | In a terminal window run: _dmesg -w_ |
| 28 | 1 | Hammel | Insert the microSD card and look for the device name for the newly added card. It should be something like /dev/sdb or /dev/sde. |
| 29 | 4 | Hammel | Kill the _dmesg -w_ command with Ctrl-C. |
| 30 | 3 | Hammel | |
| 31 | 4 | Hammel | From the *image* directory |
| 32 | 1 | Hammel | * Format the SD card |
| 33 | 4 | Hammel | ** _sudo ./mksd.sh -d <device name>_ |
| 34 | 3 | Hammel | ** where <device name> is the name you noted from the output of dmesg -w. |
| 35 | 1 | Hammel | * Mount the boot partition from the sd card: |
| 36 | 4 | Hammel | ** _sudo mkdir -p /mnt/boot_ |
| 37 | ** _sudo mount <device name>1 /mnt/boot_ |
||
| 38 | 1 | Hammel | ** where <device name> is the name you noted from the output of dmesg -w. |
| 39 | 4 | Hammel | * Install the Development Platform to the SD card |
| 40 | ** _sudo ./mkinstall.sh -b /mnt/boot -d <device name>2_ |
||
| 41 | 3 | Hammel | ** where <device name> is the name you noted from the output of dmesg -w. |
| 42 | |||
| 43 | 4 | Hammel | From the *package* directory |
| 44 | 3 | Hammel | * Mount the root partition from the sd card: |
| 45 | 4 | Hammel | ** _sudo mkdir -p /mnt/root_ |
| 46 | ** _sudo mount <device name>1 /mnt/root_ |
||
| 47 | 3 | Hammel | * Copy the Ironman Package Collection files to /root of the root partition on the SD card |
| 48 | 4 | Hammel | ** _sudo cp *.opk /mnt/root/root_ |
| 49 | 3 | Hammel | |
| 50 | Make sure all writes to the SD card have completed |
||
| 51 | 4 | Hammel | * _sync;sync;sync_ |
| 52 | 3 | Hammel | |
| 53 | Unmount the SD card partitions |
||
| 54 | 4 | Hammel | * _sudo umount /mnt/boot_ |
| 55 | * _sudo umount /mnt/root_ |
||
| 56 | 3 | Hammel | |
| 57 | 4 | Hammel | Remove the SD card from the host system and insert it into the Raspberry Pi 2. |
| 58 | 1 | Hammel | |
| 59 | h3. First time boot |
||
| 60 | |||
| 61 | h3. Network configuration |
||
| 62 | |||
| 63 | h3. Pairing with IoT Sensors |
||
| 64 | |||
| 65 | h3. Pairing with Jarvis |
||
| 66 | |||
| 67 | h2. IoT Sensor |
||
| 68 | |||
| 69 | h3. Sensor Types |
||
| 70 | |||
| 71 | h4. Light Switch |
||
| 72 | |||
| 73 | h3. Flashing the firmware |
||
| 74 | |||
| 75 | h3. Power On |
||
| 76 | |||
| 77 | h3. Pairing with a Monitor |
||
| 78 | |||
| 79 | h2. Jarvis |
||
| 80 | |||
| 81 | h3. Prerequisites |
||
| 82 | |||
| 83 | h3. Pairing with a Monitor |
||
| 84 | |||
| 85 | h3. Supported Commands |