Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 

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();

boolean check(const char* ota_version);

Firmware OTA update

boolean firmwareUpdate(const char* ota_version);

Loop (need to call in the loop)

boolean loop();

Send float value

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

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

About

The IoT Guru Arduino integration library

Resources

License

Code of conduct

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages