InfluxDB Client For Arduino Versions Save

Simple library for sending measurements to an InfluxDB with a single network request. Supports ESP8266 and ESP32.

3.13.1

1 year ago

Fixes

  • 210 - Allow setting of options without previously set connection params
  • 211 - Fixed ESP32 builds using unofficial Arduino Cores

3.13.0

1 year ago

Features

202 - Added option to specify timestamp precision and do not send timestamp. Set using WriteOption::useServerTimestamptrue).

Fixes

200 - Backward compatible compilation. Solves marked 'override', but does not override errors.

3.12.2

1 year ago

Fixes

  • 198 - Effective passing Point by value

3.12.1

1 year ago

Fixes

  • 193 - Automatically adjusting point timestamp according to the setting of write precision.

3.12.0

2 years ago

Features

  • 185 - Added diagnostic server connection state getter bool InfluxDBClient::isConnected()

3.11.0

2 years ago

Features

  • 174,181 - All API methods with a string param allow specifying string by all basic types:
    • Arduino String class
    • C *char * or char[] or const *char * or const char[]
    • Flash string using F,PSTR or FPSTR macros

Fixes

  • 176 - Fixed compilation error in PlatformIO. Cleared all compiler warnings.

3.10.0

2 years ago

Features

  • 167 - Added InfluxDBClient::writeRecord(const char *record).
  • 167 - Added possibility to disable retrying by setting maxRetryAttempts to zero: client.setWriteOptions(WriteOptions().maxRetryAttempts(0));
  • 172 - Added directly streaming batch for write. It can be enabled by InfluxDBClient::setStreamWrite(bool enable = true). Writing by streaming lines of batch saves RAM as it sends data without allocating a buffer. On the other hand, this way of writing is about half times slower than the classic way, when allocating the buffer for writing the whole batch.
  • 172 - Allowing larger batch size, > 255.
  • 173 - Added Flux query parameters. Supported by InfluxDB Cloud only now.

3.9.0

2 years ago

Features

  • #147 - Updated InfluxDB 2 Cloud CA root certificate to ISRG Root X1.
    Current InfluxDB 2 Cloud CA root certificate DST Root CA X3 expires on September 30th 2021!
  • #157 - Added Buckets sub-client for managing buckets in InfluxDB 2.

Fixes

  • #150 - HTTPOptions::httpReadTimeout is also set as the connect timeout for HTTP connection on ESP32. It also works for HTTPS connection since ESP32 Arduino Core 2.0.0.
  • #156 - Correctly rounding writeBufferSize, when bufferSize/batchSize >= 256.
  • #162 - Fixed flushing of not full buffer after the flush timeout.

Documentation

  • #163 - More precise description of supported devices.

3.8.0

3 years ago

Features

  • #143 - InfluxDBClient::setInsecure now works also for ESP32. Requires Arduino ESP32 SDK 1.0.5 or higher

Fixes

  • #137 - Fixed parsing Flux response with unexpected annotations

Documentation

  • #134:
    • Added untrusted connection (skipping certificate validation) info to Readme
    • SecureWrite and SecureBatchWrite demos enhanced with example about using untrusted connection
    • Various fixes of typos

3.7.0

3 years ago

Features

Fixes

  • #129 - Updated InfluxDB 2 Cloud CA certificate to trust servers from all cloud providers (AWS, Azure, GCP)