Hackster is hosting Hackster Holidays, Ep. 6: Livestream & Giveaway Drawing. Watch previous episodes or stream live on Monday!Stream Hackster Holidays, Ep. 6 on Monday!
Guillermo Perez Guillen
Published © MIT

Aquarium Monitoring with AWS-Seeed-Soracom

If our pollution adversely affects the environment, then, it's our responsibility to protect the environment, humans, plants, and animals.

AdvancedFull instructions provided3 days1,300

Things used in this project

Story

Read more

Schematics

Schematic diagram

Schematic diagram that show us the interconnection between Seeed hardware and the systems of SORACOM and Amazon Web Services

Code

mqtt_aquarium.ino

Arduino
This sketch must be uploaded to the Wio LTE board. I used Arduino IDE version 1.8.9
Reference: Step 4. Seeed’s software
// AUTHOR: GUILLERMO ALBERTO PEREZ GUILLEN
// MAY 19, 2019
// AQUARIUM PROJECT
// DHT11 SENSOR, DETECTS HUMIDITY AND TEMPERATURE
// SRF04 SENSOR, DETECTS THE DISTANCE OF THE WATER
// ADXL345 SENSOR, DETECTS VIBRATIONS OF THE AQUARIUS

#include <WioLTEforArduino.h>   // DHT 11 & SRF04 & ADXL345 sensors https://github.com/SeeedDocument/Wio_LTE
#include "DHT.h"   // DHT 11 sensor https://github.com/Seeed-Studio/Grove_Temperature_And_Humidity_Sensor/
#include <Ultrasonic.h> // SRF04 sensor https://github.com/Seeed-Studio/Grove_Ultrasonic_Ranger
#include <ADXL345.h>  // ADXL345 sensor https://github.com/Seeed-Studio/Accelerometer_ADXL345
#include <WioLTEClient.h>  // MQTT
#include <PubSubClient.h>  // MQTT https://github.com/SeeedJP/pubsubclient
#include <stdio.h>  // MQTT


#define ULTRASONIC_PIN  (WIOLTE_D38) // SRF04 sensor
#define DHTPIN  (WIOLTE_D20)   // DHT 11 sensor

#define DHTTYPE DHT11   // Using DHT 11 sensor

WioLTE Wio;   // DHT 11 sensor & ADXL345 sensor & MQTT
DHT dht(DHTPIN, DHTTYPE);   // DHT 11 sensor

Ultrasonic UltrasonicRanger(ULTRASONIC_PIN); // SRF04 sensor
ADXL345 Accel;  // ADXL345 sensor

#define APN               "soracom.io"  // MQTT
#define USERNAME          "sora"  // MQTT
#define PASSWORD          "sora"  // MQTT

#define MQTT_SERVER_HOST  "beam.soracom.io"  // MQTT
#define MQTT_SERVER_PORT  (1883)  // MQTT

#define ID                "WioLTE"  // MQTT
#define OUT_TOPIC         "outTopic"  // MQTT
#define IN_TOPIC          "inTopic"  // MQTT

#define INTERVAL          (60000)  // MQTT

WioLTEClient WioClient(&Wio);  // MQTT
PubSubClient MqttClient;  // MQTT
void callback(char* topic, byte* payload, unsigned int length) {  // MQTT
  SerialUSB.print("Subscribe:");  // MQTT
  for (int i = 0; i < length; i++) SerialUSB.print((char)payload[i]);  // MQTT
  SerialUSB.println("");  // MQTT
}

void setup()
{
  delay(200);
  Wio.Init();   // DHT 11 & ADXL345 sensors & MQTT
  Wio.PowerSupplyGrove(true);   // DHT 11 & ADXL345 sensors
  Wio.PowerSupplyLTE(true);  // MQTT   
  delay(50);
  dht.begin();   // DHT 11 sensor
  Accel.powerOn();  // ADXL345 sensor

//  SerialUSB.println("### Turn on or reset.");
  if (!Wio.TurnOnOrReset()) {  // MQTT 
    SerialUSB.println("### ERROR! ###");  // MQTT 
    return;
  }

//  SerialUSB.println("### Connecting to \""APN"\".");
  if (!Wio.Activate(APN, USERNAME, PASSWORD)) {  // MQTT 
    SerialUSB.println("### ERROR! ###");  // MQTT 
    return;
  }

//  SerialUSB.println("### Connecting to MQTT server \""MQTT_SERVER_HOST"\"");
  MqttClient.setServer(MQTT_SERVER_HOST, MQTT_SERVER_PORT);  // MQTT 
  MqttClient.setCallback(callback);  // MQTT 
  MqttClient.setClient(WioClient);  // MQTT 
  if (!MqttClient.connect(ID)) {  // MQTT 
    SerialUSB.println("### ERROR! ###");  // MQTT 
    return;
  }
  MqttClient.subscribe(IN_TOPIC);  // MQTT 

  SerialUSB.println("### Setup completed.");  // MQTT   
}

aquarium_graphic.py

Python
This code must be run on Jupiter. I used Python version 2.7
Reference: Step 8. Amazon SageMaker
# AUTHOR: GUILLERMO ALBERTO PEREZ GUILLEN
# MAY 19, 2019
# AQUARIUM PROJECT

import boto3
import pandas as pd
from matplotlib import pyplot as plt

