This plugin allows you to controll any browser viewing your lovelace frontend from Home Assistant.
- Make the camera feed from your front door pop up on the tablett in your kitchen when someone rings the doorbell.
- Have a message pop up on every screen in the house when it's bedtime.
- Make the browser on your workstation switch to a specific tab when the kitchen light is on after midnight
From Home Assistant version 0.90, Browser commander will only work if the user that's logged in to the interface you want to controll is in the admin group.
This plugin requires card-tools to be installed.
For installation instructions see this guide.
browser-commander is controlled by firing an event from Home Assistant.
The event is called
browser_command and has one required field -
command. Each command has more required fields.
E.g. to fire the event from a script:
script: find_browser_commander_ids: sequence: - event: browser_command event_data: command: debug id: abc8427e-297dce9a
id field specifies which browser or browsers should react to the event.
id can be either a string or a list of strings with unique browser IDs. If omitted entirely, every browser currently viewing your lovelace interface will react. The unique browser ID can be displayed with the
The commands are:
Will open a popup displaying the browser ID.
Will open the URL supplied in
Will open the more-info dialog for
true, the more-info dialog will open maximized (i.e. as if you had clicked on the header bar).
Note that if you're using popup-card the popup card will replace the dialog as usual - provided the browser is currently in a view where the popup card is defined.
Will open a dialog with the heading
title and contents provided by
event_data: command: popup title: Time to turn off the lights? card: type: entities entities: - light.bed_light - light.kitchen_lights - light.outdoors
Close the popup dialog opened by
Refreshes the lovelace config. Same as clicking "Refresh" in the top right menu.
Sets the current theme.