MVP Development Tasks » History » Version 3
Hammel, 13 Jul 2017 15:31
1 | 1 | Hammel | h1. MVP Development Tasks |
---|---|---|---|
2 | |||
3 | h1. +Monitor+ |
||
4 | |||
5 | Note: Touch Display is already supported |
||
6 | |||
7 | h2. Hardware |
||
8 | |||
9 | * Pair Button support (GPIO pin) |
||
10 | ** Needs to include LED so we know we're in that mode |
||
11 | * 2G/3G support based on Raspberry Pi phone build |
||
12 | ** https://www.graphics-muse.org/wp/?p=5910 |
||
13 | 2 | Hammel | ** Not absolutely required - only used as backup if Internet connection goes down. |
14 | 1 | Hammel | * Requires Backup Battery Circuit board |
15 | ** This will handle power input from AC (wall socket) or battery. Battery should only be backup power! |
||
16 | ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Battery Backup section) |
||
17 | ** Needs to set GPIO pin that can be read at boot. |
||
18 | ** Needs LED that can be enabled from boot process (not connected to Pair Button) via GPIO to show we're in Pair Mode |
||
19 | * Requires PiDrive for external storage |
||
20 | ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Monitor section) |
||
21 | * Needs WiFi + BLE HAT |
||
22 | ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Monitor Section) |
||
23 | * Needs Enclosure |
||
24 | ** PiDrive access door |
||
25 | ** Battery access door |
||
26 | ** SD card access |
||
27 | ** open USB ports access |
||
28 | ** Display on top |
||
29 | |||
30 | h2. Software |
||
31 | |||
32 | * Pair Button support on boot |
||
33 | * Write to work like ESP8266 where boot mode can set up AP to allow configuration via mobile device |
||
34 | <pre> |
||
35 | Handles both Internet wifi setup and sensor network AP config. |
||
36 | if (pair_button) |
||
37 | { |
||
38 | enable ap only |
||
39 | enable wifi config in web server |
||
40 | } |
||
41 | else |
||
42 | { |
||
43 | enable ap |
||
44 | enable internet wifi connection |
||
45 | disable wifi config in web server |
||
46 | } |
||
47 | </pre> |
||
48 | * New launcher supporting UI design. |
||
49 | * piboxd updates |
||
50 | ** needs to support sensor messages (store to sensor location). overwrite with latest message in per-sensor file. |
||
51 | * Battery backup |
||
52 | ** On AC power failure, send notifications and continue running. |
||
53 | ** power down safely (signal all apps) when battery is low. |
||
54 | * Install |
||
55 | ** must format hard drive on firstboot |
||
56 | *** partition 1: app data |
||
57 | *** partition 2: camera recordings |
||
58 | * New apps: |
||
59 | ** Sensor config/browse |
||
60 | ** Contacts (for notifications) |
||
61 | ** Files (for cleanup, status viewing) |
||
62 | ** Setup (admin pw, generate keys for sensors) |
||
63 | |||
64 | h1. +Sensors+ |
||
65 | |||
66 | Fork "esp8266 project":https://gitlab.com/xarduino/iotdevice |
||
67 | |||
68 | h2. Hardware |
||
69 | |||
70 | * Add pair button + LED |
||
71 | * Add battery power w/ enclosure |
||
72 | * Add door/window sensor |
||
73 | ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Door/Window Alarm section) |
||
74 | 3 | Hammel | * Needs enclosure |
75 | ** Battery access |
||
76 | ** Pair button access |
||
77 | ** LEDs visible |
||
78 | 1 | Hammel | |
79 | Software: |
||
80 | * Rework esp8266 code to handle new flow diagram. |
||
81 | * If necessary, simplify REST interface. |
||
82 | * Add AES encoding + hash for all messages (inbound and outbound from sensor). |
||
83 | |||
84 | h1. +Management+ |
||
85 | |||
86 | * Android: |
||
87 | ** Wifi config |
||
88 | *** connect to AP (monitor or sensor) |
||
89 | *** configure network |
||
90 | *** Set admin pw (part of initial setup) |
||
91 | ** View sensor status |
||
92 | ** Admin |
||
93 | *** Set admin pw (via sensor network only) |
||
94 | |||
95 | * Web UI: |
||
96 | ** View sensor status |
||
97 | ** Admin |
||
98 | *** Set admin pw |
||
99 | *** gen keys |
||
100 | ** Files |
||
101 | *** List |
||
102 | *** Delete |