Coder Social home page Coder Social logo

pizzarous / home-assistant-extension Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bokub/home-assistant-extension

0.0 0.0 0.0 485 KB

๐Ÿ“Œ Home Assistant browser extension

License: MIT License

Shell 0.71% JavaScript 26.58% HTML 6.88% Vue 65.83%

home-assistant-extension's Introduction

Home Assistant Extension for Chrome and Firefox

Version Chrome users Firefox users Code style

Unofficial extension to quickly access your Home Assistant dashboard from everywhere

Setup

Open your configuration.yaml file and add the following lines, then restart Home Assistant.

http:
  use_x_frame_options: false

In your Lovelace dashboard, create a new view and add a few cards that you want to see in your extension

Here are a few tips:

  • If you have only one card, activate the "panel mode" option for a better look
  • If you want to match your browser color scheme, you can choose a specific theme just for this view
  • You can completely hide the view if you don't want it to show in your existing dashboard, it won't affect the extension
  • I suggest you to choose a specific URL for the view. For example: "extension"

Install the extension from the Chrome Web Store or Firefox Add-ons

Pin the extension in Chrome so it's always visible (it's already done by default in Firefox)

Open the extension options (right-click the icon > Configure), then:

  • Set the URL of your view as seen in your browser, for example https://my-home-assistant.com/lovelace/extension
  • Adjust width and height so everything looks good
  • You can choose to crop the upper part of your view to hide the page header. By default, the size of the header is 56 pixels

If you like this extension, please โญ this repo and leave a nice review in the stores!

Development

The build output is the dist folder

# Install dependencies
npm install

# Build extensions from source
npm run build:chrome
npm run build:firefox

# Development mode
npm run dev:chrome
npm run dev:firefox

home-assistant-extension's People

Contributors

bokub avatar chriserus avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.