grovepi/Software/flogo
2025-03-21 16:04:17 +01:00
..
activities first commit 2025-03-21 16:04:17 +01:00
screenshots first commit 2025-03-21 16:04:17 +01:00
LICENSE first commit 2025-03-21 16:04:17 +01:00
README.md first commit 2025-03-21 16:04:17 +01:00

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