Switch branches/tags
Nothing to show
Find file History
Pull request Compare This branch is 26 commits ahead, 17 commits behind DexterInd:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
activities
screenshots
LICENSE
README.md

README.md

Flogo.io library for GrovePi

Details about TIBCO Flogo can be found on (http://flogo.io)

Introduction

This first two Activity can be used easily in any graphically defined Flogo Flow to execute a Digital Write or Read Temperature and Humidity on GrovePi Board.

GrovePi in Flogo

Install

All you need to install the new Activity into your Flogo WebUI Environment is the GitHub Path to the Extension: e.g. github.com/DexterInd/GrovePi/Software/flogo/activities/grovepiDigitalWrite

Basically this needs match with the 'ref' in the Activity 'JSON'

Flogo WebUI

select 'add new Activity'

Flogo WebUI Console

This is visible in the Flow WebUI Server Console, but after a little while you will see the 'success' message within the WebUI. And you can start working with the new Activity.

Flogo WebUI Success

Activity Interfaces

Digital Write

Input

  • pin integer pin number
  • value boolean true/false

Output

  • success boolean true/false

DHT Read

Input

  • pin integer pin number

Output

  • temperature string
  • humidity string

Remarks

Based on the GOlang GrovePi Implemenation from Falco Tomasetti and didrocks

You will need to install mrmorphic hwio library: go get github.com/mrmorphic/hwio