Project

General

Profile

MVP Development Tasks » History » Revision 4

Revision 3 (Hammel, 13 Jul 2017 15:31) → Revision 4/7 (Hammel, 13 Jul 2017 15:32)

h1. MVP Development Tasks 

 h1. +Monitor+ 

 Note: Touch Display is already supported 

 h2. Hardware 

 * Pair Button support (GPIO pin) 
 ** Needs to include LED so we know we're in that mode 
 * 2G/3G support based on Raspberry Pi phone build 
 ** https://www.graphics-muse.org/wp/?p=5910 
 ** Not absolutely required - only used as backup if Internet connection goes down. 
 * Requires Backup Battery Circuit board 
 ** This will handle power input from AC (wall socket) or battery.    Battery should only be backup power! 
 ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Battery Backup section) 
 ** Needs to set GPIO pin that can be read at boot. 
 ** Needs LED that can be enabled from boot process (not connected to Pair Button) via GPIO to show we're in Pair Mode 
 * Requires PiDrive for external storage 
 ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Monitor section) 
 * Needs WiFi + BLE HAT 
 ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Monitor Section) 
 * Needs Enclosure 
 ** PiDrive access door 
 ** Battery access door 
 ** SD card access 
 ** open USB ports access 
 ** Display on top 
 ** LEDs visible 

 h2. Software 

 * Pair Button support on boot 
 * Write to work like ESP8266 where boot mode can set up AP to allow configuration via mobile device 
 <pre> 
     Handles both Internet wifi setup and sensor network AP config. 
     if (pair_button) 
     {    
         enable ap only 
         enable wifi config in web server 
     } 
     else 
     {    
         enable ap 
         enable internet wifi connection 
         disable wifi config in web server 
     } 
 </pre> 
 * New launcher supporting UI design. 
 * piboxd updates 
 ** needs to support sensor messages (store to sensor location). overwrite with latest message in per-sensor file. 
 * Battery backup 
 ** On AC power failure, send notifications and continue running. 
 ** power down safely (signal all apps) when battery is low. 
 * Install 
 ** must format hard drive on firstboot 
 *** partition 1: app data 
 *** partition 2: camera recordings 
 * New apps: 
 ** Sensor config/browse 
 ** Contacts (for notifications) 
 ** Files (for cleanup, status viewing) 
 ** Setup (admin pw, generate keys for sensors) 

 h1. +Sensors+ 

 Fork "esp8266 project":https://gitlab.com/xarduino/iotdevice 

 h2. Hardware 

 * Add pair button + LED 
 * Add battery power w/ enclosure 
 * Add door/window sensor 
 ** http://redmine.graphics-muse.org/projects/ironman/wiki/Hardware_Links (Door/Window Alarm section) 
 * Needs enclosure 
 ** Battery access 
 ** Pair button access 
 ** LEDs visible 

 Software: 
 * Rework esp8266 code to handle new flow diagram. 
 * If necessary, simplify REST interface. 
 * Add AES encoding + hash for all messages (inbound and outbound from sensor). 

 h1. +Management+ 

 * Android: 
 ** Wifi config 
 *** connect to AP (monitor or sensor) 
 *** configure network 
 *** Set admin pw (part of initial setup) 
 ** View sensor status 
 ** Admin 
 *** Set admin pw (via sensor network only) 

 * Web UI: 
 ** View sensor status 
 ** Admin 
 *** Set admin pw 
 *** gen keys 
 ** Files 
 *** List 
 *** Delete