Skip to content
SensorTag MQTT
JavaScript
Branch: master
Clone or download
Latest commit c768640 Jun 8, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.eslintrc.yml Changed the comments Jun 8, 2018
.gitignore Changed the comments Jun 8, 2018
README.md Update README.md May 10, 2018
analysis.js Changed the comments Jun 8, 2018
package-lock.json Changed the comments Jun 8, 2018
package.json Changed the comments Jun 8, 2018

README.md

What this does

Receive a MQTT message from the Sensor Tag and converts it to data, inserting it into the devide bucket

How to use on Tago

Do your own modifications if you want.
Upload to Tago analysis, in the admin website.
Add the environment variable device_token with the device token of your choice. Configure the your sensor tag with MQTT service from tago using our documentation.

How to run the analysis from your machine

Make sure you have npm and node installed in your machine.
Add the environment variable device_token with the device token of your choice, to the analysis configuration, in the admin website.
Configure the your sensor tag with MQTT service from tago using our documentation. Open the analysis.js, change MY-ANALYSIS-TOKEN-HERE line for your analysis token.
Opens the terminal and run:

npm install
node .

You can’t perform that action at this time.