How to use the built-in dashboard?

How can I place a button on the dashboard that turns all lights off? And how can I place a button that lets me turn an entire room on /off?


I would create virtual buttons to achieve what you’re looking for. Have one button for all lights and also one button for each room. If you’re using Room Lighting for your lighting then in your means to activate and means to turn off, add your virtual button for that particular room. In the means to turn off, add your button for all your lights there.

It would work similarly in Motion Lighting

Then add the virtual buttons to your dashboard.

You also could use Groups and Scenes app, put the room (or all lights) into a group and use the virtual switch a group creates on the dashboard.

1 Like

Thanks, but I’m a newbie - How do I create virtual buttons!!?

From the Devices page click the button to Add a Device. Select Virtual in the next screen. Then enter a name for the new device and select a Virtual Button from the drop-down for the driver / type.

1 Like

Thanks, I see how to do that but how do I tell it what devices should be included in that virtual button? How do I add that button to the dashboard?

I did miss one step in the device creation. Once you create the device like I described, on the device edit page you can set how many buttons the device has.

For the dashboard, open the Apps screen, click on your dashboard under the Hubitat Dashboard App and in the app settings page displayed add your new device and click Done.

Click on the Dashboards option from the menu on the left, sekectibg your dashboard. Click the plus sign to Add a Tile, selecting your button device, the button template and the button number.

Create a rule that uses the button as a trigger and toy are done.

Now press the button / tile on your dashboard to test....

To summarize:

  1. Create a virtual button (as described above), or use a physical Zigbee or Z-Wave button you have added to your hub

To make the button work - i.e., to tell the hub to change the state of the lights when the button is pressed:

  1. Use the Room Lighting app - a new app that is intended to manage lighting automations in a room. It's an "all-in-one" app that you can use to manage lighting in a room from motion, buttons, etc. In it you can choose the lights to control, and choose the activation device (in this case the button) to turn them on and off.
    Simple example using Room Lighting app:

    -or (more steps)-
  2. Group the lights using the "Groups and Scenes" app
    -- Use a Group if you're simply turning the lights on/off and don't care about controlling the dimmer/color settings of the lights
    -- Use a Scene if you want the lights to come on to specific dimmer and/or color levels - you set the lights the way you want them and "capture" that state in the Scenes app. When you create a group or scene a virtual device is create on your hub that you use to control the group or scene:
  3. Use the Simple Automations app to create an automation that toggles the room lights when you press your button

Once your automation is created:

  1. Confirm the button is working from the button's device page - click the "Push" button on the button's device page - your Room Lighting or Simple Automation activity should run with each push
    2022-07-13 06_58_14-Chrome Main

  2. Add the button to a dashboard in the Hubitat Dashboard app

  3. Open the Dashboards view from the Hub menu:

  4. Click on your dashboard to open it and accept the "Auto Fill Grid" option to automatically add the button:
    2022-07-13 07_20_56-Chrome Main

  5. Click on the three dots on the button device on the dashboard, and set the button number to "1" and the action to "push"
    2022-07-13 07_21_05-Chrome Main

  6. Your dashboard button is now available for use - click the button and your Simple Automation or Room Lighting actions will run


Wow - that seems exactly what I need, will report back once I’ve installed all the devices then created these buttons… adios Wink! :slight_smile:


Have a look at For $30 a year you can make beautiful dashboards in minutes. I too tried the native route and gave up quickly in the name of the Greek god Chronos.
Dashboard examples

1 Like

This topic has been marked solved by the community and subsequently closed

Download the Hubitat app