I created an OpenHab instance on a Raspberry 5.
I have multiple devices (Hue, Shelly, Mystrom …)
I’m now starting to set up various “things”, “Items” and “Scenes”.
I’m beginning to understand the principle of the three categories (which isn’t easy).
I’ve managed to create “things” and “Items” for my 6 electric shutters equipped with Shelly modules, then create an “item” for each one. In the end, I managed to create a “scene” to close all the shutters, and another to open them all.
I’d like to be able to control these scenes directly from the OpenHab dashboard page. How can I do this?
A Scene is just a special case of rule. In each case, controlling the scene just means running the rule. This can be accomplished many different ways, but the most direct is to use one of the widgets that allows you to configure the OH widget actions, such as the Label Cell.
So, add the label cell to your overview page, then open the configuration dialog for it. Give it whatever name you want or other text. Then scroll to bottom of the dialog where it says Action for type of action select Run scene, script or rule. Click on the field under that one to select the scene that you want to activate. That’s all you need. Now, to set your scene, just click on that cell on the overview page.