Better HN
topnewbestaskshowjobs
Log inSign up

uniontownlabs

14 karma · joined Jul 10, 2014 (12y ago) · 8 submissions

Submissions

comment 12y ago · link · parent

We currently push data via websockets when you are viewing a stream, and we will probably offer live TCP output soon. Feel free to file a bug here if you would like to see webhooks added: https://github.com/sparkfun/phant/issues

comment 12y ago · link · parent

all feeds (including the example) are rate limited on data.sparkfun.com. Here are the details: http://phant.io/docs/input/limit

comment 12y ago · link · parent

We are having the SSL/security discussion in a lot of places, but it would be great to focus the effort here if possible: https://github.com/sparkfun/phant/issues/49

Security on 8-bit microcontrollers is one of the hardest problems we've encountered when building this service, and I think it's going to take a lot of community support to help us figure out a good solution that works on most devices. Thanks for all of the input so far!

comment 12y ago · link · parent

Sounds good. I'll work on one once the traffic stabilizes.

comment 12y ago · link · parent

Thanks for the feedback. That's a planned feature: https://github.com/sparkfun/phant/issues/13

Right now the web UI is fairly simple, but we will start adding features soon.

comment 12y ago · link · parent

By default it writes metadata about the stream (title, description, etc) using a file based db called nedb, and it appends the actual logged data to CSV files that are split into 500k chunks. When the user requests their logged data, all of the files are stitched back together, converted into the requested format (JSON, CSV, etc), and streamed to the user’s web client.

For the production server, we are currently using MongoDb for metadata storage and the same CSV module for logged data storage.

comment 12y ago · link · parent

That's how much space is remaining: "100% (50.00 of 50 MB) remaining"

The bar along the top will turn red when the stream is getting close to full.