From: tokyohac...@googlegroups.com [mailto:tokyohac...@googlegroups.com] On Behalf Of mikele
Sent: Thursday, May 17, 2012 2:05 PM
To: tokyohac...@googlegroups.com
Subject: [THS:17624] Re: HTTP POST to google spreadsheet
--
You received this message because you are subscribed to the Google Groups "TokyoHackerSpace" group.
To view this discussion on the web visit https://groups.google.com/d/msg/tokyohackerspace/-/cnTa3tuNqaIJ.
From: tokyohac...@googlegroups.com [mailto:tokyohac...@googlegroups.com] On Behalf Of Mikele
Sent: Thursday, May 17, 2012 2:34 PM
To: tokyohac...@googlegroups.com
Subject: Re: [THS:17625] Re: HTTP POST to google spreadsheet
> >> From: tokyohackerspace@googlegroups.com
> >> [mailto:tokyohackerspace@googlegroups.com] On Behalf Of Mikele
> >> Sent: Thursday, May 17, 2012 2:34 PM
> >> To: tokyohackerspace@googlegroups.com
> >> Subject: Re: [THS:17625] Re: HTTP POST to google spreadsheet
>
> >> there is plenty of js library to handle data and output charts, I linked
> >> the one that I liked better for the look. Free to use for non commercial
> >> purpose.
>
> >> uploading to a google spreadsheet make sense for a quick and dirty test
> >> and if you need an easy interface to edit the data afterwards.
>
> >> tonight I can try to put together a couple of scripts and a page on my
> >> server for fun.
> >> I'll use the data in the spreadhseet to make a CVS, I will write a script
> >> to parse that and POSTs to a webpage that renders the graph.
> >> My challenge will be having the graph page to 'listen' and refresh, that
> >> is something I had to work on anyway, better sooner than later.
> >> I bet it won't take me longer than a bottle of wine.
>
> >> On Thu, May 17, 2012 at 2:21 PM, Akiba <ch...@freaklabs.org> wrote:
>
> >>> Nice. The google hack is just a way to upload data if you don't want to
> >>> maintain your own server. It's also possible to put together a simple api
> >>> and use PHP to store the data into a db. Didnt know about the highcharts
> >>> thing. Gonna have to check it out sometime.
>
> >>> Akiba
> >>> FreakLabs Open Source Wireless
> >>> Web:http://www.freaklabs.org
> >>> Shop:http://www.freaklabsstore.com
> >>> Twitter:http://www.twitter.com/freaklabs
>
> >>> ________________________________
> >>> From: tokyohackerspace@googlegroups.com
> >>> [mailto:tokyohackerspace@googlegroups.com] On Behalf Of mikele
> >>> Sent: Thursday, May 17, 2012 2:05 PM
> >>> To: tokyohackerspace@googlegroups.com
> >>> To post to this group, send email to tokyohackerspace@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> tokyohackerspace+unsubscribe@googlegroups.com.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/tokyohackerspace?hl=en.
>
> >>> --
> >>> You received this message because you are subscribed to the Google Groups
> >>> "TokyoHackerSpace" group.
> >>> To post to this group, send email to tokyohackerspace@googlegroups.com.
> >>> To unsubscribe from this group, send email to
> >>> tokyohackerspace+unsubscribe@googlegroups.com.
> >>> For more options, visit this group at
> >>>http://groups.google.com/group/tokyohackerspace?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "TokyoHackerSpace" group.
> >> To post to this group, send email to tokyohackerspace@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> tokyohackerspace+unsubscribe@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/tokyohackerspace?hl=en.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "TokyoHackerSpace" group.
> >> To post to this group, send email to tokyohackerspace@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> tokyohackerspace+unsubscribe@googlegroups.com.
> >> For more options, visit this group at
> >>http://groups.google.com/group/tokyohackerspace?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "TokyoHackerSpace" group.
> > To post to this group, send email to tokyohackerspace@googlegroups.com.
> > To unsubscribe from this group, send email to
> > tokyohackerspace+unsubscribe@googlegroups.com.
From: tokyohac...@googlegroups.com [mailto:tokyohac...@googlegroups.com] On Behalf Of mikele
Sent: Friday, May 18, 2012 10:52 PM
To: tokyohac...@googlegroups.com
Subject: [THS:17657] Re: HTTP POST to google spreadsheet
To view this discussion on the web visit https://groups.google.com/d/msg/tokyohackerspace/-/f3Kg4UQ_i2YJ.
To post to this group, send email to tokyohac...@googlegroups.com.
To unsubscribe from this group, send email to tokyohackerspa...@googlegroups.com.
Kalin.
--
You received this message because you are subscribed to the Google Groups "TokyoHackerSpace" group.
From: tokyohac...@googlegroups.com [mailto:tokyohac...@googlegroups.com] On Behalf Of Mikele
Sent: Saturday, May 19, 2012 12:06 PM
To: tokyohac...@googlegroups.com
Subject: Re: [THS:17664] Re: HTTP POST to google spreadsheet
Sent: Saturday, May 19, 2012 12:50 PM
To: tokyohac...@googlegroups.com
Subject: Re: [THS:17666] Re: HTTP POST to google spreadsheet
Well the idea is that you keep any kind of post-processing of the measurement data out. Its not related to any specific project.
I like MREs project (as usual), but it make me a little bit wonder about the used toolchain. Using a 8bit uC to get the data, feed this to a local PC, crunch numbers to make them ready for upload to the cloud, use a billion dollar cloud framework to get the data online and visualize them.
So first of all, I asked myself would it be possible to reduce this toolchain?!
The other problem I see with the present solution, you need to change the toolchain at several different points (e.g., in the arduino, at the PC, and in the google cloud), if the type of your recorded data change. Sure a server machine is more then capable to generate the graph but you would need to tell it how to do it. What is the exact input, what is the max value, what the min value, is an averaging necessary, should there be an interpolation for missing data points, how do deal with obvious measurement errors? Foremost, you want to convert the AD-value (e.g. 0-255 for 8bit) to the physical unit representation (e.g. temperature in degC). If you operate your own server machine, you can get along with sending metadata too. But using a free service most likely would not allow this kind of detailed settings.
On the other hand, if the uC can generate a svg graph with the current measurement data, you could use many different ways to get it online.
A dedicated webserver on the uC would be only one possibility. Other would be uploading to different web-services (Dropbox & Co, Flicker, Google Docs, etc.), emailing, FTP, scp, etc. All this methods need to have no idea of what data they are actually showing and hence make it totally independent from the used services. Hence one and the same library for a uC which is capable to generate graphs could be used for many different measurement/visualisation projects. Since you know what kind of data your sensor node is going to get, you can make sure the graph is generated on the uC with the correct parameters and that would be the only place where you need to take care of it.
A nice example would be Akibas radiation counter boards. Instead of uploading to pachube, there could be a minimal web-server running and a html page with a refresh rate of e.g. 30s displays a dynamically generated SVG-based graph of the counter measurements. This would make it a stand-alone counter which allows you to have graphs, buttons and inputs in a web-mask format similar as we know from network routers; OS independent accessible from every computer within the network.
So my idea was not directly related against MREs goggle spreadsheet approach but simply my thoughts of how to get more stand-alone operated sensor nodes.
Totti
Kalin.