Tutorial

How to integrate it?

Step 0: Locate sign up

On the main page, you can locate the "Sign up" link.


Step 1: Sign up

If you follow the "Sign up" link, you can sign up to our service with your email address and your password.


Step 2: Check your email address

After a successful registration we will send to you the verification email. Please check your email address.


Step 3: Activate your account

You will receive an email from us with the activation URL. If you do not receive this email within a few minutes of signing up, please check your spam folder.


Step 4: Log in to the Site

After the activation you can log in into the site. Also, you can use the "Login" button on the top-right of the page.


Step 5: List of Your Nodes

After log in, you can see the list of your nodes (it is empty now), a node corresponds to an IoT sensor. So that, you can create your first node, for example the name of the node is "My precious" and the description "WeMOS D1 mini".


Step 6: List of Your Nodes

After the node addition, you can see your new node in the list. You can select it by the "name" of the node.


Step 7: List of Fields

Every node has fields, a field corresponds to a measurement, like temperature or humidity. For example, you can add a new 'battery' field. You can select it by follow the link of the name of the field.


Step 8: The Measurement Page

On the measurement page you can see four charts: a daily, a weekly, a monthly and a yearly values of your measurement.

Also, you can see the URL: https://api.iotguru.live/measurement/create/sTs5N5dlTmhbPT-ISHZApQ/battery/3241

You can use this URL to send measurement us.


Step 9: Send the Battery Status

For example, you can send the battery level of the WeMOS D1 mini in mV.

#include <ESP8266HTTPClient.h>
#include <ESP8266WiFi.h>

ADC_MODE(ADC_VCC);

void setup() {
    Serial.begin(115200);
    Serial.setTimeout(2000);

    WiFi.mode(WIFI_STA);
    WiFi.begin("ssid", "password");

    int counter = 10000;
    while (WiFi.status() != WL_CONNECTED && counter > 0) {
        delay(1); counter--;
        if (counter % 100 == 0) {
            Serial.print(".");
        }
    }
    Serial.println("Connected...");
}

void loop()
{
    String vcc = String(ESP.getVcc());

    HTTPClient http;
    http.begin("http://api.iotguru.live/measurement/create/sTs5N5dlTmhbPT-ISHZApQ/battery/" + vcc);
    Serial.println("Result code: " + String(http.GET()));
    http.end();
    
    delay(10000);
}

Step 10: Its Working! :)

The IoT-Guru-Live will be aggregates the measurements and displays them on the charts.