That’s where you create your user name and password.
How stupid I feel thanks
Hi all, just to make you all aware that I’ve been working with the Scrypted developer and they’ve implemented my project as the official Scrypted HA addon!
As a result I will not be maintaining this addon any further and you will need to add the Scrypted repository for the new one - see here for more details: Installation: Home Assistant OS · koush/scrypted Wiki · GitHub
I recommend following the instructions in my documentation on backup and restore in order to move your data over to the new addon.
Many thanks for all your support of this project, I am delighted with the outcome 
Hi Alasdair,
I am trying to move the data over to the new addon but am unable to locate the scrypted_data folder.
I am running HassOS. Any idea where it will be located?
Thank you
You need to make a backup of the addon and download it, scrypted_data will be in there - full instructions in the addon readme
Thank you! Works beautifully.
Can you please elaborate how you did this ? I have home assistant yellow and backed up, extracted scrypted_data folder. I am unable to find the add-on folder. The add-on folder is empty and I assume this has to do with docker & add-on magic of home assistant. Thanks in advance !
Below is the instructions from the addon that i followed.
Import and export
It is possible to import an existing Scrypted configuation into the add-on by following this procedure:
- Make a partial Home Assistant backup of the Scrypted add-on
- Download the backup and delete it from Home Assistant
- Extract the contents of the add-on and replace the contents of
/scrypted_datawith the database and configuration files you want to import - Re-compress the backup into a
.tar.gzand re-upload to Home Assistant (Settings/System/Backups/Upload backup) - Restore the backup
To export your Scrypted configuration, follow steps 1-3 and copy the contents of /scrypted_data to your new Scrypted instance.
Hey Folks,
Where are you seeing these “instructions from the add-on”?
I’ve looked in the original (now old) git repo, the new one, the wiki, and these migration instructions are nowhere to be found. Can someone provide a direct link to where the migration instructions are documented?
The backup/modify/restore operation is not working at all on my end. I’ve made a partial backup, downloaded it it, extracted it, and swapped in the old scrypted_data folder. Then I repackaged it back up but have been wholly unable to get the new backup file recognized.
Attempts to upload it via the web UI result in a 400 error from HA which supposedly means the file is too big. It’s only 30mb, but okay.
Then I attempt to upload it directly into the /backup directory via SFTP, and although the file is uploaded, nothing I’ve done makes HA recognize it as a valid backup that I can restore.
The whole process has felt incredibly opaque and frustrating.
If anyone is curious, I eventually found the instructions nested here: ha-addons/scrypted at main · aegjoyce/ha-addons · GitHub
However, they are not helpful in my case. I am unable to re-upload the backup once modified, and I am unable to find a workaround so far.
I was eventually able to resolve.
In my case, the issue had to do with macOS’s default behavior when extracting archives, which is to create a new folder with the same name of the archive to extract the files into. Since I don’t use macOS very often I had forgotten about this behavior, and as a result I was re-creating archives that had the same folders structure. If that is taken into account, then the generalized steps above “should” work.
Here are the slightly revised steps I would share with others who are struggling:
Make a partial Home Assistant backup of the old Scrypted add-on:
- Navigate to Settings → System → Backups.
- Select the “Create Backup” button in the lower right.
- Select “Partial Backup”, and then select “Scrypted” in the list of potential backup items that comes up.
- Don’t password protect the backup.
- Click “Create”. There will not be any visual feedback while the backup is made. Wait until complete.
Download the backup from Home Assistant:
- Click on the backup you just created in the list of backups.
- On the pop-up that shows up, click the 3-dot menu button in the lower right and download the backup.
The backup file will be in the form of “OldScryptedData.tar” where “OldScryptedData” is whatever you named your backup as.
The next step is highly OS-dependant. If you’re on Windows, you’re in luck because you can simply use 7-zip to modify the new archive in the next step without having to manually extract anything. So if you’re on Windows, skip this section.
Others - Extract the contents of the backup:
- Use the
tar -xvf OldScryptedData.tar -C ./outercontainer/command to extract “OldScryptedData.tar” or similar to a sub-directory called “outercontainer”. Change directory into it. - The two files should now be extracted. A gzipped tarball (.tar.gz) and a “backup.json” file.
- Now use
tar -xzvf InnerContainer.tar.gz -C ./innercontainer/to extract the inner file. - Change directory into the sub-directory you just extracted the inner container to.
- Inside this directory you will have
addon.jsonand adatadirectory. Insidedatais wherescrypted_dataresides.
Switch to new instance of Scrypted:
- Go to Settings → Add-Ons → Scrypted
- Stop the running instance. This step may not be necessary but it doesn’t hurt.
- Uninstall the current Scrypted Add-On
- Go back to Settings → Add-Ons
- Select the “Add-On Store” button in the lower-right.
- Select the 3-dot menu in the upper-right and go to “Repositories”
- Delete the existing
https://github.com/aegjoyce/ha-addonsrepository by selecting the red trash can. - Add
https://github.com/koush/scryptedas a new repository. - Close the menu and refresh.
- Search for “Scrypted” in the updated Add-On store. Install the new Scrypted Add-on available in " Scrypted Home Assistant Addon".
- Wait for it to finish installing.
- Go to System → Add-Ons → Scrypted and start Scrypted if it hasn’t been already.
Perform Partial backup of new Scrypted instance:
Make a partial Home Assistant backup of the NEW Scrypted add-on:
- Navigate to Settings → System → Backups.
- Select the “Create Backup” button in the lower right.
- Select “Partial Backup”, and then select “Scrypted” in the list of potential backup items that comes up.
- Don’t password protect the backup.
- Click “Create”. There will not be any visual feedback while the backup is made. Wait until complete.
Download the backup from Home Assistant:
- Click on the backup you just created in the list of backups.
- On the pop-up that shows up, click the 3-dot menu button in the lower right and download the backup.
The backup file will be in the form of “NewScryptedData.tar” where “NewScryptedData” is whatever you named your NEW backup as. At this point you’ll have to follow the same steps as above to extract the new backup file.
Once both “Old” and “New” backups are all fully extracted, you’ll want to delete the scrypted_data directory from the new backup, and replace it with scrypted_data from the old backup. As I mentioned earlier, Windows users can simply use 7-zip to edit the archive directly, delete the old folder, and add in the new folder.
Users on other systems will have to use the commandline to manually re-compress the files into the appropriate nested archives. Use tar -czvf for the inner archive (the .tar.gz file) and tar -cvf for the outer archive (the .tar file).
Once you have all that done, the web-upload should work fine:
- Go to Settings → System → Backups
- Select the 3-dot menu and select “Upload backups”
- Upload your newly modified partial backup. If you get a “400 Bad Request” error, you’ve likely done a step incorrectly. In my case, I had mistakenly added in extra subfolders in the backup archive.
- Select the newly uploaded backup (it should be the one with the larger file size) and restore it.
In theory, that should be it. In my opinion this process is still extremely clunky for such a significant breaking change, but here we are anyway.
It would be nice if there was as script that you could point to to backup files, and have it migrate the data for you, but regrettably I do not have the experience to put one together quickly. Hopefully my poorly-worded steps are still of use to some users.
Thanks for your work. It make my path to scrypted so easy so far. 
However I suggest the “backup instruction” should be available to koush/scrypted/Wiki in a clearer way… as I did a flesh reinstall. 
What a truly fantastic write-up. Thank you!! Your direction on 7-zip especially saved me a ton of time. Thank you for including that instruction even though you approached the problem from a mac perspective.
Hi,
Does any one know if it’s possible to mount a NAS share to use with Scrypted NVR?
Can’t find info on how to do this.
Thanks
Hello,
I’m new to scrypted and I’m trying to get my google nest doorbell (2nd generation) linked to Homekit.
I managed to link my google nest doorbell and I can see the stream inside scrypted.
I cannot get the snapshots working and the stream to show up in homekit. Is there anyone who has this working and is willing to provide a small guide on how to set it up?
HomeAssistant, Scripted Add On. For some reason a few of my Unifi Protect G5 Bullet cameras won’t record HomeKit secure video. No timeline appears when live viewing 1 of my 8 G5 Bullets. I tried resetting everything, rebooting, can’t figure it out.
I even tried HomeBridge Unifi Protect Plugin and the same camera won’t show the timeline below the live view even with stream & recording enabled. I can’t figure it out. Maybe it’s some Unifi controller setting I didn’t realize I changed?
HKSV errors with recording and detecting motion are mainly issues with the HomeKit hub, have you tried rebooting all HomeKit hubs?
Thanks so much for this! Putting a note below in case anyone ran into the same issues I did migrating from aegjoyce scrypted to the official koush scrypted add on.
Just want to mention that on windows I had issues with Home Assistant accepting the modified backup from my PC using the upload prompt. I had to put the modified backup directly in the home assistant backups folder through samba. After hitting reload in the backups page on HA, the modified backup showed up in the list and i was able to restore.
I have been running Scrypted in a separate docker container for over a year. I’m considering moving to an HA add-on. If I add to HA, will I now have access to all associated sensors? I’m thinking I could get rid of my Ring and Arlo (HACS) integrations and just use the cameras and sensors from Scrypted. Thoughts?
Anyone? Anyone? Bueller? Bueller?
