Project

General

Profile

MVP Development Tasks » History » Version 4

Hammel, 13 Jul 2017 15:32

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 4 Hammel
** LEDs visible
30 1 Hammel
31
h2. Software
32
33
* Pair Button support on boot
34
* Write to work like ESP8266 where boot mode can set up AP to allow configuration via mobile device
35
<pre>
36
    Handles both Internet wifi setup and sensor network AP config.
37
    if (pair_button)
38
    {   
39
        enable ap only
40
        enable wifi config in web server
41
    }
42
    else
43
    {   
44
        enable ap
45
        enable internet wifi connection
46
        disable wifi config in web server
47
    }
48
</pre>
49
* New launcher supporting UI design.
50
* piboxd updates
51
** needs to support sensor messages (store to sensor location). overwrite with latest message in per-sensor file.
52
* Battery backup
53
** On AC power failure, send notifications and continue running.
54
** power down safely (signal all apps) when battery is low.
55
* Install
56
** must format hard drive on firstboot
57
*** partition 1: app data
58
*** partition 2: camera recordings
59
* New apps:
60
** Sensor config/browse
61
** Contacts (for notifications)
62
** Files (for cleanup, status viewing)
63
** Setup (admin pw, generate keys for sensors)
64
65
h1. +Sensors+
66
67
Fork "esp8266 project":https://gitlab.com/xarduino/iotdevice
68
69
h2. Hardware
70
71
* Add pair button + LED
72
* Add battery power w/ enclosure
73
* Add door/window sensor
74
** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Door/Window Alarm section)
75 3 Hammel
* Needs enclosure
76
** Battery access
77
** Pair button access
78
** LEDs visible
79 1 Hammel
80
Software:
81
* Rework esp8266 code to handle new flow diagram.
82
* If necessary, simplify REST interface.
83
* Add AES encoding + hash for all messages (inbound and outbound from sensor).
84
85
h1. +Management+
86
87
* Android:
88
** Wifi config
89
*** connect to AP (monitor or sensor)
90
*** configure network
91
*** Set admin pw (part of initial setup)
92
** View sensor status
93
** Admin
94
*** Set admin pw (via sensor network only)
95
96
* Web UI:
97
** View sensor status
98
** Admin
99
*** Set admin pw
100
*** gen keys
101
** Files
102
*** List
103
*** Delete