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](https://private-user-images.githubusercontent.com/73924/247027962-7c6fdd6a-8722-4c82-8581-632cdfa4476d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTY5OTc4MzYsIm5iZiI6MTcxNjk5NzUzNiwicGF0aCI6Ii83MzkyNC8yNDcwMjc5NjItN2M2ZmRkNmEtODcyMi00YzgyLTg1ODEtNjMyY2RmYTQ0NzZkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA1MjklMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNTI5VDE1NDUzNlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWI1MmUyMDU0MmYwNjZiOWI2YTc5ZjhjOTk0ZmNiM2Y3N2RlNzU4YjgyOGMzZGNhY2RmNWFkZWQxMTBlZjliMDcmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.zoaL57QYYcPprALRkkTFgObiCcCqyCbOkIV4c0pbLik)
- Install this repository using HACS (add this repo as a Custom Repository).
- Go to
Settings > Devices & Services > Add New
and select Scrypted - 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 provides Home Assistant cards that feature low latency playback and two way audio.
- Install the Scrypted NVR plugin in Scrypted.
- Find the Scrypted token sensor entity and note the
token
:
- Find the Scrypted camera
id
from within the Scrypted Management console. Theid
is visible in the address bar in the browser. E.g.32
below:
- 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'