Skip to content
The IoT Guru Arduino integration library
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
examples
src
CODE_OF_CONDUCT.md
CONTRIBUTING.md
LICENSE
README.md
keywords.txt
library.json
library.properties

README.md

The IoT Guru Arduino library

Summary

This is an Arduino library for ESP8266/ESP32 to provide integration with The IoT Guru cloud services.

Examples

Constructors

IoTGuru(String userShortId, String deviceShortId, String deviceKey);

Methods

Set callback function

IoTGuru* setCallback( void (*callback)(const char*, const char*, const char*) );

Set check duration

IoTGuru* setCheckDuration(unsigned long checkDuration);

Set debug printer

IoTGuru* setDebugPrinter(HardwareSerial* debugPrinter);

Set network client

IoTGuru* setNetworkClient(Client* client);

Check in

boolean check();

Loop (need to call in the loop)

boolean loop();

Send float value

boolean sendHttpValue(String nodeShortId, String fieldName, float value);

boolean sendMqttValue(String nodeShortId, String fieldName, float value);

You can’t perform that action at this time.