mm-services-flukso

0.0.4 • Public • Published

mm-services-flukso

Flukso Service for MicroMinion platform

CircleCI

Initialization

var MicroMinionPlatform = require('mm-platform')
var Flukso = require('mm-services-flukso')
 
var platform = new MicroMinionPlatform()
 
var flukso = new Flukso({
  platform: platform,
  logger: platform._log
})

Messaging API

Published messages

flukso.sensor.

Publishes sensor values.

platform.messaging.on('self.flukso.*', function(topic, sender, data) {
  console.log(data.value)
  console.log(data.unit)
  console.log(data.sensor)
})

Readme

Keywords

Package Sidebar

Install

npm i mm-services-flukso

Weekly Downloads

2

Version

0.0.4

License

MIT

Last publish

Collaborators

  • nicoj
  • tdelaet