diff --git a/bundles/org.openhab.binding.mybmw/README.md b/bundles/org.openhab.binding.mybmw/README.md index c1c1c30e912..dd5d4339c00 100644 --- a/bundles/org.openhab.binding.mybmw/README.md +++ b/bundles/org.openhab.binding.mybmw/README.md @@ -492,13 +492,9 @@ Image representation of the vehicle. | png | Image | Read | The image as png | | view | String | Write | The view port of the car | -Possible view ports: +Possible view ports (currently only one is available, which is automatically set as default): -- _VehicleStatus_ Front Left Side View -- _FrontView_ Front View -- _FrontLeft_ Front Left Side View -- _FrontRight_ Front Right Side View -- _RearView_ Rear View +- _AngleSideViewForty_ Front Left Side View ## Further Descriptions diff --git a/bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/utils/ImageProperties.java b/bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/utils/ImageProperties.java index 16543818785..2de4712edc5 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/utils/ImageProperties.java +++ b/bundles/org.openhab.binding.mybmw/src/main/java/org/openhab/binding/mybmw/internal/utils/ImageProperties.java @@ -24,7 +24,7 @@ import org.eclipse.jdt.annotation.NonNullByDefault; public class ImageProperties { public static final int RETRY_COUNTER = 5; public int failCounter = 0; - public String viewport = "VehicleStatus"; + public String viewport = "AngleSideViewForty"; // default view public ImageProperties(String viewport) { this.viewport = viewport; diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/i18n/mybmw.properties b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/i18n/mybmw.properties index e7409349577..290fb611dda 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/i18n/mybmw.properties +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/i18n/mybmw.properties @@ -98,11 +98,7 @@ channel-type.mybmw.home-distance-channel.label = Distance From Home channel-type.mybmw.hood-channel.label = Hood channel-type.mybmw.image-update-channel.label = Force update of the image -channel-type.mybmw.image-view-channel.command.option.FrontLeft = Left Side View -channel-type.mybmw.image-view-channel.command.option.FrontRight = Right Side View -channel-type.mybmw.image-view-channel.command.option.FrontView = Front View -channel-type.mybmw.image-view-channel.command.option.RearView = Rear View -channel-type.mybmw.image-view-channel.command.option.VehicleStatus = Front Side View +channel-type.mybmw.image-view-channel.command.option.AngleSideViewForty = Left Side View channel-type.mybmw.image-view-channel.label = Image Viewport channel-type.mybmw.last-fetched-channel.label = Last Openhab Update Timestamp channel-type.mybmw.last-update-channel.label = Last Car Status Timestamp diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/image-channel-types.xml b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/image-channel-types.xml index 6caf17952e6..d8961cfbcbc 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/image-channel-types.xml +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/image-channel-types.xml @@ -13,11 +13,7 @@ - - - - - + diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev.xml b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev.xml index 2cc92d32946..236e6a77b46 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev.xml +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev.xml @@ -29,7 +29,7 @@ - 2 + 3 vin diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev_rex.xml b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev_rex.xml index e21f6c54450..eee5be7c617 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev_rex.xml +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-bev_rex.xml @@ -29,7 +29,7 @@ - 2 + 3 vin diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-conv.xml b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-conv.xml index 1808edd814a..29eec9e7039 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-conv.xml +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-conv.xml @@ -26,7 +26,7 @@ - 2 + 3 vin diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-phev.xml b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-phev.xml index 8e2e0c1c946..09aad7ec006 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-phev.xml +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/thing/thing-phev.xml @@ -29,7 +29,7 @@ - 2 + 3 vin diff --git a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/update/thing-update.xml b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/update/thing-update.xml index 1f7fb82c4d6..c410099f32d 100644 --- a/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/update/thing-update.xml +++ b/bundles/org.openhab.binding.mybmw/src/main/resources/OH-INF/update/thing-update.xml @@ -44,6 +44,15 @@ + + + + + + mybmw:image-view-channel + + + @@ -78,6 +87,15 @@ + + + + + + mybmw:image-view-channel + + + @@ -110,6 +128,15 @@ + + + + + + mybmw:image-view-channel + + + @@ -152,6 +179,15 @@ + + + + + + mybmw:image-view-channel + + +