Users Guide » History » Version 3
Hammel, 19 Sep 2019 15:08
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 | * 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. |
||
15 | * You will need to have sudo access for your Linux user id. |
||
16 | |||
17 | 1 | Hammel | h3. Generating the SD Card for the Pi |
18 | 3 | Hammel | |
19 | * Download the RPi 2 Development Platform |
||
20 | ** wget <url> |
||
21 | ** Unpack the archive to a directory called "image". |
||
22 | * Download the Ironman Package Collection |
||
23 | ** wget <url> |
||
24 | ** Unpack the archive to a directory called "package". |
||
25 | |||
26 | In a terminal window run: dmesg -w |
||
27 | 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. |
||
28 | Kill the dmesg -w command with Ctrl-C. |
||
29 | |||
30 | From the "image" directory |
||
31 | * Format the SD card |
||
32 | ** sudo ./mksd.sh -d <device name> |
||
33 | ** where <device name> is the name you noted from the output of dmesg -w. |
||
34 | * Mount the boot partition from the sd card: |
||
35 | ** sudo mkdir -p /mnt/boot |
||
36 | ** sudo mount <device name>1 /mnt/boot |
||
37 | ** where <device name> is the name you noted from the output of dmesg -w. |
||
38 | * Install the Development Platform to the SD card: sudo ./mkinstall.sh -b /mnt/boot -d <device name>2 |
||
39 | ** where <device name> is the name you noted from the output of dmesg -w. |
||
40 | |||
41 | From the "package" directory |
||
42 | * Mount the root partition from the sd card: |
||
43 | ** sudo mkdir -p /mnt/root |
||
44 | ** sudo mount <device name>1 /mnt/root |
||
45 | * Copy the Ironman Package Collection files to /root of the root partition on the SD card |
||
46 | ** sudo cp *.opk /mnt/root/root |
||
47 | |||
48 | Make sure all writes to the SD card have completed |
||
49 | * sync;sync;sync |
||
50 | |||
51 | Unmount the SD card partitions |
||
52 | * sudo umount /mnt/boot |
||
53 | * sudo umount /mnt/root |
||
54 | |||
55 | Remove the SD card from the host system. |
||
56 | 1 | Hammel | |
57 | h3. First time boot |
||
58 | |||
59 | h3. Network configuration |
||
60 | |||
61 | h3. Pairing with IoT Sensors |
||
62 | |||
63 | h3. Pairing with Jarvis |
||
64 | |||
65 | h2. IoT Sensor |
||
66 | |||
67 | h3. Sensor Types |
||
68 | |||
69 | h4. Light Switch |
||
70 | |||
71 | h3. Flashing the firmware |
||
72 | |||
73 | h3. Power On |
||
74 | |||
75 | h3. Pairing with a Monitor |
||
76 | |||
77 | h2. Jarvis |
||
78 | |||
79 | h3. Prerequisites |
||
80 | |||
81 | h3. Pairing with a Monitor |
||
82 | |||
83 | h3. Supported Commands |