Skip to content

A browser extension which enables quick access to perform a config check and restart of Home Assistant

Notifications You must be signed in to change notification settings

warwickbuilds/Browser-Extension-Home-Assistant-Quick-Restart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Home Assistant Quick Restart Browser Extension

Simple page action browser extension that allows you to quickly restart Home Assistant if an instance is detect on the active page.

Browser button will activate when a Home Assistance instance is detected in the active browser tab, and when click a configuration check will first be performed and if successful a restart will be called.

Works with local and remote network access (Nabu Casa, VPN) to Home Assistance.

Home Assistant Forum Post - Quick Restart Chrome Browser Extension

Installation

Chrome Webstore

Firefox Addons

Firefox Add-on

Edge Add-ons - Microsoft Store

Edge Add-on

Using The Extension

Button Click

If Home Assistant is detected on the active broswer page, the buttion with become active (not grayed out), when you're ready to restart, give it a click (there is no "Are you sure", this is quick restart for a reason)

Gif-Button Restart

Keyboard Shortcuts

There is also keyboard shortcut available to save that transition time between keyboard and mouse.

Windows / Default: Ctrl+Shift+H

Mac: Ctrl+Shift+H

How It Works

Tab Load

On browser tab load, extension will look for HassConnection object in session, if found button will be enabled, if not left disabled

Button Click

  1. REST Api access_token extracted from HassConnection object, checked if valid by calling /apicheck, if invalid new token requested using refresh_token
  2. Config Check performed calling REST Api, if invalid the message is shown in extension pop-up
  3. Restart performed calling REST Api, status shown in extension pop-up

Screenshots

Home Assistant Not Found

HA not found on page

Config Error

Config Error

In Progress

In Progress

Completed

Completed

Support

If you found value in this I thrive on coffee!



Buy Me A Coffee

About

A browser extension which enables quick access to perform a config check and restart of Home Assistant

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published