WOW, ever heard about COSM

This is really very very cool. If you want to make some data public, se it graphs, make alarms and events, please have a look at COSM. The Tutorials on the site, uses CURL, but there are API's available in almost any high level language, including C# and JAVA. It is all about making data visible for a brader audience, and this site is made for that. I don't know the limits for data, but I find the concept a great inspiration. You can upload data in xml, csv or JSON. I made this small java extension (before I found the JAVA API) and it works. Be aware, you have to close the connection after every upload, so it is probably not the best solution for high resolution data, But COSM also have a solution for that, using pull instead of push.

private static void putToCosm( String timestamp, String value ){ 
        HttpURLConnection con; 
        OutputStreamWriter writer; 
        try { 
            con = (HttpURLConnection) new URL("http://api.cosm.com/v2/feeds/YOUR_ID_HERE/datastreams/datastream_id.csv").openConnection(); 
            con.setDoOutput(true); 
            con.setDoInput(true); 
            con.addRequestProperty("X-ApiKey","YOUR COSM KEY"); 
            con.setRequestMethod("PUT"); 
            writer = new OutputStreamWriter(con.getOutputStream());
            writer.write(value); 
            writer.flush(); 
            System.out.println( con.getResponseMessage() ); 
            writer.close(); 
            con.disconnect(); 

        } catch (MalformedURLException e) { 
            System.out.println( e.toString()); 
            //e.printStackTrace(); 
        } catch (IOException e) { 
            System.out.println( e.toString()); 
            //e.printStackTrace(); 
        } 
    }