diff --git a/CHANGELOG.md b/CHANGELOG.md index 736664a71..6aedcca29 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,6 +19,7 @@ All notable changes to this project will be documented in this file. - Extension Manager exception when `OtaUrl` is not defined or invalid - HASPmota exception in `cpicker` (colorwheel) (#24010) - Extension Manager Light Theme support and Extensions input field control +- InfluxDb receives IPAddress as a value regression from v15.0.1.3 (#24031) ### Removed diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 34aeeac2f..996a01b18 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -124,6 +124,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm - Refactored library UDisplay [#24007](https://github.com/arendst/Tasmota/issues/24007) ### Fixed +- InfluxDb receives IPAddress as a value regression from v15.0.1.3 [#24031](https://github.com/arendst/Tasmota/issues/24031) - TLS fix ECDSA and add `SetOption165 1` to enable ECDSA in addition to RSA [#24000](https://github.com/arendst/Tasmota/issues/24000) - Extension Manager exception when `OtaUrl` is not defined or invalid - Extension Manager Light Theme support and Extensions input field control diff --git a/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino b/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino index fa02ff840..ee64631f2 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_59_influxdb.ino @@ -292,6 +292,9 @@ char* InfluxDbNumber(char* alternative, JsonParserToken value) { char* source = (char*)value.getStr(); // Test for valid numeric data ('-.0123456789') or ON, OFF etc. as defined in kOptions if (source != nullptr) { + if (ChrCount(source, ".") > 1) { // IPAddress like 192.168.2.123 + return nullptr; + } char* out = source; // Convert special text as found in kOptions to a number // Like "OFF" -> 0, "ON" -> 1, "TOGGLE" -> 2