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