/IoT-Core-Essentials

File appender and restful http requests for Windows 10 IoT Core using node js.

Primary LanguageTypeScriptMIT LicenseMIT

Windows 10 IoT Core Essentials

Runs on device or as monitoring server.

  • File Appender
  • Requests (used to get hardware data from Pi)
  • IP to Geo functionality (best with device)
  • Azure Device integration for streaming analytics

Out of the Box

  1. Grabs geoip json from external ip address
  2. Using IoT resourcemanager api:
  3. Creates message for Azure Device Hub
  4. Logs message to flat file
  5. Sends message to your Device Hub connection per the connection string and interval in config.json

Service Setup

  1. Clone this repo locally
  2. Run: npm install
  3. Run: npm run build to build js from typescript
  4. Run: npm start to run service.

IoT Core Device Setup

  1. Requires understanding of ftp to IoT device FTP
  2. Requires understanding of Windows 10 IoT Core Dashboard.
  3. Requires completion of Service Setup
  1. Install nodejs (Chakra) on Windows 10 IoT Installing Node Js
  2. Grab your IoT device connection string
  3. Grab your device ip address from
  4. Request IoT systemperf, make the performance request using your device Ip address in chrome and note the basic auth token or setup ssh to your device.
  5. Update your config.json with this info
  6. Copy working directory contents to c:\IoT\ESS
  7. Device Powershell: cd c:\node then ./node.exe cli.js install c:\IoT\ESS
  8. Device Powershell: cd c:\IoT\ESS then c:\node\node.exe c:\node\cli.js start