Search form


Blog

Example Devices

Raspberry PI

Material required:

  • Raspberry PI 2 + compatible Wifi adapter or Raspberry PI 3
  • Sensor DHT22 Module (Cheap Temp+Hum) or DS18b20 + module (Waterproof) or AM2305 (Industrial Temp+Hum)
  • Micro SD card 8GB (min)
  • Compatible power adapter

Programming Language: Python

Source code can be found on github: LoggingForest GitHub

Guide to make your device:

Based on Raspberry Pi 3, one DHT22

Arduino Ethernet

Material required:

  • Arduino UNO
  • Sensor DHT22 Module (Cheap Temp+Hum) or DS18b20 + module (Waterproof) or AM2305 (Industrial Temp+Hum)
  • Ethernet Shield
  • Compatible power adapter

Programming Language: C

Source code can be found on github: LoggingForest GitHub

Guide to make your device:

Based on DHT11 / DHT22 / AM2305

Arduino SIM900

Material required:

  • Arduino UNO
  • Sensor DHT22 Module (Cheap Temp+Hum) or DS18b20 + module (Waterproof) or AM2305 (Industrial Temp+Hum)
  • SIM900 Module
  • SIM Card with internet package
  • Compatible power adapter

Programming Language: C

Source code can be found on github: LoggingForest GitHub

Guide to make your device:

Based on DHT22 / AM2305

NodeMcu

Material required:

  • NodeMCU
  • Sensor DHT22 Module (Cheap Temp+Hum) or DS18b20 + module (Waterproof) or AM2305 (Industrial Temp+Hum)
  • Compatible power adapter

Programming Language: C, microPython

Source code can be found on github: LoggingForest GitHub

Guide to make your device:

Based on NodeMCU with microPython, one DHT22 / AM2305

microPyhton

Material required:

  • microPyhton compatible board (WeMos, Lolin, NodeMCU, PyBoard etc.)
  • Sensor DHT22 Module (Cheap Temp+Hum) or DS18b20 + module (Waterproof) or AM2305 (Industrial Temp+Hum)
  • Compatible power adapter

Programming Language: microPyhton

Source code can be found on github: LoggingForest GitHub

Guide to make your device:

Based on NodeMCU, one DHT22 / AM2305
Based on WeMos D1 mini, 2xDS18B20

Simple API

Client logging request

Device should act HTTP client and send standard GET HTTP request to a server

Parameters description

millis=long //execution time of device
device_key=string // provided by web interface
secret_key=string // provided by web interface
temp=decimal
hum=decimal
... // you can add your own parameters to request
                
                

Client receive results

As result from API device will receive semicolon separated parameters/commands

;RESULT=1;OUT1=5;OUT2=1;
Parameters description

In this example, result is 1, what means TRUE / SUCCESS, OUT1 is command for IoT device, depend on code in device, for example provide 5 volts on output 1 pin, or provide digital output 1/TRUE on output 2 pin what can trigger some relay or even analog device

We decide for this format because of extra simplicity in parse, what is very important in IoT world to keep devices code simple and clean.