Raspberry Pi IoT Status » History » Revision 12

Revision 11 (Spencer Sutterlin, 06/12/2014 09:43 AM) → Revision 12/14 (Spencer Sutterlin, 06/12/2014 09:45 AM)

Raspberry Pi IoT Status 


 On each Pi, get: 

 * ndnx (just compile locally, doesn't take long) 
 * PyNDN2 
 * ndn-pi 
 * libcec (only needed on HDMI-CEC node) 



 ## Application Architecture 
 See attached image ndn-pi_application_architecture.png 

 ## Full Example 
 In order to ssh into gateway pi (HDMI-CEC), must be on CS dept network. ssh into CS dept server first or be physically there. 

 Run the following in order. 

 Window 1 (Occupancy Node 1) 

     ssh pi@ 
     nfdc register /home 2 
     sudo python app/ 

 Window 2 (Occupancy Node 2) 

     ssh pi@ 
     nfdc register /home 2 
     sudo python app/ 

 Window 3 (HDMI-CEC Node) 

     ssh pi@ 
     nfdc register /home 3 
     python app/ 

 Window 4 (Consumer Node, physically, same node as HDMI-CEC Node) 

     ssh pi@ 
     # don't start nfd here since already started 
     python app/ 

 ## Future Work 
 Ask Jeff for prioritization 

 ### Enable ethernet faces in NFD 
 NFD supports ethernet faces and we want to move away from IP dependency. Enable etnernet faces in NFD, cross-compile, and install on pi. Change nfdc register /home 2|3 command to use ethernet face. You might want to back up the current working NFD on the pi (in /usr/local) in case anything goes wrong in the cross-compile/install. 

 ### Web interface gateway 
 Use ndn-js and Node-JS. Display sensor data in an organized fashion and expose control of networked devices remotely. Connect gateway to ndn testbed listen for names /ndn/<home-address>/home/... and translate /home/... 

 ### Webcam Node 
 Leverage NDN-RTC code to capture and publish video as data. Consume this with the HDMI-CEC node and display on the TV. 

 ### Integrate bootstrapping into application 
 app/ and app/ have pseudocode that can be combined with Wentao's key distribution ideas