Project

General

Profile

Actions

Raspberry Pi IoT Status » History » Revision 5

« Previous | Revision 5/14 (diff) | Next »
Spencer Sutterlin, 06/10/2014 02:29 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 ** 131.179.196.225 (WAN) ** 192.168.1.1 (LAN)
  • NDN-PI-OCCUPANCY-1 ** 192.168.1.2 (LAN)
  • 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

Updated by Spencer Sutterlin over 10 years ago · 14 revisions