Skip to content

oh-plan-page - Floor plan ​

Displays markers on an image overlay

Configuration ​

General ​

imageUrlImage URLTEXTurl

The URL of the image to display as background

imageWidthImage WidthINTEGER

The width of the image (by default 1000 pixels). Please specify if the image is not square to compute the aspect ratio

imageHeightImage HeightINTEGER

The height of the image (by default 1000 pixels). Please specify if the image is not square to compute the aspect ratio

noZoomOrDragDisable Zooming & DraggingBOOLEAN

Disable the ability to zoom and drag

noZoomAnimationNo Zoom AnimationBOOLEAN

Change zoom levels without animation, can also avoid graphic glitches with persistent tooltips

noMarkerZoomAnimationHide Markers during Zoom AnimationBOOLEAN

backgroundColorBackground ColorTEXT

Color outside the bounds of the image. "Black or White" means it will be black in dark mode and white in light mode

Options:
(empty)
Default
white
Always White
black
Always Black
blackwhite
Black or White

darkModeInvertInvert Image in Dark ModeBOOLEAN

Apply an invert filter to the image in dark mode - use with images in black & white or grayscale for best results

tooltipColorTooltip ColorTEXT

Color of the tooltip. "Black or White" means it will be black in dark mode and white in light mode

Options:
white
White
black
Black
blackwhite
Black or White

SVG Embedding ​

When the Image URL points to an SVG file, it can be embedded directly into the plan so its elements can reflect Item states and trigger actions. Elements must have an id and an openhab attribute to become interactive.

embedSvgEmbed SVGBOOLEAN

Embed the SVG image (from Image URL) directly into the plan so its elements can reflect Item states and trigger actions (default false)

embedSvgFlashingEmbed SVG Flashing in Run-ModeBOOLEAN

Flash SVG elements on hover in run-mode as well (default false)