From 65ea4d9004c9042c8b7b60f5cf86f9bb99b55575 Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Fri, 16 Aug 2024 00:20:03 +0200 Subject: [PATCH 1/5] bugfix trip channel naming Signed-off-by: Bernd Weymann --- .../src/main/resources/OH-INF/thing/trip-conv-group.xml | 2 +- .../src/main/resources/OH-INF/thing/trip-hybrid-group.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml index 3eab344bcfd3f..2de660073f29b 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-conv-group.xml @@ -13,7 +13,7 @@ - + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml index 78cd171e1097b..a7501cde2cbeb 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/trip-hybrid-group.xml @@ -15,7 +15,7 @@ - + From e97db1b5492008bb85912ea69c5ebf8b5bb84c9b Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Mon, 26 Aug 2024 16:05:57 +0200 Subject: [PATCH 2/5] update instructions Signed-off-by: Bernd Weymann --- .../resources/OH-INF/thing/thing-combustion.xml | 6 +++++- .../main/resources/OH-INF/thing/thing-hybrid.xml | 4 ++++ .../src/main/resources/update/instructions.xml | 16 ++++++++++++++++ 3 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml index e05ce90a9b748..977dd7af64264 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-combustion.xml @@ -20,12 +20,16 @@ - + + + 1 + + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml index 30abc16d1f9f8..e55fa8d1c07de 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/thing/thing-hybrid.xml @@ -27,6 +27,10 @@ + + 1 + + diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml new file mode 100644 index 0000000000000..35c23b2c3d0b8 --- /dev/null +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml @@ -0,0 +1,16 @@ + + + + + + + + mercedesme:consumption-conv-reset + + + + + + From 6799c308e888c4b488bd48a3dda66e9735fca850 Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Mon, 26 Aug 2024 19:08:29 +0200 Subject: [PATCH 3/5] update instructions combustion Signed-off-by: Bernd Weymann --- .../main/resources/update/instructions.xml | 38 +++++++++++++++++-- 1 file changed, 34 insertions(+), 4 deletions(-) diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml index 35c23b2c3d0b8..3a096ee4a0253 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml @@ -5,10 +5,40 @@ - - - mercedesme:consumption-conv-reset - + + mercedesme:consumption-conv-reset + + + + + + + + mercedesme:distance + + + mercedesme:driven-time + + + mercedesme:avg-speed + + + mercedesme:consumption-conv + + + mercedesme:distance-reset + + + mercedesme:driven-time-reset + + + mercedesme:avg-speed-reset + + + mercedesme:consumption-conv-reset + + + mercedesme:consumption-conv-unit From 6b2362d462c17d04b9036045d298bb9369b1e718 Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Tue, 27 Aug 2024 00:42:59 +0200 Subject: [PATCH 4/5] update-channel Signed-off-by: Bernd Weymann --- .../main/resources/update/instructions.xml | 40 +++++++++---------- 1 file changed, 20 insertions(+), 20 deletions(-) diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml index 3a096ee4a0253..744a25359b913 100644 --- a/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml +++ b/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml @@ -5,41 +5,41 @@ - + mercedesme:consumption-conv-reset - + - + mercedesme:distance - - + + mercedesme:driven-time - - + + mercedesme:avg-speed - - + + mercedesme:consumption-conv - - + + mercedesme:distance-reset - - + + mercedesme:driven-time-reset - - + + mercedesme:avg-speed-reset - - + + mercedesme:consumption-conv-reset - - + + mercedesme:consumption-conv-unit - + From aaeb8d3f2299e1cff960e0b775c81a7e60a53209 Mon Sep 17 00:00:00 2001 From: Bernd Weymann Date: Wed, 28 Aug 2024 19:22:29 +0200 Subject: [PATCH 5/5] update folder correction Signed-off-by: Bernd Weymann --- .../src/main/resources/{ => OH-INF}/update/instructions.xml | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename bundles/org.openhab.binding.mercedesme/src/main/resources/{ => OH-INF}/update/instructions.xml (100%) diff --git a/bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml b/bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml similarity index 100% rename from bundles/org.openhab.binding.mercedesme/src/main/resources/update/instructions.xml rename to bundles/org.openhab.binding.mercedesme/src/main/resources/OH-INF/update/instructions.xml