Unfortunately Phant, our data-streaming service, is no longer in service and has been discontinued. The system has reached capacity and, like a less-adventurous Cassini, has plunged conclusively into a fiery and permanent retirement. There are several other maker-friendly, data-streaming services and/or IoT platforms available as alternatives. The three we recommend are Blynk, ThingSpeak, and Cayenne. You can read our blog post on the topic for an overview and helpful links for each platform.
All secondary SparkFun repositories related to Phant have been archived and pulled in as a subtree in the main Phant GitHub repository.
lightweight module for sending JSON data to phant via MQTT
Install the module with: npm install phant-input-mqtt
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using Grunt.
Copyright (c) 2014 SparkFun Electronics. Licensed under the GPL v3 license.