From d804c22567afa6a1d1f21f3cf2609ac4def89e6c Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Tue, 15 Oct 2024 07:27:29 +0200 Subject: [PATCH 1/3] Update package.json --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f67890b..1274b26 100644 --- a/package.json +++ b/package.json @@ -29,7 +29,7 @@ "dependencies": { "async": "3.2.6", "axios": "1.7.7", - "express": "4.21.0", + "express": "5.0.1", "fakegato-history": "NebzHB/fakegato-history#master" }, "devDependencies": { From ffaae3c254f34a8efc04b77869286ba99be4b796 Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:44:09 +0100 Subject: [PATCH 2/3] fix WATER_LEAK --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 130d756..572ebfd 100755 --- a/index.js +++ b/index.js @@ -4019,7 +4019,7 @@ JeedomPlatform.prototype.getAccessoryValue = function(characteristic, service, i break; case Characteristic.LeakDetected.UUID : for (const cmd of cmdList) { - if (cmd.generic_type == 'FLOOD' && cmd.id == service.cmd_id) { + if ((cmd.generic_type == 'FLOOD' || cmd.generic_type == 'WATER_LEAK') && cmd.id == service.cmd_id) { // returnValue = parseInt(service.invertBinary)==0 ? toBool(cmd.currentValue) : !toBool(cmd.currentValue); // invertBinary ? // no need to invert returnValue = toBool(cmd.currentValue); if(returnValue === false) { From 616d7ca8adb3453734b5e007fc2241253d5d180f Mon Sep 17 00:00:00 2001 From: Nebz <28622481+NebzHB@users.noreply.github.com> Date: Fri, 22 Nov 2024 17:47:44 +0100 Subject: [PATCH 3/3] Update package.json --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1274b26..1b69977 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@nebz/homebridge-jeedom", - "version": "v1.8.4", - "cust_serial": "0005", + "version": "v1.8.5", + "cust_serial": "0001", "description": "Homebridge plugin for Jeedom ", "main": "index.js", "private":true,