How to access API

After a months trial and error I stil cannot manage to get data from following API:

My code is the following, will anyone on here give me some guidance? I’ve done my share of searching but cannot solve this one myself.

#include <SPI.h>
#include <Ethernet.h>

// Enter a MAC address for your controller below.
// Newer Ethernet shields have a MAC address printed on a sticker on the shield
byte mac[] = {0x90,0xA2,0xDA,0x0D,0x40,0x63};
// if you don't want to use DNS (and reduce your sketch size)
// use the numeric IP instead of the name for the server:
IPAddress server(188,65,117,85);  // numeric IP for Google (no DNS)
//char server[] = "";    // name address for Google (using DNS)

// Set the static IP address to use if the DHCP fails to assign
IPAddress ip(192,168,0,177);

// Initialize the Ethernet client library
// with the IP address and port of the server 
// that you want to connect to (port 80 is default for HTTP):
EthernetClient client;

void setup() {
 // Open serial communications and wait for port to open:
   while (!Serial) {
    ; // wait for serial port to connect. Needed for Leonardo only

  // start the Ethernet connection:
  if (Ethernet.begin(mac) == 0) {
    Serial.println("Failed to configure Ethernet using DHCP");
    // no point in carrying on, so do nothing forevermore:
    // try to congifure using IP address instead of DHCP:
    Ethernet.begin(mac, ip);
  // give the Ethernet shield a second to initialize:

  // if you get a connection, report back via serial:
  if (client.connect(server, 443)) {
    // Make a HTTP request:
    client.println("GET /v1/devices/10252/exps? HTTP/1.1");
    client.println("Connection: close");
  else {
    // kf you didn't get a connection to the server:
    Serial.println("connection failed");

void loop()
  // if there are incoming bytes available 
  // from the server, read them and print them:
  if (client.available()) {
    char c =;

  // if the server's disconnected, stop the client:
  if (!client.connected()) {

    // do nothing forevermore:

With the code I get following monitor reply:

HTTP/1.1 200 OK
Date: Fri, 27 Dec 2013 18:13:27 GMT
Server: Apache
Set-Cookie: frontend=5baa78494cecf3bd6575b17794fd09e6; expires=Tue, 31-Dec-2013 22:13:30 GMT; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Set-Cookie: SimpleSAMLSessionID=ebd57d305ad6b08d83598edbbc59cfee; path=/; httponly
Vary: Accept-Encoding,User-Agent
Content-Length: 4058
Connection: close
Content-Type: text/html; charset=UTF-8

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>seneye aquarium water  testing devices</title>
<meta name="description" content="Protect your fish with a seneye monitor. Understanding what is happening inside your aquarium is vital to ensuring that the aquatic life remains healthy. This revolutionary water monitoring system allows you to continuously track the changes in the water parameters alerting you to the problems  before they affect the fish." />
<meta name="keywords" content="seneye, aquarium water testing, pond water monitor, aquatic sensor, ammonia, ph, fish tank, aquarium, aquarium supplies" />
<meta name="robots" content="INDEX,FOLLOW" />
<link rel="icon" href="" type="image/x-icon" />
<link rel="shortcut icon" href="" type="image/x-icon" />
<!--[if lt IE 7]>
<script type="text/javascript">
    var BLANK_URL = '';
    var BLANK_IMG = '';
<!-- luca --><link rel="stylesheet" type="text/css" href="" media="all" />
<script type="text/javascript">var Translator = new Translate({"Please use only letters (a-z or A-Z), numbers (0-9) or underscore(_) in this field, first character should be a letter.":"Please use only letters (a-z or A-Z), numbers (0-9) or underscores (_) in this field, first character must be a letter."});</script></head>
<body class=" restapi-cms-index-index">
<div class="wrapper">
        <div class="page">
        <div class="header-container">
    <div class="header">
          <h1 class="logo"><a href="" title="seneye">seneye</a></h1>

        <div class="main-container col1-layout">
            <div class="main">
                                <div class="col-main">
                                        <table class="views-table cols-2 api-docs">
		<a id="devices"></a>
		<strong>Seneye Devices</strong>
		<p>Provide information of Seneye Devices - status and experiment</p>
<th class="views-field views-field-title">Resource </th>
<th class="views-field views-field-body"> Description </th>
		<td><a href="">GET devices</a></td>
		<td>Returns the list of customer devices.</td>
		<td><a href="">GET devices/:id</a></td>
		<td>Returns the common informations of the device</td>
		<td><a href="">GET devices/:id/state</a></td>
		<td>Returns the state of the device</td>
		<td><a href="">GET devices/:id/exps</a></td>
		<td>Returns experiments data of the device</td>

<table class="views-table cols-2 api-docs">
		<a id="advices"></a>
		<strong>Seneye Advices</strong>
		<p>Get the advice and suggestion from Seneye Team</p>
<th class="views-field views-field-title">Resource </th>
<th class="views-field views-field-body"> Description </th>
		<td><a href="">GET devices/:id/advices/:adviceID</a></td>
		<td>*DRAFT* Return the advice based on the device id</td>

<div class="footer-container">
    <div class="footer">
                <address>Copyright &copy; 2011 seneye. All rights reserved. </address>


instead of:


Why is that?
To me it seems as the monitor reply is fetched from

The ethernet library does not support SSL (https). Change port 443 to port 80.

  if (client.connect(server, 80)) {

Oh my, assumed that port 80 would not be suitable as it’s https. Well, all finally works. A big thank you!

Hi, Noob here. Just purchased the Seneye Home along with the arduino Ethernet shield. I want to be able to display the readings of ph, Nh3, temp etc on the serial monitor. Can you please advise me on the hardware setup as well as the code to do so.

If im not mistake, I would be:

Plugging an Ethernet cable into my router with the free end going into the Ethernet shield on the arduino. Then how can I get access to the info via my email account to display readings I need on the serial monitor of my arduino?

Thanks, Ryan