Skip to content

Documentation_GSNv2.x

Julien Eberle edited this page Oct 21, 2016 · 2 revisions

Work in progress

Basics

Accessing data

Wrappers

Core Wrappers Of GSN

Wrapper Name Wrapper Id Remarks
Synchronous Wrapper zeromq-sync Reliable intra/inter GSN Core communication
Asynchronous Wrapper zeromq-async Fast and efficient inter/intra GSN Core communication
Remote REST API Wrapper remote-rest Querying the GSN Services API of a remote instance
Remote Push API Wrapper remote-push Allowing the local GSN Services API to push data in
CSV-Wrapper csv Periodically probing a CSV file for changes
Memory-Usage memory-usage Querying the GSN-core memory footprint
system-time system-time Periodically generating an empty stream-element

Optional Wrappers

Wrapper Name Wrapper Id Remarks
MQTT mqtt
CoAP coap
HTTP-Get http-get
Serial serial
UDP udp
USB-Cam usb-cam
RSS-Feed rss
MultiFormat multiformat Custom protocol analyzing
GPSTest gps-test
Swisspegel swisspegel
STSPiezometer stspiezometer
Replay replay The new local and remote wrappers have the replay built in.
Toa5 toa5
Grid data wrapper grid Grid data wrapper
Image file wrapper imagefile Image file wrapper

Processing Classes

Core Processing Classes Of GSN

Name Processing Class Remarks
Bridge gsn.vsensor.BridgeVirtualSensor GSN's default processing class.
SMA Data Cleaner gsn.vsensor.SMACleaner A Sample Simple Moving Average Data Cleaner.

Optional Processing Classes Of GSN

Name Processing Class Remarks
GPS Parser gsn.vsensor.GPSNMEAVS
Email gsn.vsensor.EmailVirtualSensor
SMS gsn.vsensor.SMSVirtualSensor
Stream Exporter gsn.vsensor.StreamExporterVirtualSensor
VOIP gsn.vsensor.VoipVirtualSensor
R gsn.vsensor.RVirtualSensor
Chart gsn.vsensor.ChartVirtualSensor
WebInteractive gsn.vsensor.WebInteractiveVirtualSensor
ScheduledBridge gsn.vsensor.ScheduledBridgeVirtualSensor Bridge VS with scheduled output
ScheduledStreamExporter gsn.vsensor.ScheduledStreamExporterVirtualSensor Stream Exporter with scheduled output
Scriptlet gsn.processor.ScriptletProcessor Define the Processing Class logic with a scriptlet in the configuration file
DataClean gsn.vsensor.DataCleanVirtualSensor Datacleaning processing class
GridRenderer gsn.vsensor.GridRenderer Grid renderer processing class
Modelling gsn.vsensor.ModellingVirtualSensor Attaching models to data-streams
GridModel gsn.vsensor.GridModelVS Build a grid from a model

Scriptlet Processor examples

Scriptlet Description
E-mail-Scriptlet An example of how to implement flexible email notification based on the scriptlet processor.
twitter-scriptlet An example of how to implement twitter notification based on the scriptlet processor.
periodic-scriptlet An example of how to implement a process which is executed periodically based on the scriptlet processor.

Advanced topics

Clone this wiki locally