Skip to content

Latest commit

 

History

History
134 lines (79 loc) · 3.16 KB

File metadata and controls

134 lines (79 loc) · 3.16 KB

Installation

Here the incremental achievements to making use of this repo:

  1. Load Raspian Jessie on 3 SD cards.

  2. Load the "Waher IoT Gateway install script" on the SD card.

    Initial device:

  3. On Pi #1 run the install script to install from the web Mono .NET 4.6, Mongo DB, and IoT Gateway.

  4. Manually configure Gateway from web client (from any internet browser).

    Initial device:

  5. Create a device on Pi #2 using Raspbian Jessie and .NET Core

  6. On Pi #2 (the Device) get __ program to recognize temperature data from sensor.

  7. Configure Gateway to display statistics over time (to any internet browser).

  8. Use Mock Loaded on Win10 using WPF to communicate with device.

    Additional device:

  9. Create a device on Pi #3 using Raspbian Jessie and .NET 4.6 UWP.

  10. On Pi #3 (the Device) get __ program to recognize temperature data from sensor.

    Developers:

  11. Create C# dev platform from GitHub: install on Win10 VS 2015, .NET 4.6,

  12. Install Git client for Windows and get Waher IoT Gateway source.


  1. Load Raspian Jessie on 3 SD cards.

    Reference: http://raspberrypihq.com/how-to-install-windows-10-iot-on-the-raspberry-pi/ describes use of FFU2IMG

  2. Load the "Waher IoT Gateway install script" on the SD card,

The script does the rest:

Mono Install

Reference: https://blogs.msdn.microsoft.com/brunoterkaly/2014/06/11/running-net-applications-on-a-raspberry-pi-that-communicates-with-azure/

  1. Install trusted root certificates on to the raspberry pi

  2. Install Download Mono 64-bit (Preview, no GTK#):

    http://www.mono-project.com/download/#download-win

    File Size
    mono-4.6.2.7-x64-0.msi 109 MB

    Load Gateway

  3. Install a Git CLI client -

    sudo apt-get install git

  4. Use Git to clone:

    git clone --depth=1 https://github.com/PeterWaher/IoTGateway/blob/master/

  5. Run setup:

    sudo mono IoTGatewaySetup.exe

    The IoTGatewaySetup.exe in GitHub is for regular Windows.

    MongoDB Install

  6. The shell script to install MongoDB on the Raspbian:

    sudo apt-get update sudo apt-get upgrade sudo apt-get install mongodb-server

    Binaries are stored in folder /usr/bin/.
    Datas is stored in folder /var/lib/mongodb/.

  7. Configure the MongoDB service to start when the Raspberry Pi boots up:

    sudo service mongod start

    The MongoDB shell would be invoked remotely only as needed for debugging:

    mongo

    Invoke server

    sudo mono IoTGateway.exe

References: http://github.com/sedouard/SmartDoorDemo SmartDoor Client on Github – Mono-based C# Raspberry PI Client: