douginoz / ha_scrypted

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrypted Custom Component for Home Assistant

The Scrypted Custom Component for Home Assistant adds support managing Scrypted from your HA Dashboard, and creation of Scrypted NVR cards. This custom component is unnecessary if Scrypted was installed as a Home Assistant OS addon.

image

Home Assistant Setup

  1. Install this repository using HACS (add this repo as a Custom Repository).
  2. Go to Settings > Devices & Services > Add New and select Scrypted
  3. Enter the host, username, and password for your Scrypted server, as well as a name and icon for the sidebar link in the Home Assistant menu.

Scrypted NVR Card Setup

Scrypted NVR provides Home Assistant cards that feature low latency playback and two way audio.

  1. Install the Scrypted NVR plugin in Scrypted.
  2. Find the Scrypted token sensor entity and note the token:
  • image
  • image
  1. Find the Scrypted camera id from within the Scrypted Management console. The id is visible in the address bar in the browser. E.g. 32 below:
  • image
  1. Then add the following Webpage Card in Home Assistant (adjusting <token> and <id> as necessary):
type: iframe
# Replace <id> with the id of your camera in Scrypted.
# Replace <token> with the value from the token entity in Home Assistant.
url: >-
  /api/scrypted/<token>/endpoint/@scrypted/nvr/public/#/iframe/<id>
aspect_ratio: '16:9'

About


Languages

Language:Python 100.0%