Project

General

Profile

MVP Development Tasks » History » Version 2

Hammel, 13 Jul 2017 15:09

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
75
Software:
76
* Rework esp8266 code to handle new flow diagram.
77
* If necessary, simplify REST interface.
78
* Add AES encoding + hash for all messages (inbound and outbound from sensor).
79
80
h1. +Management+
81
82
* Android:
83
** Wifi config
84
*** connect to AP (monitor or sensor)
85
*** configure network
86
*** Set admin pw (part of initial setup)
87
** View sensor status
88
** Admin
89
*** Set admin pw (via sensor network only)
90
91
* Web UI:
92
** View sensor status
93
** Admin
94
*** Set admin pw
95
*** gen keys
96
** Files
97
*** List
98
*** Delete