From 6a88ba3405cd3f2a1f65f35ca5e36f5c5ad2837f Mon Sep 17 00:00:00 2001 From: Jordan ERNST Date: Mon, 7 Dec 2020 16:21:40 +0100 Subject: [PATCH] T9602 compatibility --- includes/helpers.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/includes/helpers.php b/includes/helpers.php index 56a4304..da30429 100644 --- a/includes/helpers.php +++ b/includes/helpers.php @@ -183,6 +183,10 @@ function parseReading($type, $value = null) { case "humidity": return json_decode($value); break; + case "t9602": + // {"temperature": 66.5, "humidity": 59.9} + return json_decode($value); + break; case "bme680": // {"temperature": 66.5, "humidity": 59.9, "pressure": 994.01, "gas": 36187, "altitude": 161.457} return json_decode($value);