diff --git a/README.md b/README.md index af7d323..d2dc5ce 100644 --- a/README.md +++ b/README.md @@ -7,6 +7,8 @@ This layout was designed mobile-first. - [Home Assistant setup](#home-assistant-setup) - [Background](#background) + - [Themes](#themes) + - [Add to HACS](#add-to-hacs) - [Custom implementations](#custom-implementations) - [Alexa devices control](#alexa-devices-control) - [Internet health](#internet-health) @@ -54,6 +56,18 @@ Home Assistant Core installation on Raspberry Pi 4, with MySQL. More details [here](https://github.com/agneevX/server-setup). +## Themes + +| **Milky White** | **Kinda Dark** | **Pure Black** | +| ----------- | ---------- | --------- | +| ![Milky White](https://user-images.githubusercontent.com/19761269/114695988-cf353700-9d39-11eb-92d9-9a4a5c181f32.PNG) | ![Kinda Dark](https://user-images.githubusercontent.com/19761269/114695994-d0666400-9d39-11eb-9f05-a03f7793c7f9.PNG) | ![Pure Black](https://user-images.githubusercontent.com/19761269/114695952-c9d7ec80-9d39-11eb-9632-628cb446678e.PNG) | + +## Add to HACS + +[![hacs_badge](https://img.shields.io/badge/HACS-Custom-orange.svg?style=for-the-badge)](https://github.com/custom-components/hacs) + +This repository can be added to HACS as a custom repository. A guide can be found [here](https://hacs.xyz/docs/faq/custom_repositories/). + --- [Skip to lovelace layout](#dashboard) @@ -68,6 +82,8 @@ With custom component `Alexa Media Player`, Home Assistant is able to control an This requires the use of `input_boolean` helpers to control the state of the entity. +
Expand + E.g. to control a plug... ```yaml @@ -96,10 +112,14 @@ switch: media_content_type: custom ``` +
+ ### Internet health Shows internet packet loss in `%`, if any. Useful for real-time applications like gaming or VoIP calls. +
Expand + ```yaml # configuration.yaml binary_sensor: @@ -112,7 +132,7 @@ sensor: - platform: history_stats name: int_internet_health entity_id: binary_sensor.cloudflare_dns_ping - state: "on" + state: 'on' type: ratio end: "{{ now() }}" duration: 00:05:00 @@ -125,12 +145,16 @@ sensor: unit_of_measurement: '%' ``` +
+ ### Lo-fi beats Plays Lo-fi beats live stream from YouTube. This requires `screen`, `mpv` and `youtube-dl`/`youtube-dlc` to be installed. +
Expand + ```yaml # configuration.yaml switch: @@ -157,12 +181,16 @@ if [[ $MESSAGE == 'lofi_off' ]]; then screen -S lofi -X quit; fi # Truncated. Full in ./hass_socket_script.sh ``` +
+ ### Soundbar control Controls the volume of ALSA - 3.5mm port on the Raspberry Pi. Requires `alsamixer` to be installed. This involves a `input_number` helper, an automation and a series of shell commands. +
Expand + ```yaml # configuration.yaml input_number: @@ -195,6 +223,8 @@ if [[ $MESSAGE == 'amixer_5' ]]; then amixer -q cset numid=1 -- -7399; fi # Truncated. Full in ./hass_socket_script.sh ``` +
+ --- ## Lovelace layout @@ -208,8 +238,7 @@ if [[ $MESSAGE == 'amixer_5' ]]; then amixer -q cset numid=1 -- -7399; fi ### Badges - *People presence* -- Network in -- Network out +- Network in/out - HACS updates _This is the only view that contain badges._ @@ -382,7 +411,7 @@ Graphs pings to local ISP node and Cloudflare DNS. This card is very helpful in - Network devices list -Using the Netgear integration, this card shows all network-connected devices. Dynamically sorted such that the last updated device is always on top. +Using the Netgear integration, this card shows all network-connected devices. Dynamically sorted such that the last-updated device is always on top. --- @@ -427,8 +456,7 @@ Using the Netgear integration, this card shows all network-connected devices. Dy ### Graph row II -- Network in -- Network out +- Network in/out The four graph cards provide an overview of Plex/network activity in one place and indicates potential network issues. @@ -474,8 +502,6 @@ The four graph cards provide an overview of Plex/network activity in one place a ## Notes - `int` are "internal" entities that are used inside templates. -- Shutting down/Rebooting X200M involves a program named `Assistant Computer Control` that runs on the laptop. - - A cURL request calls a IFTTT webhook which writes a specific phrase in a file inside OneDrive that the software is able to recognize and perform actions accordingly. - The header that is used for separating cards is from [soft-ui](https://github.com/N-l1/lovelace-soft-ui). --- diff --git a/hass_socket_script.sh b/bash_scripts/hass_socket_script.sh similarity index 100% rename from hass_socket_script.sh rename to bash_scripts/hass_socket_script.sh diff --git a/multiple_actions.sh b/bash_scripts/multiple_actions.sh similarity index 100% rename from multiple_actions.sh rename to bash_scripts/multiple_actions.sh diff --git a/orbi_realtime.sh b/bash_scripts/orbi_realtime.sh similarity index 100% rename from orbi_realtime.sh rename to bash_scripts/orbi_realtime.sh diff --git a/orbi_router.sh b/bash_scripts/orbi_router.sh similarity index 100% rename from orbi_router.sh rename to bash_scripts/orbi_router.sh diff --git a/hacs.json b/hacs.json new file mode 100644 index 0000000..0e3414b --- /dev/null +++ b/hacs.json @@ -0,0 +1,4 @@ +{ + "name": "agneevX's HA setup", + "render_readme": true +} \ No newline at end of file