iotdb-transport-dweet

3.0.1 • Public • Published

iotdb-transport-dweet

IOTDB Transporter for Dweet.io

About

This a very simple Transporter that will send all your Thing data to Dweet.io. It only sends data, it has no way if getting data from Dweet.

Use

This example is in the samples folder. This will upload earthquakes live to Dweet.io. You can use Freeboard to visualize the data live.

const iotdb = require("iotdb");
iotdb.use("homestar-feed");
iotdb.connect("USGSEarthquake");

// our source - this automatically picks up everything in IOTDB
const iotdb_transport = require("iotdb-transport-iotdb");
const iotdb_transporter = iotdb_transport.make({});

// our destination
const dweet_transport = require("../transporter")
const dweet_transporter = dweet_transport.make();

// connect
dweet_transporter.monitor(iotdb_transporter);

Readme

Keywords

none

Package Sidebar

Install

npm i iotdb-transport-dweet

Homepage

homestar.io

Weekly Downloads

1

Version

3.0.1

License

Apache-2.0

Last publish

Collaborators

  • dpjanes