Skip to content

Latest commit

 

History

History
59 lines (38 loc) · 1.91 KB

README.md

File metadata and controls

59 lines (38 loc) · 1.91 KB
================================ Running Sedona on a Raspberry Pi ================================ If you have a Raspberry Pi, you can make it a Sedona Device in just a few minutes!

See http://www.raspberrypi.org to find out more about the Raspberry Pi, where to get one, and how to do the initial setup.

This archive includes native support for accessing the Raspberry Pi GPIO pins.

  1. Assumptions

It is assumed that the Raspberry Pi:

  • is running ArchLinux (may also work for other flavors of Linux)

  • has command line access, most commonly by ssh or telnet

  • has IP connectivity, and route exists to Niagara station or Sedona Workbench

  • can receive files over network (or copy to SD card)

  • is running a time service that syncs the device with network time (recommended)

2a. Sedona Device Setup

a. Copy this archive to the RPi (ssh, telnet, or direct copy to SD card).

b. Extract the contents of the file.

c. Move to the newly extracted folder, sedona-rpi/

d. Start the Sedona VM as a background process:
     bin/svm --plat &

2b. Alternative Device Setup

a. Connect to your Raspberry Pi via ssh.

b. Make sure your device is up to date and install git
  - `sudo apt update`
  - `sudo apt install git`

c. Clone this repository
  - `git clone https://brettnreno/tridium-rpi-sedona-io-min.git`

d. Move to the cloned folder
  - `cd tridium-rpi-sedona-io-min`

e. Start the Sedona VM as a background process:
     `bin/svm --plat &`  

Once the SVM is up and running, the device should be discoverable from your Niagara station or Sedona Workbench through SedonaNetwork.