Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Wip/mqtt/init - tracking mqtt experiments #190
Conversation
|
I can see some messages being delivered from some past experiment, interesting. |
|
This should work with @ktind's mqtt uploader with the download model to at least debug the thing (it won't record anything yet, but should be able to receive the messages and print them). |
|
Really want to arrange the last will and testament message, the on connect message, and a message for usb connection status. The combination will allow us to put a real-time widget on the web app with the connection status. |
bewest
added the
ready
label
Nov 22, 2014
|
See also #272 |
|
bewest
added in progress and removed ready
labels
Dec 5, 2014
bewest
was assigned
by jasoncalabrese
Dec 14, 2014
ktind
and others
added some commits
Dec 26, 2014
coveralls
commented
Feb 26, 2015
jasoncalabrese
commented on an outdated diff
Mar 9, 2015
coveralls
commented
Mar 15, 2015
jasoncalabrese
and others
added some commits
Mar 18, 2015
|
The rebasing includes re-plays on top of |
coveralls
commented
Mar 18, 2015
|
Changes Unknown when pulling 82032f4 on wip/mqtt/init into * on dev*. |
jasoncalabrese
commented on an outdated diff
Mar 18, 2015
jasoncalabrese
commented on the diff
Mar 18, 2015
| + console.log("WRITE TO MONGO"); | ||
| + var download_timestamp = moment(packet.download_timestamp); | ||
| + if (packet.download_status === 0) { | ||
| + iter_mqtt_record_stream(packet, 'sgv', toSGV) | ||
| + .pipe(core.persist(function empty(err, result) { | ||
| + console.log("DONE WRITING SGV TO MONGO", err, result.length); | ||
| + })); | ||
| + iter_mqtt_record_stream(packet, 'cal', toCal) | ||
| + .pipe(core.persist(function empty(err, result) { | ||
| + console.log("DONE WRITING Cal TO MONGO", err, result.length); | ||
| + })); | ||
| + iter_mqtt_record_stream(packet, 'meter', toMeter) | ||
| + .pipe(core.persist(function empty(err, result) { | ||
| + console.log("DONE WRITING Meter TO MONGO", err, result.length); | ||
| + })); | ||
| + iter_mqtt_record_stream(packet, 'sensor', toSensor) |
|
|
jasoncalabrese
commented on an outdated diff
Mar 18, 2015
coveralls
commented
Mar 18, 2015
|
Changes Unknown when pulling 0cdd3c0 on wip/mqtt/init into * on dev*. |
coveralls
commented
Mar 18, 2015
|
Changes Unknown when pulling 0cdd3c0 on wip/mqtt/init into * on dev*. |
coveralls
commented
Mar 18, 2015
|
Changes Unknown when pulling d185010 on wip/mqtt/init into * on dev*. |
coveralls
commented
Mar 18, 2015
|
Changes Unknown when pulling d185010 on wip/mqtt/init into * on dev*. |
coveralls
commented
Mar 18, 2015
|
Changes Unknown when pulling d185010 on wip/mqtt/init into * on dev*. |
jasoncalabrese
added this to the
enchilada
milestone
Mar 18, 2015
jasoncalabrese
added a commit
that referenced
this pull request
Mar 19, 2015
|
|
jasoncalabrese |
d0d708c
|
jasoncalabrese
merged commit d0d708c
into dev
Mar 19, 2015
jasoncalabrese
removed the
in progress
label
Mar 19, 2015
jasoncalabrese
deleted the
wip/mqtt/init branch
Mar 19, 2015
|
W00t exciting
|
bewest commentedOct 1, 2014
The corresponding uploader changes (there are a few actually)
The protobuf model:
https://github.com/nightscout/android-uploader/blob/master/core/src/main/java/com/nightscout/core/model/Download.proto
Feel free to close/ignore if this gets in the way of things, I'll move it to my personal fork if it becomes a distraction.