Project

General

Profile

Raspberry Pi IoT Status » History » Revision 6

Revision 5 (Spencer Sutterlin, 06/10/2014 02:29 AM) → Revision 6/14 (Spencer Sutterlin, 06/10/2014 02:31 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) 

 Devices: 

 * NDN-PI-HDMI-CEC-1: NDN-PI-HDMI-CEC-1 
 ** 131.179.196.225 (WAN), (WAN) 
 ** 192.168.1.1 (LAN) 
 * NDN-PI-OCCUPANCY-1: NDN-PI-OCCUPANCY-1 
 ** 192.168.1.2 (LAN) 
 * NDN-PI-OCCUPANCY-2: NDN-PI-OCCUPANCY-2 
 ** 192.168.1.3 (LAN) 

 ## 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@131.179.196.225 
     ssh 192.168.1.2 
     nfd-start 
     nfdc register /home 2 
     sudo python app/occupancy_node_1.py 

 Window 2 (Occupancy Node 2) 

     ssh pi@131.179.196.225 
     ssh 192.168.1.3 
     nfd-start 
     nfdc register /home 2 
     sudo python app/occupancy_node_1.py 

 Window 3 (HDMI-CEC Node) 

     ssh pi@131.179.196.225 
     nfd-start 
     nfdc register /home 3 
     python app/hdmi_cec_node.py 

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

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