Clarity Gateway
Comment on page

Password Recovery on 3rd Party Devices

Because 3rd party devices do not have a "Connect" button like the Iron Pi, they use a different password recovery process. To recover the password on a 3rd party device, write your new password to a file called password.txt in the Clarity Gateway data directory:
echo "<NEW PASSWORD>" | sudo tee <CLARITY GATEWAY DATA DIRECTORY>/password.txt
For example, if your password is MyNewPassword and your Clarity Gateway data directory is /data/clarity-gateway, you would run:
echo "MyNewPassword" | sudo tee /data/clarity-gateway/password.txt
Restart Clarity Gateway to make the change effective:
docker restart clarity-gateway
After Clarity Gateway changes the password, it will delete the password.txt file from its data directory so that future restarts don't unintentionally overwrite the password.