Jarvis Protocol

  1. Jarvis creates a JSON packet with command
  2. Jarvis connects to REST interface on server node.
  3. Server node processes requests into IoT command
  4. Server node issues REST call to IoT device


  1. Jarvis Java application on desktop
  2. nodejs based REST interface on PiBox
    1. Restify handles REST API
    2. Restify provides hooks for https setup
    3. Requires nodejs to be installed in PiBox core


  1. Generate key/cert at boot time on PiBox
  2. Allow Jarvis to register to receive key

See https://cloud.google.com/iot/docs/how-tos/credentials/keys