# create IoT Analytics client
client = boto3.client('iotanalytics')

#after running the code portion above run the coe below with your own dataset


dataset = "analy31b_dataset"
dataset_url = client.get_dataset_content(datasetName = dataset)['entries'][0]['dataURI']

# start working with the data

df = pd.read_csv(dataset_url)
#df.timestamp = pd.to_datetime(pd.to_numeric(df.timestamp), unit='ms')
#df.set_index(df.timestamp, inplace=True)
#df.sort_values('timestamp', inplace=True)

fig, ax = plt.subplots()
df.temperature.plot(legend=True)
df.humidity.plot(legend=True)
df.distance.plot(legend=True)
df.acceleration.plot(legend=True)
plt.show()

outTopic.json

JSON
Data obtained when we did the test.
Reference: Step 7. AWS IoT Analytics
Reference: Step 9. Test and Analysis
{
  "messages": [
    {
      "format": "json",
      "payload": {
        "uptime": 78,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393434107,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 80,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 31
      },
      "qos": 0,
      "timestamp": 1558393436186,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 83,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393438745,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 85,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393441305,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 88,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393443831,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 90,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393446363,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 93,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393448901,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 95,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393451541,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 98,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393453977,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 100,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393456515,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 103,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393459056,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 105,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393461598,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 108,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393464134,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 111,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393466685,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 113,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393469219,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 116,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393471758,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 118,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393474296,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 121,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393476829,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 123,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393479409,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 126,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393481914,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 128,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393484456,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 131,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393487000,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 133,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393489535,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 136,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393492076,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 139,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393494612,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 141,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393497163,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 144,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393499694,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 146,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393502224,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 149,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393504766,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 151,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393507309,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 154,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393509847,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 156,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393512388,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 159,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393514933,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 161,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393517457,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 164,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393520014,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 166,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393522543,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 169,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393525083,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 172,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393527624,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 174,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393530162,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 177,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393532707,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 179,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393535261,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 182,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393538043,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 184,
        "temperature": 25,
        "humidity": 63,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393540342,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 187,
        "temperature": 25,
        "humidity": 63,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393542864,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 189,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393545431,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 192,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393547945,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 194,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 28
      },
      "qos": 0,
      "timestamp": 1558393550488,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 197,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393553025,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 200,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 28
      },
      "qos": 0,
      "timestamp": 1558393555779,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 202,
        "temperature": 24,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393558106,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 205,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393560666,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 207,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393563174,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 210,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 28
      },
      "qos": 0,
      "timestamp": 1558393565733,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 212,
        "temperature": 25,
        "humidity": 62,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393568257,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 215,
        "temperature": 24,
        "humidity": 61,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393570797,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 217,
        "temperature": 25,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393573332,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 220,
        "temperature": 24,
        "humidity": 61,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393575872,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 222,
        "temperature": 24,
        "humidity": 61,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393578409,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 225,
        "temperature": 24,
        "humidity": 60,
        "distance": 24,
        "acceleration": 25
      },
      "qos": 0,
      "timestamp": 1558393580956,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 227,
        "temperature": 24,
        "humidity": 60,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393583500,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 230,
        "temperature": 24,
        "humidity": 59,
        "distance": 24,
        "acceleration": 28
      },
      "qos": 0,
      "timestamp": 1558393586034,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 233,
        "temperature": 24,
        "humidity": 59,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393588569,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 235,
        "temperature": 24,
        "humidity": 59,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393591113,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 238,
        "temperature": 24,
        "humidity": 58,
        "distance": 24,
        "acceleration": 28
      },
      "qos": 0,
      "timestamp": 1558393593674,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 240,
        "temperature": 24,
        "humidity": 58,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393596192,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 243,
        "temperature": 24,
        "humidity": 58,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393598734,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 245,
        "temperature": 24,
        "humidity": 57,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393601271,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 248,
        "temperature": 24,
        "humidity": 57,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393603825,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 250,
        "temperature": 24,
        "humidity": 56,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393606353,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 253,
        "temperature": 24,
        "humidity": 56,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393608876,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 255,
        "temperature": 24,
        "humidity": 56,
        "distance": 24,
        "acceleration": 28
      },
      "qos": 0,
      "timestamp": 1558393611432,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 258,
        "temperature": 24,
        "humidity": 56,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393613970,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 261,
        "temperature": 24,
        "humidity": 56,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393616499,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 263,
        "temperature": 24,
        "humidity": 55,
        "distance": 24,
        "acceleration": 27
      },
      "qos": 0,
      "timestamp": 1558393619032,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 266,
        "temperature": 24,
        "humidity": 55,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393621580,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 268,
        "temperature": 24,
        "humidity": 55,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
      "timestamp": 1558393624132,
      "topic": "outTopic"
    },
    {
      "format": "json",
      "payload": {
        "uptime": 271,
        "temperature": 24,
        "humidity": 55,
        "distance": 24,
        "acceleration": 26
      },
      "qos": 0,
...

This file has been truncated, please download it to see its full contents.

Credits

Guillermo Perez Guillen

Guillermo Perez Guillen

57 projects • 63 followers
Electronics and Communications Engineer (ECE) & Renewable Energy: 14 prizes in Hackster / Hackaday Prize Finalist 2021-22-23

Comments