sensor/

directory
v0.0.0-...-7a23ab9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 2, 2019 License: Apache-2.0

README

Introduction

This sub-project, as a prototype application of OpenCensus on the IoT industry, builds a demo for applying the OpenCensus framework on the IoT platform. In this project, we use the Raspberry Pi to collect data from some sensors and export them to the back-end StackDriver server for visualization and persistence.

Installation

go get -u github.com/census-ecosystem/opencensus-experiments

Configuration

To run the script, please do the following instructions first

cd $(go env GOPATH)/src/github.com/census-ecosystem/opencensus-experiments/go/iot/sensor

chmod u+x ./configure.sh

./configure.sh raspberry-id raspberry-ip-address raspberry-ssh-password

Instructions

After all the above, you could run the following command

./run.sh raspberry-id raspberry-ip-address raspberry-ssh-password

Then the generated main binary file would run on the remote raspberry pi.

Note: The default raspberry id for the raspberry pi is pi

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL