Project

General

Profile

MVP Development Tasks » History » Version 1

Hammel, 13 Jul 2017 14:44

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